URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9eb64981e07a658a6dc5dc6d3f54adbb58eb4cad
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
9eb6498 by David Perry (boolean263@xxxxxxxxxxxxxx):
pcapng: expert info when packet or ISB appear without interfaces
A valid pcapng file must have an IDB before any EPB/SPB/PB/ISB. So check
our interface count when we parse the first such block of a section, and
add expert info if there are no interfaces.
Discovered during work on Bug #16526.
Ping-Bug: 16526
Change-Id: I23ff452fd163a0e4472e0658a905f85ab85d5e9d
Reviewed-on: https://code.wireshark.org/review/36986
Reviewed-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
(cherry picked from commit 1a9c5364d18b32c5fef72c0bcb3ea2095e60d8b0)
Reviewed-on: https://code.wireshark.org/review/37102
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
Actions performed:
from 849a98d Generate a dummy description if we don't have an interface name.
add 9eb6498 pcapng: expert info when packet or ISB appear without interfaces
Summary of changes:
epan/dissectors/file-pcapng.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)