Wireshark-commits: [Wireshark-commits] master-3.0 8fa068d: MIME/pcapng: reset interface array on ne

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 04 May 2020 19:14:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8fa068d7fb4ad05f25c295560666fe2bae9273a4
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

8fa068d 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/37122
    

Actions performed:

    from  e898ee7   Add additional checks, clean up some stuff.
     add  8fa068d   MIME/pcapng: reset interface array on new SHB


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