Wireshark-commits: [Wireshark-commits] lts-1.8.2 512f778: Add boundary check for 802.11 decryption

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 6 Mar 2016 20:36:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=512f778110d8d698c803c4cb7fcc0d6622d34eaf
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.8.2
Repository: wireshark

Commits:

512f778 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/12247
    (cherry picked from commit a6e8fc8c9af56124d44423c3a85c695ac01c70e7)
    Reviewed-on: https://code.wireshark.org/review/13761
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    (cherry picked from commit 1d9c54c2dd366d2c9ba1026fe2e877b794aa13dd)
    Reviewed-on: https://code.wireshark.org/review/14375
    

Actions performed:

    from  1472ec2   ber: fix buffer overrun when handling empty sets
    adds  512f778   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(-)