summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-05-10 18:30:15 +0000
committerpatrick <patrick@openbsd.org>2019-05-10 18:30:15 +0000
commit4e00b90330e1e472a3ab41a7029f69a27eda9eb8 (patch)
treeb19636e828b238c91a1072e2392d769aed19ec21 /sys/dev/pci/drm
parentDocument port protection support in switch(4). Also add SIOCBRDGSIFPROT to (diff)
downloadwireguard-openbsd-4e00b90330e1e472a3ab41a7029f69a27eda9eb8.tar.xz
wireguard-openbsd-4e00b90330e1e472a3ab41a7029f69a27eda9eb8.zip
On the transmit path the ethernet and ip headers might not be
in contiguous memory. Taking the pointer to the data and simply looking at the IP header by adding an offset can lead to an out- of-bounds access. Make the ieee80211 classify function copy the ethernet and ip header into stack variables to fix it. Fixes a panic for florian@ Discussed with claudio@ ok stsp@
Diffstat (limited to 'sys/dev/pci/drm')
0 files changed, 0 insertions, 0 deletions