Wireshark-commits: [Wireshark-commits] master b7f8cd8: skip the extra field in the gzip header it c
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Dec 2014 09:39:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b7f8cd8a5d4fc98ef62fd7d503df2451f187eefd
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b7f8cd8 by Martin Kaiser (wireshark@xxxxxxxxx):

    skip the extra field in the gzip header
    it consists of two bytes xsize + xsize bytes of data
    
    use an unsigned type for xsize
    
    fail gracefully if the field is present but truncated
    
    tvb_length_remaining > tvb_captured_length_remaining
    
    Change-Id: I7f5138743c2d88abdd4f5f18d3c0292612ddb559
    Reviewed-on: https://code.wireshark.org/review/5654
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  5570f8e   [SIP] Try to fix another corner case of reassembly.
    adds  b7f8cd8   skip the extra field in the gzip header it consists of two bytes xsize + xsize bytes of data


Summary of changes:
 epan/tvbuff_zlib.c |   24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)