Wireshark-commits: [Wireshark-commits] master 01f85e7: file-pcap: expert info if captured len > rep
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 13 Apr 2018 07:28:39 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=01f85e7b01d5bff1e1a3dba18ad179f677066552
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

01f85e7 by Martin Kaiser (wireshark@xxxxxxxxx):

    file-pcap: expert info if captured len > reported len
    
    Bring up an expert info if the file contains a record whose captured
    length is larger than the reported length. Abort the dissection in this
    case since we rely on those lengths to find the next record.
    
    Change-Id: If249d0fe670373417bbfef6759edc0b020a9f5cb
    Reviewed-on: https://code.wireshark.org/review/26885
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Craig Jackson <cejackson51@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0561501   Fix the length of the payload of a private_1 or audio PES packet.
    adds  01f85e7   file-pcap: expert info if captured len > reported len


Summary of changes:
 epan/dissectors/file-pcap.c | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)