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

Commits:

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

    file-pcapng: 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: If6714364efffdd1fbf88c947743929a71f75c663
    Reviewed-on: https://code.wireshark.org/review/10135
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  ff78d0a   file-pcap: differentiate captured length and reported length when calling next dissector and catch bound errors
    adds  bc8b94d   file-pcapng: differentiate captured length and reported length when calling next dissector and catch bound errors


Summary of changes:
 epan/dissectors/file-pcapng.c |   53 ++++++++++++++++++++++++++++-------------
 1 file changed, 37 insertions(+), 16 deletions(-)