Wireshark-commits: [Wireshark-commits] master-2.0 bf1fa88: Add boundary check for 802.11 decryption

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 28 Nov 2015 10:05:59 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bf1fa88dee15366037f1caeb71ffe70ee870ea35
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

bf1fa88 by Peter Wu (peter@xxxxxxxxxxxxx):

    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@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 40b283181c63cb28bc6f58d80315eccca6650da0)
    [resolved conflict by accepting comments from v2.1.0rc0-764-g9cd66b2]
    Reviewed-on: https://code.wireshark.org/review/12246
    

Actions performed:

    from  68c9cc0   [mp2t] use the correct file infomation for PCR detection
    adds  bf1fa88   Add boundary check for 802.11 decryption


Summary of changes:
 epan/crypt/airpdcap.c        |    6 ++++++
 epan/crypt/airpdcap_system.h |    6 ++++--
 2 files changed, 10 insertions(+), 2 deletions(-)