summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc-930716
Commit message (Collapse)AuthorAgeFilesLines
* Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen2002-08-072-40/+2
| | | | | | 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-062-25/+33
| | | | | | | | 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
* __morecore need not be a function pointerEric Andersen2002-07-161-9/+8
|
* Odd. Got a copy of junk in here.Eric Andersen2002-07-161-9/+0
|
* This patch, from Ronald Wahl <rwa@peppercon.com>, fixes theEric Andersen2002-07-011-5/+5
| | | | | spots where I screwed up and forgot to fix realloc to use free_unlocked() instead of free(). Thanks Ronald!
* Rework, reduce the size, add proper lockingEric Andersen2002-06-189-529/+342
| | | | -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-2/+1
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* Be more strict with the glibc style malloc implementation. Return NULLEric Andersen2001-04-251-2/+2
| | | | when folks do a malloc(0) using malloc-930716.
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-1110-0/+915