Wireshark-commits: [Wireshark-commits] master 875d95e: nstrace: Allow opening of files that are not

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Feb 2016 19:55:29 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=875d95ea605758308fc2369d83a41a34a6adbe53
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

875d95e by anilkumar911 (anilkumar911@xxxxxxxxx):

    nstrace: Allow opening of files that are not multiples of 16kB
    in size.
    
    Wireshark/Tshark hangs when netscaler trace file smaller than 16KB is opened. 
    It also hangs when a gzipped trace file is opened. With this fix, 
    Files with sizes that are not multiple of 16KB and gzipped files can be opened.
    
    Bug: 12083
    Change-Id: I26b2fc406edafcb2f1f6161d69064ba5662ddf29
    Reviewed-on: https://code.wireshark.org/review/13721
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  4d46047   USB Audio: Fix cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations]
    adds  875d95e   nstrace: Allow opening of files that are not multiples of 16kB in size.


Summary of changes:
 wiretap/netscaler.c |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)