Wireshark-commits: [Wireshark-commits] master 29340f1: pcpang: fix test for missing IDB.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=29340f1b33db6f3abb4bdd80a949430d20020d7d
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
29340f1 by Guy Harris (guy@xxxxxxxxxxxx):
pcpang: fix test for missing IDB.
*Any* packet block can have an invalid interface ID; that's not just an
error in the first packet block.
For Enhanced Packet Blocks and Packet Blocks, you can have an invalid
interface ID even if you've already seen one or more Interface
Description Blocks; you have to check whether the interface ID is >= the
number of IDBs we've seen.
Change-Id: I33268d224ef3ad928ad9c000027fb6783806b978
Reviewed-on: https://code.wireshark.org/review/37070
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
Actions performed:
from 1a9c536 pcapng: expert info when packet or ISB appear without interfaces
add 29340f1 pcpang: fix test for missing IDB.
Summary of changes:
epan/dissectors/file-pcapng.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)