summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-06-26 14:36:11 +0000
committerkrw <krw@openbsd.org>2012-06-26 14:36:11 +0000
commitdf453039eae19e9c7383e92106277de59b3db790 (patch)
tree1cccd18c1e36e3bb60abea27f5a08364c63120b1 /lib/libc
parentinitialize 'reason' variable before passing it to the pflog_packet; (diff)
downloadwireguard-openbsd-df453039eae19e9c7383e92106277de59b3db790.tar.xz
wireguard-openbsd-df453039eae19e9c7383e92106277de59b3db790.zip
RFC 2132 says "Options containing NVT ASCII data SHOULD NOT include
a trailing NULL; however, the receiver of such options MUST be prepared to delete trailing nulls if they exist." So delete (all) trailing NUL's when parsing NVT ASCII options. Should fix odd results when 'append'ing info to such options via dhclient.conf. FreeBSD commit to fix 'append' logic in a different way pointed out by brad.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions