Wireshark-commits: [Wireshark-commits] master-3.2 1881a1a: Back up to the beginning of the file if
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 05 Dec 2019 06:50:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1881a1a0c9a4a090bc3242159e7b931d3e9157cf
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.2
Repository: wireshark

Commits:

1881a1a by Guy Harris (guy@xxxxxxxxxxxx):

    Back up to the beginning of the file if we don't have a gzip header.
    
    If the first byte of the file is 31, and we advance to the next byte but
    find it's not 139, back up to the first byte before falling through and
    treating the file as uncompressed.
    
    Add/expand some comments while we're at it.
    
    Bug: 16252
    Change-Id: I292b51f9cc04173482a43b26b0ce73c9e7aee570
    Reviewed-on: https://code.wireshark.org/review/35315
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit b2a153db5eceafbbc8fd512277deca5c36866b9f)
    Reviewed-on: https://code.wireshark.org/review/35316
    

Actions performed:

    from  aca1731   Qt: We show preference panes using their module names.
     add  1881a1a   Back up to the beginning of the file if we don't have a gzip header.


Summary of changes:
 wiretap/file_wrappers.c | 201 ++++++++++++++++++++++++++++++------------------
 1 file changed, 126 insertions(+), 75 deletions(-)