aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_allocation.c
AgeCommit message (Collapse)Author
2018-06-05first batch of license fixes (boring)psyc://loupsycedyglgamf.onion/~lynX
2018-01-07vsprintf returns negative on error.anryko
2018-01-06internally assert that asprintf size allocation never failsChristian Grothoff
2018-01-04fix timeout of test_service, misc signed/unsigned and unused argument issuesChristian Grothoff
2017-02-24util: add component name to LOG macros; util/client: log incoming message ↵tg(x)
type/size/source for gnunet-logread
2016-10-09libgnunetutil: add file, line debug info to multidimensional array allocatorsMarkus Teich
2016-10-09libgnunetutil: fix doc and indentation for reallocMarkus Teich
2016-09-07gnunetutil: add 2d and 3d allocation including testsMarkus Teich
2016-09-04I think this is a bit more readableDavid Barksdale
2016-09-04xmalloc already zeroes the memoryDavid Barksdale
2016-07-08-avoid calling memcpy() with NULL argument, even if len is 0Christian Grothoff
2016-01-19-fix (C) noticesChristian Grothoff
2015-09-29report skipped tests, doxygen fixesChristian Grothoff
2015-09-28fix undefined behavior in GNUNET_array_growFlorian Dold
2015-06-30fix #3869: outdated FSF addressChristian Grothoff
2015-05-30make libextractor actually optional, both for GNUnet and GNUnet-taler buildsChristian Grothoff
2015-04-17-doxygen, indentationChristian Grothoff
2015-02-28generally use GNUNET_assert() instead of GNUNET_abort() to also log the errorChristian Grothoff
2015-02-07-bringing copyright tags up to FSF standardChristian Grothoff
2014-10-18Hello Christian,Christian Grothoff
I had to write a little patch to fix gnunet FTBFS on kfreebsd, you'll find it attached. Would you consider adding to your SVN ? Thanks, Bertrand
2014-09-10fix assertion, ensure 0-terminationChristian Grothoff
2013-12-08-freebsd wants malloc_np for malloc_usable_sizeChristian Grothoff
2013-10-06-remove trailing whitespaceChristian Grothoff
2013-09-30-towards addressing #3047, note this causes the code to FTBFSChristian Grothoff
2013-08-24-use GPLv3+ consistentlyChristian Grothoff
2012-12-14-allow NULL if n=0Christian Grothoff
2012-11-29-make freebsd7 happyChristian Grothoff
2012-11-13-wtfChristian Grothoff
2012-10-24-speeding up baadf00d code by 7x (on i7)Christian Grothoff
2012-08-29- Fix memory posioning on OS X (MSIZE is pre-defined to 256, doesnt ↵Bart Polot
HAVE_MALLOC_USABLE_MEMORY -> compile error)
2012-08-29only use control pipe with helpers IF the helper actually supports itChristian Grothoff
2012-07-05-LRN: Portable memory poisoning:Christian Grothoff
Uses GNU extension function as a non-W32 equivalent of msize() (there are subtle differences, but they are of no consequence). Also swaps the poison bits depending on endianness (i'm tired of seeing 0xdf0adba everywhere instead of 0xbaadf00d).
2012-06-27-\'optimize\'Christian Grothoff
2012-06-23-LRN: Poisoning:Christian Grothoff
Poisons memory before freeing it. It uses msize() CRT function, which (i believe) is not available on other platforms. This patch was intended to make the output of the next patch (see below) more apparent.
2011-12-06Fixing #1976 by allowing allocations between INT_MAX and SIZE_MAX and at the ↵Christian Grothoff
same time limiting BF size for datastore to 2 GB. Also fixing infinite loop when creating BFs of sizes between 2-4 GB
2011-11-05introducing GNUNET_abortChristian Grothoff
2011-11-04curly wars / auto-indentationChristian Grothoff
2011-10-11converting to GNUNET_LOG_from*Christian Grothoff
2011-10-07LRN: Small janitor fixesChristian Grothoff
* Prevent janitor from failing if a process can't be killed (it might be dead by the time janitor gets around to killing it). * Fix janitor messages about killing arm/non-arm processes
2011-09-02doxygenChristian Grothoff
2011-08-15indentationChristian Grothoff
2011-08-15indentationChristian Grothoff
2011-08-13fixChristian Grothoff
2011-08-10strndupChristian Grothoff
2010-11-24memdupChristian Grothoff
2010-08-19fixing fun bugChristian Grothoff
2010-07-02fixing calculations and code for buffer reallocChristian Grothoff
2010-04-30fixesChristian Grothoff
2009-11-10indentChristian Grothoff
2009-11-09fix leak, improve APINils Durner