Wireshark-commits: [Wireshark-commits] master 82b0312: dumpcap: Reallocate the IO buffer when switc

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 14 Mar 2019 04:37:23 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=82b03128872e14051e483fd953a469cea7ac2e91
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

82b0312 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    dumpcap: Reallocate the IO buffer when switching the ring buffer files
    
    Fixes ASAN test failures for 4 suite_capture tests.
    
    Fixes: v3.1.0rc0-261-ga55111610a ("Dumpcap: Set a bigger IO buffer(64KiB).")
    Change-Id: If7b9450915af0ea751240acbde2371afa806f701
    Reviewed-on: https://code.wireshark.org/review/32398
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  7c943d3   dumpcap: Initialize the stats variable
     add  82b0312   dumpcap: Reallocate the IO buffer when switching the ring buffer files


Summary of changes:
 ringbuffer.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)