Wireshark-commits: [Wireshark-commits] master c143dfa: MIME/pcapng: reset interface array on new SH
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c143dfa5446a08fb5fe00202bb80a94bf0cb14a7
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
c143dfa 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>
Actions performed:
from 9e299c1 ui/capture.h: add missing include to fix build with GCC 9.3
add c143dfa MIME/pcapng: reset interface array on new SHB
Summary of changes:
epan/dissectors/file-pcapng.c | 4 ++++
1 file changed, 4 insertions(+)