Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove includes that are no longer neeed after tedu's simplification. | 2019-12-10 | 1 | -4/+1 | |
| | | | | OK jca@ | ||||
* | rewrite guts of getusershell() to avoid possibility of overflow. | 2015-12-08 | 1 | -41/+45 | |
| | | | | | | | | instead of trying to allocate "just enough" memory based on the size of the file (which is mostly comments, in fact), allocate memory on demand. i.e., save memory by wasting it. also be a little stricter about parsing. after discussion with tobias. (with a bug fix from patrick keshishian) descended from bug glibc bug 18660 via tobias. | ||||
* | remove null check before free. from Michael McConville | 2015-09-14 | 1 | -9/+5 | |
| | | | | ok semarie | ||||
* | SIZE_MAX is standard, we should be using it in preference to the | 2015-02-06 | 1 | -2/+3 | |
| | | | | obsolete SIZE_T_MAX. OK miod@ beck@ | ||||
* | When fopen()ing internal to libc (the API doesn't support the use | 2014-09-15 | 1 | -2/+2 | |
| | | | | | | | of the resulting FILE *), then pass fopen() the 'e' mode letter to mark it close-on-exec. ok miod@ | ||||
* | Fix one more off-by-one (making it an off-by-two): | 2014-01-19 | 1 | -2/+2 | |
| | | | | | | | 1. integer division can give an off-by-one (like 2/3 = 0 for calloc) 2. ending the shells array with NULL takes space, too ok millert@ | ||||
* | Fix off-by-one on specially crafted /etc/shells file. | 2014-01-17 | 1 | -2/+2 | |
| | | | | ok gilles@, millert@ | ||||
* | most obvious unsigned char casts for ctype | 2013-11-24 | 1 | -2/+2 | |
| | | | | ok jca krw ingo | ||||
* | Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN, | 2013-09-30 | 1 | -6/+6 | |
| | | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@ | ||||
* | range check st_size before calling calloc() | 2012-04-06 | 1 | -3/+7 | |
| | | | | ok millert | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | Add /bin/ksh to builtin list of OK shells. | 2005-04-02 | 1 | -2/+2 | |
| | |||||
* | deregister (and deauto!). ok millert@ marco@ | 2005-03-25 | 1 | -3/+3 | |
| | |||||
* | ansify function definitions and zap some `register' | 2004-05-18 | 1 | -5/+5 | |
| | | | | ok millert@ | ||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | 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. | 2002-02-16 | 1 | -2/+2 | |
| | |||||
* | Fix RCS ids | 1996-08-19 | 1 | -7/+1 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+143 | |