freebsd-dev/lib/libc
Jacques Vidrine 4c3c0fecae Don't use `memset' to initialize a struct passwd. A module
may not fill in all fields, and in the case of string fields, this could
cause trouble for applications.  (The only likely example is `pw_class',
because this field is not used by all modules in all cases.)

Move initialization of struct passwd from module-specific code to the
dispatch code.

The problem of a NULL pw_class was
Noticed by:	Philip Paeps <philip@paeps.cx>
                    and the c^Htrusty ssh(1) command.
Déjà vu by:	getpwent.c revision 1.56

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-18 17:27:05 +00:00
..
alpha Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
amd64 Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
compat-43 The .Fn function 2003-02-06 11:04:47 +00:00
db Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
gdtoa /strtopx/ s/result/&result/ 2003-04-09 05:58:43 +00:00
gen Don't use `memset' to initialize a struct passwd. A module 2003-04-18 17:27:05 +00:00
gmon mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
i386 Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
ia64 Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
include = Implement name service switch modules (NSS modules). NSS modules 2003-04-17 14:14:22 +00:00
locale When called with s == NULL, behave as if wc == L'\0' as required by the 2003-04-10 09:20:38 +00:00
net = Implement name service switch modules (NSS modules). NSS modules 2003-04-17 14:14:22 +00:00
nls libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
posix1e Clarify the relationship between the MAC library APIs and POSIX.1e: 2003-04-16 20:40:34 +00:00
powerpc Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
rpc Clean up some signed/unsigned issues in the XDR code. 2003-03-07 13:19:40 +00:00
sparc64 Add __ldtoa(), a wrapper around gdtoa() to make it look like dtoa(). 2003-04-05 22:10:13 +00:00
stdio Merge in vfprintf.c rev. 1.58. 2003-04-14 12:15:59 +00:00
stdlib MFp4: Link strtof.3 and strtold.3 to strtod.3. 2003-04-05 07:33:46 +00:00
stdtime Zero out the struct tm supplied by the caller. Otherwise, 2003-04-05 05:46:43 +00:00
string MFp4: Make `spanp' const. 2003-03-12 06:41:49 +00:00
sys Add a manual page for the ntp_gettime syscall. 2003-04-17 18:39:30 +00:00
uuid mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
xdr Clean up some signed/unsigned issues in the XDR code. 2003-03-07 13:19:40 +00:00
yp libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
Makefile Clean up the way gdtoa sources are found. 2003-03-13 18:55:14 +00:00