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
..
disklabel_dkcksum.3
disklabel_dkcksum.c
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
getmaxpartitions.3 mention error return value, like getrawpartition(3) 2006-05-26 12:36:59 +00:00
getmaxpartitions.c
getmntopts.3
getmntopts.c
getrawpartition.3 \- is a minus. 2006-05-25 10:56:08 +00:00
getrawpartition.c
if_media.c
login_cap.3
login_cap.c Add support for per-user /tmp. 2007-02-04 08:19:26 +00:00
login_tty.c
login.3
login.c
loginx.3
loginx.c
logout.c
logoutx.c
logwtmp.c
logwtmpx.c
Makefile add estrndup() 2007-07-01 21:41:16 +00:00
opendisk.3
opendisk.c
openpty.3
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
pty.c
pw_getconf.3
pw_init.3
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
snprintb.c prevent empty else. 2006-10-15 19:34:51 +00:00
sockaddr_snprintf.3
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
ttymsg.3
ttymsg.c
util.3