summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/xmalloc.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2019-06-13 08:12:10 +0000
committerclaudio <claudio@openbsd.org>2019-06-13 08:12:10 +0000
commitff10691ed095a990f60f65135ac291abc7e9c591 (patch)
treef165631291c09ceda1d39482c2ecebee6be4a46c /usr.bin/diff/xmalloc.h
parentAdd more options to pkcs12 and smime in appstest.sh (diff)
downloadwireguard-openbsd-ff10691ed095a990f60f65135ac291abc7e9c591.tar.xz
wireguard-openbsd-ff10691ed095a990f60f65135ac291abc7e9c591.zip
Copy the user provided sockaddr into a normalized sockaddr in rtrequest()
before adding it to the routing table. The rtable code is doing memcmp() of those rt_dest sockaddrs so it is important that they are stored in a canonical form. To do this struct domain is extended to include the sockaddr size for this address family. OK bluhm@ anton@ Reported-by: syzbot+10fe9cd8d0211c562ead@syzkaller.appspotmail.com
Diffstat (limited to 'usr.bin/diff/xmalloc.h')
0 files changed, 0 insertions, 0 deletions