NetBSD/lib/libutil
dyoung bfa27930cb In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminating
null character outside of the byte region [sbuf, sbuf + len).

1) If the length of the buffer is 0, do not write a null character
   at all.  Previously, sockaddr_snprintf() may have been able to
   overwrite sbuf[-1] if len was 0.

2) If the length of the buffer, len, is greater than 0, then write
   the null at sbuf[len - 1].  Previously, sockaddr_snprintf()
   wrote the null at buf[len - 1], where `buf' was a "cursor" that
   did not necessarily equal `sbuf', the start of the buffer.  Now,
   sockaddr_snprintf() always writes the null at sbuf[len - 1].
2007-07-24 08:45:45 +00:00
..
Makefile add estrndup() 2007-07-01 21:41:16 +00:00
disklabel_dkcksum.3 Fix capso in Dd argument. 2005-05-16 18:49:24 +00:00
disklabel_dkcksum.c u_short -> uint16_t 2005-05-15 21:01:34 +00:00
disklabel_scan.3
disklabel_scan.c
efun.3 add estrndup() 2007-07-01 21:41:16 +00:00
efun.c add estrndup() 2007-07-01 21:41:16 +00:00
getbootfile.3
getbootfile.c
getlabelsector.3
getlabelsector.c Lint warnings. 2005-09-17 01:51:21 +00:00
getmaxpartitions.3 mention error return value, like getrawpartition(3) 2006-05-26 12:36:59 +00:00
getmaxpartitions.c Lint warnings. 2005-08-27 16:55:59 +00:00
getmntopts.3
getmntopts.c
getrawpartition.3 \- is a minus. 2006-05-25 10:56:08 +00:00
getrawpartition.c Lint warnings. 2005-08-27 16:55:59 +00:00
if_media.c Add if_media.c, functions for converting media to/from strings. 2004-11-11 20:36:28 +00:00
login.3
login.c
login_cap.3 Mmm, API changes without date bumps... bump date for constification. 2004-12-11 16:50:56 +00:00
login_cap.c Add support for per-user /tmp. 2007-02-04 08:19:26 +00:00
login_tty.c
loginx.3
loginx.c
logout.c Lint warnings. 2005-08-27 16:55:59 +00:00
logoutx.c
logwtmp.c
logwtmpx.c
opendisk.3
opendisk.c
openpty.3 Don't allow openpty to succeed if the caller is non-superuser. 2004-06-18 02:42:57 +00:00
parsedate.3 Quote - when used as minus; uppercase Dt argument; remove dot at end 2006-12-23 07:29:10 +00:00
parsedate.y From Anon Ymous: 2006-12-20 16:47:13 +00:00
passwd.c From Anon Ymous: 2006-12-20 16:47:13 +00:00
pidfile.3
pidfile.c
pidlock.3 Remove trailing whitespace, add 'and' in enumeration. 2006-03-23 19:30:27 +00:00
pidlock.c Coverity CID 1209: Avoid negative close. While I am there fix bugs (open 2006-03-19 21:55:37 +00:00
pty.c Use the re-entrant getgr*_r functions. From John Nemeth. 2005-09-14 02:12:34 +00:00
pw_getconf.3 Avoid duplicate if. 2005-09-10 21:55:35 +00:00
pw_init.3 New sentence, new line. 2004-08-04 15:07:37 +00:00
pw_lock.3 Remove pw_error prototype, the function is described in a different man page. 2007-02-17 09:37:55 +00:00
pw_policy.3 Consistent license. 2007-01-09 14:04:44 +00:00
pw_policy.c Consistent license. 2007-01-09 14:04:44 +00:00
secure_path.3
secure_path.c
shlib_version add estrndup() 2007-07-01 21:41:16 +00:00
snprintb.3 Add missing LIBRARY section. 2004-12-01 00:06:46 +00:00
snprintb.c prevent empty else. 2006-10-15 19:34:51 +00:00
sockaddr_snprintf.3 Bump date for previous; add commas to make 2005-04-13 23:08:03 +00:00
sockaddr_snprintf.c In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminating 2007-07-24 08:45:45 +00:00
stat_flags.3 Fix typo. 2006-12-23 09:55:47 +00:00
stat_flags.c Fixed string truncation bug in flags_to_string(): SAPPEND() uses 2007-01-16 17:34:02 +00:00
ttyaction.3
ttyaction.c Lint warnings. 2005-08-27 16:55:59 +00:00
ttymsg.3
ttymsg.c Lint warnings. 2005-08-27 16:55:59 +00:00
util.3 Add a manual page. 2004-11-20 03:06:09 +00:00