Wireshark-commits: [Wireshark-commits] master ff78d0a: file-pcap: differentiate captured length and
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 20 Aug 2015 11:43:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ff78d0ad03b4df5f891f1c0728b0eaf421e88e08
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ff78d0a by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    file-pcap: differentiate captured length and reported length when calling next dissector and catch bound errors
    
    Otherwise dissection will fail when analyzing a capture with a snap length set
    
    Change-Id: I764f48c624d0cc411b04ee62f8ecccaf6abb6f0c
    Reviewed-on: https://code.wireshark.org/review/10134
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  2046368   file-pcapng: fix dissection of options in blocks
    adds  ff78d0a   file-pcap: differentiate captured length and reported length when calling next dissector and catch bound errors


Summary of changes:
 epan/dissectors/file-pcap.c |   25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)