Wireshark-commits: [Wireshark-commits] master-2.0 284ad58: nstrace: Allow opening of files that are
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 2 Mar 2017 04:04:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=284ad58d288722a8725401967bff0c4455488f0c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

284ad58 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>
    (cherry picked from commit 875d95ea605758308fc2369d83a41a34a6adbe53)
    Reviewed-on: https://code.wireshark.org/review/20328
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  4439e69   Return correct filter for get_hostlist_filter()
    adds  284ad58   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(-)