summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-09-26 16:24:56 +0000
committerderaadt <deraadt@openbsd.org>2003-09-26 16:24:56 +0000
commit78ded143e3c2296ff97055132519a8ad3c27df03 (patch)
treed7aac98c464e2bfe0cd186e3b01c58ef670a96cc /lib/libc/net
parentWalking up to a firewall box which had the console logged in, to see (diff)
downloadwireguard-openbsd-78ded143e3c2296ff97055132519a8ad3c27df03.tar.xz
wireguard-openbsd-78ded143e3c2296ff97055132519a8ad3c27df03.zip
for %#s, # is the amount of input string, not the amount of output string.
hence # must be 1 less than the size of the storage buffer. yes, we've known this for a long time, but it is not clearly documented and half the code out there does not use n-1! whoever designed this needs to be tortured.
Diffstat (limited to 'lib/libc/net')
0 files changed, 0 insertions, 0 deletions