Wireshark-commits: [Wireshark-commits] master 4233e9a: Don't assume all IDBs are available aftre we
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4233e9a680095384fc37f02b5ea96998be80b9c8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
4233e9a 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: Ib6096e481e321de485710d14eadf7b5232bf0be7
Reviewed-on: https://code.wireshark.org/review/15797
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from f928a5f Make the determination if file is relative. (CID-1348040)
adds 4233e9a 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(-)