summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipcomp.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2014-01-09 05:07:37 +0000
committermartynas <martynas@openbsd.org>2014-01-09 05:07:37 +0000
commit4e6ebd2a2c98161c2e497c0c110a9c484ce6e4d0 (patch)
treea7cb30ad8b45d25867283556eb0ffc17580e6f71 /sys/netinet/ip_ipcomp.c
parentUse destination bound rather than the source bound for out_line and (diff)
downloadwireguard-openbsd-4e6ebd2a2c98161c2e497c0c110a9c484ce6e4d0.tar.xz
wireguard-openbsd-4e6ebd2a2c98161c2e497c0c110a9c484ce6e4d0.zip
Switch to string copy rather than memcpy so we stop past '\0' and
don't copy over the garbage from the source buffer (like, leaking the canary). OK millert@.
Diffstat (limited to 'sys/netinet/ip_ipcomp.c')
0 files changed, 0 insertions, 0 deletions