Wireshark-bugs: [Wireshark-bugs] [Bug 3122] New: Wireshark crashes after applying a filter which

Date: Mon, 15 Dec 2008 03:47:13 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3122

           Summary: Wireshark crashes after applying a filter which doesnt
                    match any packet in the capture file and when the user
                    clicks on close button
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: sandeep.nitta@xxxxxxxxx


Created an attachment (id=2565)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2565)
snapshot of error report given by wireshark

Build Information:
Version 1.0.0

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.5,
with ADNS, with Lua 5.1, with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
wireshark crashes when user applies a filter which doesnt match any packet in
the trace file and then clicks on close button, without "clearing" the
expression.

The attached file contains a mix of DNS, MGCP traces.
when user applies a filter which doesnt match any of the packets in the trace
file, say "gnutella", and then after applying the filter, clicks the close
button, wireshark says that it cannot continue and has to close since it has
encountered a problem.




steps to reproduce:

1. Open the attached file in wireshark version 1.0.0
2. In the "Filter" section, type "gnutella" and click on "Apply" button
3. Cick on "Close" button.


Wireshark cannot continue operation after this and has to be closed.
A snapshot of how the error looks is also attached.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.