diff options
author | 2009-12-14 17:38:18 +0000 | |
---|---|---|
committer | 2009-12-14 17:38:18 +0000 | |
commit | e2c9a44c74dcf293bd3cfa991d433965d5d2c4ed (patch) | |
tree | 044f36aeb29c22142dfac41a8652fb8d12c9da8d /usr.sbin/dhcpd | |
parent | make ifconfig return with failure of bridge_rule; ok claudio (diff) | |
download | wireguard-openbsd-e2c9a44c74dcf293bd3cfa991d433965d5d2c4ed.tar.xz wireguard-openbsd-e2c9a44c74dcf293bd3cfa991d433965d5d2c4ed.zip |
addr2sa() will return NULL for AID_UNSPEC and pfkey_send() may end up with
one of the src/dst addrs as AID_UNSPEC. So we need to check for NULL before
copying. Fixes a crash seen with tcp-md5 enabled peers.
Diffstat (limited to 'usr.sbin/dhcpd')
0 files changed, 0 insertions, 0 deletions