1909 Commits (8082e3406533c649454379be0f563090ca39d182)

Author SHA1 Message Date
  millert f55fd6c814 Don't fall back to heapsort() if we would otherwise switch to 7 years ago
  naddy 0f79902411 move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ 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 7 years ago
  millert e83742917d Use David Musser's introsort algorithm to fall back to heapsort(3) 7 years ago
  millert 3791eca4cb The BSD qsort() performs tail recursion elimination on the second 7 years ago
  tb 1badcf625f Typo: freezeo -> freezero 7 years ago
  otto 0c8e3f2e80 - fix bug wrt posix_memalign(3) of blocks between half a page and a page 7 years ago
  reyk 9b036c42f9 spacing (in EXAMPLES code) 7 years ago
  beck 0e208737fa Switch Linux getrandom() usage to non-blocking mode, continuing to 7 years ago
  otto 75d99259be Rearrange text a bit to make it clear what "discarded" means; ok jmc@ deraadt@ 7 years ago
  otto 6a32bb1c73 For small allocations (chunk) freezero only validates the given 7 years ago
  jmc e471403169 add previous to NAME; 7 years ago
  nicm cddf1b0fbc Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programs 7 years ago
  otto 979a770ed0 don't forget to fill in canary bytes for posix_memalign(3); reported by 7 years ago
  deraadt f94fcc6e0f use freezero() instead of explicit_bzero+free 7 years ago
  otto 6746db08da consictently use .Dv NULL and a few other tweaks; ok schwarze@ 7 years ago
  otto f7bddd982e whitespace fixes 7 years ago
  otto 80c2ebad1c allow clearing less than allocated and document freezero(3) better 7 years ago
  deraadt e87e915602 SipHash_Final() was assuming the digest was 64-bit aligned, resulting in 7 years ago
  millert 30940c3f3b New strstr() implementation from musl libc by Rich Felker. This 7 years ago
  reyk 9e0fddd8a3 Use freezero(3) for the imsg framework in imsg_free(3) and ibuf_free(3). 7 years ago
  jmc dc395db8fa tweak previous; 7 years ago
  otto 92d2cf9d5b Introducing freezero(3) a version of free that guarantees the process 7 years ago
  otto 7c0adfa87b Consistentcy between nmembers and size order. From Christopher Hettrick; 7 years ago
  otto 253b92f197 first print size in meta-data then supplied arg size when an inconsistency is 7 years ago
  otto f73e526d1b rephrase more enumerations of functions 7 years ago
  otto c1fcb739fc small cleanup & optimization; ok deraadt@ millert@ 7 years ago
  otto cf1d70783e Stop enumeration all allocation functions, just say "allocation functions" 7 years ago
  otto c662774838 add a helper function to print all pools #ifdef MALLOC_STATS 7 years ago
  otto a937a37bc9 document new recallocarray diagnostic; zap a few diagnostics that should 7 years ago
  otto 5b40b56851 move recallocarray to malloc.c and 7 years ago
  nicm df542bfce2 Use C99 types (uint32_t) instead of BSD (u_int32_t) - the former are 7 years ago
  jmc d6f7c19958 remove unneccessary macro; 7 years ago
  deraadt 826b373fa7 Strengthen description of recallocarray(3) behaviour, hoping that readers 7 years ago
  deraadt a6614e5870 Grow buffers using recallocarray, to avoid the potential dribble that 7 years ago
  dtucker b249d7ea63 Fix overly-conservative overflow checks on mulitplications and add checks 7 years ago
  dtucker 73af3c1b7e Collapse underflow and overflow checks into a single block. 7 years ago
  dtucker 4cba5ce8e2 Catch integer underflow in scan_scaled reported by Nicolas Iooss. 7 years ago
  djm 29fbe34e31 fix signed integer overflow in scan_scaled. Found by Nicolas Iooss 7 years ago
  otto dddd0ad99b Some tweaks from jmc@ and describe better what recallocarray does; 7 years ago
  otto 6cec33e265 Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3) 7 years ago
  daniel 214feb8400 SHA-1 collisions have now been found so update some man pages. As noted by 7 years ago
  daniel c4e494f6fa Replace use of mathematical minus with an em-dash (from tb@) and break up 7 years ago
  jsg d08f908fca Add a NULL test to wrterror() to avoid a NULL deref when called from a 7 years ago
  otto 07baa34ee0 malloc does not *need* to return page-aligned objects for size >= 7 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