aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-01-12 20:07:09 -0800
committerGuy Harris <guy@alum.mit.edu>2015-01-13 04:08:23 +0000
commitb204ff4846fe84b7789893c6b1d9afbdecac5b5d (patch)
tree243531de15503b25a9ee7e65c7c1b84948c175fb /epan/dissectors/packet-usb.c
parent63d8e445808b5d8bc17e9e3025e51ed7cffad963 (diff)
Do bounds checking when decompressing WCP packets.
Extract the data offset and count only once, and make sure we don't run past the end of the data we've copied from the packet; have decompressed_entry() just do the decompression, rather than also fetching the data offset and count. Add some comments while we're at it. Bug: 10844 Change-Id: I2dc2f9594422ffa8f15fd5c57c9dac2e30e363f4 Reviewed-on: https://code.wireshark.org/review/6514 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-usb.c')
0 files changed, 0 insertions, 0 deletions