Wireshark-commits: [Wireshark-commits] master-2.6 aacbfec: pcapng: fix more interface ID checks.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aacbfec8c43a988ea9eeba70711ed028a3a3e5d4
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
aacbfec by Guy Harris (guy@xxxxxxxxxxxx):
pcapng: fix more interface ID checks.
Fix the check for the Interface Statistics Block as well.
Make the check for the Simple Packet BLock similar to the other checks -
at the beginning, set interface_id to 0 and then check interface_id
against the size of the array.
Change-Id: Ib05255fe13eca6292447f365b62ff3094805bd4a
Reviewed-on: https://code.wireshark.org/review/37071
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
(cherry picked from commit 60622e63fd561830e1de24e28ae4e5f7952ed130)
Reviewed-on: https://code.wireshark.org/review/37108
Actions performed:
from 6cdc198 pcpang: fix test for missing IDB.
add aacbfec pcapng: fix more interface ID checks.
Summary of changes:
epan/dissectors/file-pcapng.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)