Wireshark-bugs: [Wireshark-bugs] [Bug 7954] New: Wireshark crashes when OK or Cancel button on U

Date: Sat, 3 Nov 2012 09:47:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7954

           Summary: Wireshark crashes when OK or Cancel button on UAT is
                    pressed more than once
           Product: Wireshark
           Version: 1.9.x (Experimental)
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: samano.and@xxxxxxxxx


Build Information:
Version 1.9.0 (SVN Rev 45880 from /trunk)

Copyright 1998-2012 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 (64-bit) with GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.3, with libpcap, with libz 1.2.3.4, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.7.5, without Lua, without Python,
with GnuTLS 2.12.14, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with
PortAudio <= V18, with AirPcap.

Running on Linux 3.2.0-32-generic, with locale ja_JP.UTF-8, with libpcap
version
1.1.1, with libz 1.2.3.4, GnuTLS 2.12.14, Gcrypt 1.5.0, without AirPcap.

Built using gcc 4.6.3.

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

Check the man page and http://www.wireshark.org for more information.

--
Procedure:

1. Prepare a large pcap file (> 100MB) so that Wireshark takes some seconds for
loading it.
2. Launch Wireshark and open the file.
3. Go to Edit -> Preference... -> Protocols -> HTTP  and press "Edit..." button
   of "Custom HTTP headers fields".
4. Press "New", create an entry (e.g. Header name is "test", Field description
   is "testheader") and press "OK"

Now,

5-a. Press "OK" button on the UAT.
     You will see "xx% Preprocessing: all packets" dialog, and
     while the dialog is still shown, press the "OK" button on the UAT again.

 --> After the dialog disappears, Wireshark crashes.


5-b. Press "Apply" button on the UAT.
     You will see "xx% Preprocessing: all packets" dialog, and
     while the dialog is still shown, press "Cancel" button on the UAT TWICE.

 --> You will see another "xx% Reprocessing: all packets" dialog, and
     when the dialog disappears, Wireshark crashes.


According to the debugger, it looks like the crashes are caused by accessing
NULL pointer of uat->rep in uat_gui.c.

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