1867 Commits (d6f7c199580388743ea837236600808062c0a2ec)

Author SHA1 Message Date
  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
  jmc 05dca7e1c5 the referred to EXAMPLES section is now in strncpy(3); 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
  jmc 1a2414b3e4 avoid sentence splicing; 8 years ago
  otto e2ace002f9 canary corruption message changed a bit 8 years ago
  otto 5656d7bf98 Also place canaries in > page sized objects (if C is in effect); ok tb@ 8 years ago
  bluhm 356150aae5 Remove the save_errno dance inside strerror_r(3). It is from the 8 years ago
  dtucker 741ef92d20 Roll back uintptr_t cast changes after discussions with tedu, otto and 8 years ago
  guenther 71af4d5f52 Wrap _malloc_init() so internal calls go directly 8 years ago
  jmc fa0722f382 zap trailing whitespace; 8 years ago
  dtucker db6e1f035d Cast pointers to uintptr_t to avoid potential signedness errors. 8 years ago
  otto c00ceb22a8 0xd0 -> 0xdb; ok deraadt@ millert@ tedu@ 8 years ago
  otto 8b706cc40e optimize canary code a bit by storing offset of sizes table instead of 8 years ago
  reyk 0fd38ba8e4 Fixup the example for msgbuf_write() and imsg_read() to check the 8 years ago
  otto 1ae413d0f7 make clear the length printed is the requested length 8 years ago
  jmc ede9249779 grammar fix previous; 8 years ago
  otto 41daf65553 document "chunk canary corrupted" error 8 years ago
  otto 3eeb2e7bb1 stray tab 8 years ago
  otto 2c67f40d2b Beter implementation of chunk canaries: store size in chunk meta data 8 years ago
  guenther 1a1f277cca Delete casts to off_t and size_t that are implied by assignments 8 years ago
  otto 814803d97e move page junking tp unmap(), right before we stick the region in the cache; 8 years ago
  jmc ea651fa3ce fix Dt; 8 years ago
  nicm 51319d983d Set errno more consistently, and fix a warning, ok tedu 8 years ago
  tedu acdfcc40f1 rm 8 years ago
  tedu 80b2ef3b15 oops, name file after main function 8 years ago
  tedu 3e338df556 it doesn't say anything yet, but start adding a man page 8 years ago