summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getnetgrent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix leaks in error cases found by parfaitjsg2009-11-111-3/+7
| | | | ok blambert@ miod@ deraadt@
* Check snprintf(3) return value for error or truncation.moritz2007-09-171-3/+11
| | | | | | Mostly path construction, where truncation could be bad. ok and input from deraadt@ millert@ ray@
* Fix debugging code, which tried to print the netgroup namemoritz2007-09-051-3/+3
| | | | | | using the return value of _ng_print(), which returns void. ok millert@
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* Remove _err() calls from getnetgrent.c. This is a minor API changemillert2007-03-051-30/+41
| | | | | | as _ng_sl_add() now returns a value. The only consumer of that interface is netgroup_mkdb(8). Adapted from NetBSD. OK deraadt@
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* fix use after free, netbsd pr 30832, from phirerunner@comcast.netderaadt2005-08-061-4/+4
|
* ansify function definitions and zap some `register'jfb2004-05-181-70/+24
| | | | ok millert@
* unchecked strdup; ok henning; spotted by jjy2+@pitt.eduderaadt2003-09-291-4/+8
|
* KNFderaadt2002-07-061-15/+15
|
* Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)millert2002-02-171-11/+10
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-6/+6
|
* avoid incorrect free; reported by danh@nfol.com, my fixderaadt2000-12-091-7/+7
|
* proper protosderaadt2000-08-241-2/+5
|
* realloc repairderaadt1998-08-141-4/+11
|
* NO abort() CALLS IN LIBCderaadt1997-10-101-14/+2
|
* tabifykstailey1997-07-231-7/+7
|
* Back out stringlistmillert1997-02-031-29/+106
|
* stringlist routines are now public (ftp uses them)millert1997-02-021-105/+30
|
* Fix RCS idstholo1996-08-191-3/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* from netbsd:deraadt1996-05-011-5/+20
| | | | | - grab prototypes from netgroup.h - added _ng_print, netgroup pretty printing function
* initial import of NetBSD treederaadt1995-10-181-0/+735