Wireshark mailing list archives

Re: [Wireshark-commits] rev 37171: /trunk/ /trunk/: dumpcap.c


From: Gerald Combs <gerald () wireshark org>
Date: Fri, 27 May 2011 09:52:14 -0700

On 5/26/11 11:53 PM, Stig Bjørlykke wrote:
On Fri, May 27, 2011 at 12:12 AM, Gerald Combs <gerald () wireshark org> wrote:
On 5/26/11 2:24 PM, Stig Bjørlykke wrote:
On Mon, May 16, 2011 at 12:54 AM,  <tuexen () wireshark org> wrote:
Log:
 Change internal data structures to store and handle mulitple
 pcap devices / pipes to capture from and open and close them.

I think this change made capture_loop_stop() crash after running
"dumpcap -S" (statistics).
This is used in "Live list of the capture interfaces" from GUI.

Fixed in r37417.

Are you sure?  global_ld.pcaps is not initialized in this case.

global_ld is static. Won't its members be zeroed when dumpcap starts up?


-- 
Join us for Sharkfest ’11! · Wireshark® Developer and User Conference
Stanford University, June 13-16 · http://sharkfest.wireshark.org
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: