Wireshark-commits: [Wireshark-commits] master 9a76603: ieee80211: Fix parsing of Mesh Peering Manag

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 17 Feb 2019 18:22:41 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9a76603ffdbc7cef368f28bf7aa82215eb39ae18
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

9a76603 by Cedric Izoard (cedric.izoard@xxxxxxxxxxxx):

    ieee80211: Fix parsing of Mesh Peering Management element
    
    Content of Mesh Peering Management element depends of the type of
    self-protected action frame it is included in.
    This type was currently wrongly read from the element itself.
    
    To know the type of self-protected action frame when parsing Mesh
    Peering Management element it is saved in a new field of the
    association_sanity_check_t structure: ampe_frame (AMPE stands for
    Authenticated mesh peering exchange).
    
    This field is updated when parsing a self-protected action frame that
    is part of the AMPE (i.e. Mesh Peering OPEN, CONFIRM or CLOSE)
    
    Bug: 15499
    Change-Id: Ibad4fd77d43542ef867ac2a8ad9f186a1dd6c0f0
    Reviewed-on: https://code.wireshark.org/review/32025
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  053b98c   ieee80211: Stop element parsing after MIC element
     add  9a76603   ieee80211: Fix parsing of Mesh Peering Management element


Summary of changes:
 epan/dissectors/packet-ieee80211.c | 39 +++++++++++++++++++++++++++-----------
 epan/dissectors/packet-ieee80211.h |  1 +
 2 files changed, 29 insertions(+), 11 deletions(-)