Add boundary check for 802.11 decryption
authorPeter Wu <peter@lekensteyn.nl>
Sat, 28 Nov 2015 00:24:12 +0000 (01:24 +0100)
committerPeter Wu <peter@lekensteyn.nl>
Sat, 28 Nov 2015 09:47:28 +0000 (09:47 +0000)
commit40b283181c63cb28bc6f58d80315eccca6650da0
tree4d95b507325ceb96c3c725df7e2788bf66b2278c
parent38c53f9800dc49fca3dad9d9cc9cfb0eea8f52b5
Add boundary check for 802.11 decryption

Fixed stack-based buffer overflow when the frame length exceeds 8KB.

Bug: 11790
Change-Id: I20db8901765a7660e587057e955d4fb5a8645574
Reviewed-on: https://code.wireshark.org/review/12237
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
epan/crypt/airpdcap.c
epan/crypt/airpdcap_system.h