920 Commits (da4f3c5cb1f356f2d4e9e8ae5d16db6c62f7536d)

Author SHA1 Message Date
  millert 5cd2c72134 Avoid using and end pointer since strnlen(string, -1) is legal 14 years ago
  jmc ffc1056ac2 oops - forgot to check for trailing whitespace; 14 years ago
  thib 7087fc1c2f reword the 'D' dump bit to make it clear that the malloc.out file needs 14 years ago
  millert ec550b1dc0 Add HISTORY section, mostly for strnlen() but include strlen() for 14 years ago
  chl 0809e538e1 remove unused variable. 14 years ago
  jmc e009efae5d tweak previous; 14 years ago
  tedu bbe8fdc923 add posix_madvise, posix_memalign, strndup, and strnlen. mostly from 14 years ago
  jmc ae4224e9df - nuke some unneeded Pp; from kristaps 14 years ago
  jmc 6adb9298b2 WARNINGS -> CAVEATS, and a little neccessary cleanup; 14 years ago
  kettenis 92dc8ab6e1 Modify example not to use an assignment in the if statement. We shouldn't 14 years ago
  kili e5fe5595e0 It's unsetenv() that doesn't like `=' in the argument, not putenv(). 14 years ago
  otto 1fc05bec9f Use size_t in appropriate places; fixes sorting of big arrays; 15 years ago
  otto c80808a2a6 use size_t to index arrays; avoids big array bugs; ok millert@ guenther@ 15 years ago
  miod 0d9cbfe642 Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent 15 years ago
  jmc 652f4e1cc3 stucture -> structure; 15 years ago
  otto f816214aa0 New options 'S', as a shorthand for the options most suitable as an 15 years ago
  oga 5548c875db plug a file descriptor leak in HASHFileChunk(). 15 years ago
  otto da818aa199 save calls to arc4random() by using a nibble at a time; not because 15 years ago
  guenther 253b3ff700 No point in refreshing the pid from inside arc4_stir() when that 15 years ago
  miod f303db8b57 Make userland malloc use __LDPGSZ granularity on mips, regardless of the 15 years ago
  jmc d208a2f0f2 missing word; 15 years ago
  otto 9ddcd3502a Switch the chunk_info lists to doubly-linked lists and use the queue 15 years ago
  otto 600b8b9fd5 Don't forget to fill region from the cache with junk if needed in one case; 15 years ago
  otto c8f1be5032 No need to clear a mmapped region; from Fabien Romano and Jonathan 15 years ago
  todd ef8dd643ed permit -DMALLOC_STATS to compile again 15 years ago
  sobrado 2101574acc s/Mhz/MHz/, MHz is a multiple of the SI unit hertz (whose symbol is Hz). 15 years ago
  deraadt 46f44e2831 rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and 15 years ago
  pirofti 5e4aca2f5f Check mmap return value against MAP_FAILED not NULL. 15 years ago
  martynas f30cf48cfa teach gdtoa & its subroutines that malloc can fail; in which case 15 years ago
  otto 65dc48b142 rewrite the history section, prompted by Paul Stoeber; ok deraadt@ jmc@ 15 years ago
  martynas e1c2ed5d72 abs conforms c99 -> imaxabs conforms c99. ok millert@ 15 years ago
  deraadt d4f78c2955 quieten compiler by converting pointers to uintptr_t before truncating them 15 years ago
  millert 63a463cfbd Don't assume that we can overwrite strings in the environment. 15 years ago
  millert d3d9cc08f7 Make putenv(), setenv() and unsetenv() standards compliant. The 15 years ago
  djm 8b81695079 allow building without SHA384 and SHA512 (i.e. SHA256 only) with 15 years ago
  okan 3bc42fd077 document that no leading whitespace is permitted between the option and 15 years ago
  jmc 2024268fd6 kill whitespace at eol; 16 years ago
  otto 69f875a94f decribe 'F' better and mention flags are debugging aids; ok tedu@ jmc@ 16 years ago
  jmc d69225c623 correct function definitions; from Markus Bergkvist 16 years ago
  djm 10887343e6 reintroduce extra malloc protections, but avoiding the use of 16 years ago
  deraadt 69d34d79a8 PAGE_SIZE is not a valid symbol to use in that way. In particular, 16 years ago
  djm d835fe24d1 Remove mprotecting of struct dir_info introduced in previous commit 16 years ago
  djm b1b6e37e4e extra paranoia for malloc(3): 16 years ago
  deraadt 81a1885e03 repair the ARC4 story; ok jmc djm millert 16 years ago
  otto ce9fb22525 shave off more bytes than you expect by declaring a few const local arrays 16 years ago
  pedro 09239b2280 Fix typo, okay jmc@. 16 years ago
  otto 5b2827b23a move allocations between half a page and a page as close to the end of 16 years ago
  otto c2a4892aa1 Reduce the leeway malloc allows when moving allocations to the end of 16 years ago
  otto c85d8de1f7 To allow for easier playing with more strict settings introduce 16 years ago
  otto 7fae3fd69f avoid a few strlen calls for constant strings; prompted by tg; ok djm@ 16 years ago