805 Commits (d1f95e32d78da3058dee52ea59f9cf38ab2d139e)

Author SHA1 Message Date
  otto d1f95e32d7 check double free before canary for chunks; ok millert@ 7 years ago
  otto 83cbddd78e two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clang 7 years ago
  guenther 2f8ee43fe4 Minimize #includes, particularly to avoid thread_private.h 7 years ago
  schwarze 932461687c add missing and correct misspelled names, most in NAME sections; 7 years ago
  otto 131bcbfdc1 one more instance of the previous commit; also initialize ->offset to a 7 years ago
  otto 4a550fa72d Only access offset if canaries are enabled *and* size > 0, otherwise offset 7 years ago
  millert c212aadd9a The 0x (or 0X) prefix in base 16 is optional so only skip over the 7 years ago
  dlg b4e0da4e31 port the RBT code to userland by making it part of libc. 7 years ago
  millert f55fd6c814 Don't fall back to heapsort() if we would otherwise switch to 7 years ago
  millert fe11de237e Support swapping 32-bit aligned elements on 64-bit platforms. 7 years ago
  millert 2476875a0e Document that qsort falls back to heapsort() if the recursion depth 8 years ago
  millert e83742917d Use David Musser's introsort algorithm to fall back to heapsort(3) 8 years ago
  millert 3791eca4cb The BSD qsort() performs tail recursion elimination on the second 8 years ago
  tb 1badcf625f Typo: freezeo -> freezero 8 years ago
  otto 0c8e3f2e80 - fix bug wrt posix_memalign(3) of blocks between half a page and a page 8 years ago
  otto 75d99259be Rearrange text a bit to make it clear what "discarded" means; ok jmc@ deraadt@ 8 years ago
  otto 6a32bb1c73 For small allocations (chunk) freezero only validates the given 8 years ago
  otto 979a770ed0 don't forget to fill in canary bytes for posix_memalign(3); reported by 8 years ago
  otto 6746db08da consictently use .Dv NULL and a few other tweaks; ok schwarze@ 8 years ago
  otto f7bddd982e whitespace fixes 8 years ago
  otto 80c2ebad1c allow clearing less than allocated and document freezero(3) better 8 years ago
  jmc dc395db8fa tweak previous; 8 years ago
  otto 92d2cf9d5b Introducing freezero(3) a version of free that guarantees the process 8 years ago
  otto 7c0adfa87b Consistentcy between nmembers and size order. From Christopher Hettrick; 8 years ago
  otto 253b92f197 first print size in meta-data then supplied arg size when an inconsistency is 8 years ago
  otto f73e526d1b rephrase more enumerations of functions 8 years ago
  otto c1fcb739fc small cleanup & optimization; ok deraadt@ millert@ 8 years ago
  otto cf1d70783e Stop enumeration all allocation functions, just say "allocation functions" 8 years ago
  otto c662774838 add a helper function to print all pools #ifdef MALLOC_STATS 8 years ago
  otto a937a37bc9 document new recallocarray diagnostic; zap a few diagnostics that should 8 years ago
  otto 5b40b56851 move recallocarray to malloc.c and 8 years ago
  jmc d6f7c19958 remove unneccessary macro; 8 years ago
  deraadt 826b373fa7 Strengthen description of recallocarray(3) behaviour, hoping that readers 8 years ago
  otto dddd0ad99b Some tweaks from jmc@ and describe better what recallocarray does; 8 years ago
  otto 6cec33e265 Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3) 8 years ago
  jsg d08f908fca Add a NULL test to wrterror() to avoid a NULL deref when called from a 8 years ago
  otto 07baa34ee0 malloc does not *need* to return page-aligned objects for size >= 8 years ago
  otto a82fcd44e6 fix a comment and rm some dead code as a result of the previous diff 8 years ago
  otto 4a9a7195d2 Let realloc handle and produce moved pointers for allocations between 8 years ago
  otto 3d80117872 1. When shrinking a chunk allocation, compare the size of the current 8 years ago
  millert bf9b74c4ba Remove unnecessary casts of 'a' to char * since 'a' is already char *. 8 years ago
  otto 099c1cfdb8 MALLOC_STATS tweaks, by default not compiled in 8 years ago
  otto a197637f0f small tweak to also check canaries if F is in effect 8 years ago
  otto 8119a345a7 remove some old option letters and also make P non-settable. It has 8 years ago
  otto ae5357c652 Pages in the malloc cache are either reused quickly or unmapped 8 years ago
  tb 3968c88c54 $OpenBSD$ 8 years ago
  otto 992807bce2 - fix MALLOC_STATS compile 8 years ago
  otto 03ffdf003d fix some void * arithmetic by casting 8 years ago
  otto 1255da53a3 and recommit with fixed GC 8 years ago
  otto 5d783ecc04 backout for now; flag combination GC is not ok 8 years ago