Wireshark-commits: [Wireshark-commits] master dae1c31: IEEE802.11: Prevent BoundsError for packets

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 13 Dec 2018 11:21:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dae1c3135162db7fc4adece45be612274b05d8d5
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

dae1c31 by Olaf Flaschel (olaf.flaschel@xxxxxxxxxx):

    IEEE802.11: Prevent BoundsError for packets with captured len < packet len
    
    This fix prevents that a BoundsError is thrown in function try_decrypt for
    packets with captured length less than packet length. Otherwise, some data
    is not dissected.
    
    Change-Id: I0dcd89b85b959f5712ff58b184bfa2e064746d0b
    Reviewed-on: https://code.wireshark.org/review/31026
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  236e7e8   IEEE802.11: Fixed dissector bug with wlan.ext_tag.ess_report.ess_info.thresh
     add  dae1c31   IEEE802.11: Prevent BoundsError for packets with captured len < packet len


Summary of changes:
 epan/dissectors/packet-ieee80211.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)