Commit Graph

2872 Commits

Author SHA1 Message Date
Todd C. Miller
18f3cfdf6d back out rev 1.352 2003-03-15 05:21:43 +00:00
Todd C. Miller
37a1bfccd4 regen 2003-03-15 01:11:51 +00:00
Todd C. Miller
cc5cc07652 use strlcpy, not strncpy 2003-03-15 01:11:26 +00:00
Todd C. Miller
2aec2bd724 Fix typo; check pw_uid, not pw_gid after setusercontext() failure. 2003-03-15 00:48:34 +00:00
Todd C. Miller
f4b5af8dac use pid_t 2003-03-15 00:43:51 +00:00
Todd C. Miller
4e1b157c57 Make gcc shutup about unused rcsid 2003-03-14 15:43:49 +00:00
Todd C. Miller
0932bf305f Move the n == 0 check for the non-getifaddrs cas 2003-03-14 15:35:54 +00:00
Todd C. Miller
27ffee8ac0 skeychallenge() on NetBSD take a size parameter 2003-03-14 02:47:55 +00:00
Todd C. Miller
9cafae7a6b regen 2003-03-14 02:38:13 +00:00
Todd C. Miller
50b049dcc9 put -ldl after -lpam, not before; fixes static linking on Linux 2003-03-14 02:38:06 +00:00
Todd C. Miller
debf9f09c5 Avoid malloc(0) and fix the loop invariant for the getifaddrs() case. 2003-03-14 02:17:38 +00:00
Todd C. Miller
af7c4632f1 regen 2003-03-14 01:24:37 +00:00
Todd C. Miller
7aa90a9bb9 regen 2003-03-14 01:24:30 +00:00
Todd C. Miller
fc65ea65c8 Preserve copyright notice from .pod file in .man.in file 2003-03-14 01:23:19 +00:00
Todd C. Miller
e0037d9ad7 Add sudoers(5) to SEE ALSO 2003-03-14 01:01:04 +00:00
Todd C. Miller
8656452cae regen 2003-03-13 20:27:38 +00:00
Todd C. Miller
a01f25b5f1 Don't assume libc can realloc() a NULL string.
If malloc/realloc fails, make sure we just return; yyerror() is not terminal.
2003-03-13 20:27:09 +00:00
Todd C. Miller
1725de8772 regen 2003-03-13 20:17:41 +00:00
Todd C. Miller
9ae8aadee5 simplify fill_args a little and use strlcpy for paranoia 2003-03-13 20:17:14 +00:00
Todd C. Miller
a822179f56 regen 2003-03-13 20:02:20 +00:00
Todd C. Miller
eebc763bd3 Use strlc{at,py} for paranoia's sake and exit on overflow. In all
cases the strings were either pre-allocated to the correct size of
length checks were done before the copy but a little paranoia can
go a long way.
2003-03-13 20:00:45 +00:00
Todd C. Miller
a54c8e66fa Add strlc{at,py} protos 2003-03-13 17:54:04 +00:00
Todd C. Miller
7ce95c61c8 Use erealloc3() 2003-03-13 17:03:23 +00:00
Todd C. Miller
006e64f61e regen 2003-03-13 17:00:51 +00:00
Todd C. Miller
5b40c964de Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
Use memcpy() instead of strcpy() in estrdup() so this is strcpy()-free.
2003-03-13 17:00:31 +00:00
Todd C. Miller
96376b6d4e snprintf() a uid as %lu, not %ld to match the MAX_UID_T_LEN test in
configure.
2003-03-13 16:58:25 +00:00
Todd C. Miller
4df44eea5d In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned. 2003-03-13 16:56:38 +00:00
Todd C. Miller
804caf3956 Use snprintf() for paranoia 2003-03-12 23:46:54 +00:00
Todd C. Miller
35b2800a8a Use emalloc2 and erealloc3 2003-03-12 22:16:13 +00:00
Todd C. Miller
6cb46fd4e0 strlc{at,py} for those w/o it 2003-03-12 22:08:29 +00:00
Todd C. Miller
cfa77cedee stlc{at,py} for those w/o it. 2003-03-12 22:07:36 +00:00
Todd C. Miller
285791c42f Add stlc{at,py} for those w/o it. 2003-03-12 22:07:26 +00:00
Todd C. Miller
838ec0a2ca Add erealloc3(), a realloc() version of emalloc2(). 2003-03-12 21:51:39 +00:00
Todd C. Miller
c96a62e26c Use emalloc2() to allocate N things of a certain size. 2003-03-12 21:45:51 +00:00
Todd C. Miller
8b4248529e Add emalloc2() -- like calloc() but w/o the bzero and with error/oflow
checking.
2003-03-12 21:41:22 +00:00
Todd C. Miller
8e041c3f35 Error out on malloc(0); suggested by theo 2003-03-12 21:23:40 +00:00
Todd C. Miller
450a561933 fix a typo; David Krause 2003-03-10 00:34:09 +00:00
Todd C. Miller
fc387e982d fix typo 2003-03-07 15:46:18 +00:00
Todd C. Miller
466216fe8e Remove DYLD_ from the environment for MacOS X; from bbraun 2003-03-04 02:47:24 +00:00
Todd C. Miller
7a7a5fe2e0 not not; Anil Madhavapeddy 2003-03-01 18:21:20 +00:00
Todd C. Miller
4a48a0f679 typos; jmc@openbsd.org 2003-01-23 08:03:51 +00:00
Todd C. Miller
b34e373908 Add some missing ';' rule terminators that bison warns about. 2003-01-20 21:13:42 +00:00
Todd C. Miller
5478ef4e29 fix typo I introduced in last merge 2003-01-20 21:07:51 +00:00
Todd C. Miller
f1b0329256 regenerate with autoconf 2.57 2003-01-20 20:59:08 +00:00
Todd C. Miller
dfd0d2829d Add missing "$HOME" 2003-01-20 20:58:48 +00:00
Todd C. Miller
cf76450aef Add some more square backets to make autoconf 2.57 happy 2003-01-20 20:57:51 +00:00
Todd C. Miller
fe79cba0b3 Updates from autoconf-2.57 2003-01-20 19:39:04 +00:00
Todd C. Miller
e73dd504b3 Updates from autoconf-2.57 2003-01-20 19:39:04 +00:00
Todd C. Miller
270e6cab72 regen 2003-01-17 23:10:05 +00:00
Todd C. Miller
26d9f4856f regen 2003-01-17 23:10:05 +00:00