Wireshark-commits: [Wireshark-commits] master-3.2 d309f25: MIME/pcapng: reset interface array on ne
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 04 May 2020 19:14:27 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d309f25dd4d409ea7441a10887c851b58383c1f3
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

d309f25 by David Perry (boolean263@xxxxxxxxxxxxxx):

    MIME/pcapng: reset interface array on new SHB
    
    When reading a new SHB in a pcapng file, reset the array of interface
    descriptions to empty. No blocks that follow will be referring to
    interfaces from the previous section.
    
    Ping-Bug: 16526
    Change-Id: Iaa4257e3392bb829445aab1f79b54334f5db0263
    Reviewed-on: https://code.wireshark.org/review/37092
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    (cherry picked from commit c143dfa5446a08fb5fe00202bb80a94bf0cb14a7)
    Reviewed-on: https://code.wireshark.org/review/37121
    

Actions performed:

    from  012ec01   Add additional checks, clean up some stuff.
     add  d309f25   MIME/pcapng: reset interface array on new SHB


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