Wireshark-commits: [Wireshark-commits] master-1.10 7aaaf15: Don't fail if a pcap-NG PB or EPB has c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 25 Apr 2014 17:59:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7aaaf15a12812e7ab6dd03bb122c4ed2bb79fff3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

7aaaf15 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't fail if a pcap-NG PB or EPB has caplen > actual len.
    
    We don't fail for other file types; there's no point in failing for
    pcap-NG.  wtap_read() and wtap_seek_read() will ensure that
    caplen <= len.
    
    Fixes bug 10037.
    
    Change-Id: If8fe0c21ff4a3a57fbd0575d43306fa892d31a6a
    Reviewed-on: https://code.wireshark.org/review/1356
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  2515bbe   1.10.7 → 1.10.8.
    adds  7aaaf15   Don't fail if a pcap-NG PB or EPB has caplen > actual len.


Summary of changes:
 wiretap/pcapng.c |    6 ------
 1 file changed, 6 deletions(-)