aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/localhost.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix localhost() after memory failureSamuel Thibault2011-08-201-0/+2
| | | | | * libshouldbeinlibc/localhost.c (localhost): Free and reset buf when reallocation failed.
* fix a realloc-related memory leak in localhost()Jonathan Neuschäfer2011-08-201-7/+14
| | | | | | * libshouldbeinlibc/localhost.c (localhost): assign the return value of realloc to a temporary variable to avoid losing the old value of buf in the case of realloc failing.
* Initial revisionMiles Bader1996-02-181-0/+66