summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-930716/calloc.c
Commit message (Collapse)AuthorAgeFilesLines
* Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen2002-08-071-39/+0
| | | | | | Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
* Unify calloc (its the same thing regardless of the underlyingEric Andersen2002-08-061-17/+32
| | | | | | | | malloc implementation). Fix problem reported to bugtraq about problems with integer overflow that can occur during the computation of the memory region size by calloc (and similar functions) which could result in a subsequent buffer overflow. -Erik
* Rework, reduce the size, add proper lockingEric Andersen2002-06-181-3/+2
| | | | -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-0/+25