summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffreg.c
diff options
context:
space:
mode:
authormk <mk@openbsd.org>2011-03-31 17:06:25 +0000
committermk <mk@openbsd.org>2011-03-31 17:06:25 +0000
commit8f678f094bb784c17f3fdd5e4cd3a4a4f5bd5a52 (patch)
tree78a87850a5423b2e77dd4150ea73f3b8e07b353c /usr.bin/diff/diffreg.c
parent- use nitems(); no binary change. (diff)
downloadwireguard-openbsd-8f678f094bb784c17f3fdd5e4cd3a4a4f5bd5a52.tar.xz
wireguard-openbsd-8f678f094bb784c17f3fdd5e4cd3a4a4f5bd5a52.zip
Don't process packets where the USB xfer length is shorter than a packet
header, and don't process packets where the packet header length field says the packet is longer than the size of the USB xfer. While there, fix a debug print that was missing the device name from the parameter list, causing it to crash when enabled. Also, use correct MTU from datasheet. From Loganaden Velvindrom with input from me. Tested by kili. ok jasper sthen (with a whitespace nit)
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions