summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-10-22 06:38:54 +0000
committerbrad <brad@openbsd.org>2005-10-22 06:38:54 +0000
commitdb004b2c9bb5c0279f9b2d268b69e9481f0cf972 (patch)
tree0b0c201bcb2a58cee17738a23f4a85ad26435616 /sys/dev
parenttidy up dmesg printing. (diff)
downloadwireguard-openbsd-db004b2c9bb5c0279f9b2d268b69e9481f0cf972.tar.xz
wireguard-openbsd-db004b2c9bb5c0279f9b2d268b69e9481f0cf972.zip
In icmp6_redirect_output(), sip6 is initialised to point to the data area of
m0. But m0 may be freed later, so trying to use sip6 at the end of this function is wrong. My guess is that we want to reference the data area of m (the mbuf about to be send) instead at this point. Fix a panic on Xen (where a data area of a mbuf may be unmapped when the mbuf is freed), and probably potential data/pool corruption in other cases. From bouyer NetBSD ok deraadt@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions