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

Commits:

49f13e6 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/37123
    

Actions performed:

    from  58e8049   pcapng: pull the interface ID handling into a single routine.
     add  49f13e6   MIME/pcapng: reset interface array on new SHB


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