Wireshark-bugs: [Wireshark-bugs] [Bug 4306] New: Wireshark GUI crash on list of interfaces

Date: Tue, 8 Dec 2009 07:13:42 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4306

           Summary: Wireshark GUI crash on list of interfaces
           Product: Wireshark
           Version: 1.2.4
          Platform: Other
        OS/Version: Fedora
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: rvokal@xxxxxxxxxx


Build Information:
Compiled with GTK+ 2.16.6, with GLib 2.20.5, with libpcap 0.9.8, with libz
1.2.3, without POSIX capabilities, with libpcre 7.8, with SMI 0.4.8, without
c-ares, without ADNS, without Lua, with GnuTLS 2.6.6, with Gcrypt 1.4.4, with
MIT Kerberos, without GeoIP, with PortAudio V19-devel (built Feb 26 2009),
without AirPcap.

Running on Linux 2.6.30.9-102.fc11.i586, with libpcap version 0.9.8, GnuTLS
2.6.6, Gcrypt 1.4.4.

Built using gcc 4.4.1 20090725 (Red Hat 4.4.1-2).
--
Few Fedora users complained about GUI crash on x86_64 machine where the
protocol list generation fails. See backtrace fe. here
https://bugzilla.redhat.com/attachment.cgi?id=376233

I was not able to reproduce this issue, although this quick hack solved issue
for one user (I didn't investigate that futher)
--- wireshark-1.2.4/gtk/filter_autocomplete.c.proto-list    2009-12-08
16:00:11.000000000 +0100
+++ wireshark-1.2.4/gtk/filter_autocomplete.c    2009-12-08 16:01:44.000000000
+0100
@@ -619,6 +619,8 @@ build_autocompletion_list(GtkWidget *fil
   gboolean exact_match = FALSE;
   const gchar *first = NULL;
   int i;
+    
+ if (protocol_name == NULL) return FALSE;

   protocol_name_len = (unsigned int) strlen(protocol_name);

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