Wireshark-commits: [Wireshark-commits] master 6d15429: If we get a short read on the first packet i
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 02 Sep 2019 22:27:45 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6d15429a847f17b4302053b621673e8d3df00e82
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6d15429 by Guy Harris (guy@xxxxxxxxxxxx):

    If we get a short read on the first packet in the open, don't check any more.
    
    There's no point in trying to read more packets to check the file type.
    
    Change-Id: Ic2c5a7692b60fab8a0022503338a40befe00d358
    Ping-Bug: 16031
    Reviewed-on: https://code.wireshark.org/review/34433
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  cdb9429   Strengthen the I4B heuristics.
     add  6d15429   If we get a short read on the first packet in the open, don't check any more.


Summary of changes:
 wiretap/i4btrace.c | 74 +++++++++++++++++++++++++++---------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)