diff options
author | 2019-06-13 08:12:10 +0000 | |
---|---|---|
committer | 2019-06-13 08:12:10 +0000 | |
commit | ff10691ed095a990f60f65135ac291abc7e9c591 (patch) | |
tree | f165631291c09ceda1d39482c2ecebee6be4a46c /usr.bin/diff/diffdir.c | |
parent | Add more options to pkcs12 and smime in appstest.sh (diff) | |
download | wireguard-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/diffdir.c')
0 files changed, 0 insertions, 0 deletions