Wireshark-commits: [Wireshark-commits] master-2.0 dbc13d2: Don't assume all IDBs are available aftr
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dbc13d21329e996f048b714f0dbaaf877a0d5c18
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
dbc13d2 by Guy Harris (guy@xxxxxxxxxxxx):
Don't assume all IDBs are available aftre we open the file.
IDBs can occur anywhere in the file, so if we see an interface ID bigger
than the number of IDBs we've see, re-fetch the interface information,
update the IDB count, and grow the packet count array as necessary.
Get the information strings for interfaces after reading the entire
file; we don't need them until then.
Change-Id: I54dfbf072a5aa53369318d1a04bb9d11cc40ec4a
Reviewed-on: https://code.wireshark.org/review/15799
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from b348db4 Allow for vendor private use RRO subobject
adds dbc13d2 Don't assume all IDBs are available aftre we open the file.
Summary of changes:
capinfos.c | 59 +++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 41 insertions(+), 18 deletions(-)