From Edward Sheldrake:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 Jan 2012 06:22:56 +0000 (06:22 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 Jan 2012 06:22:56 +0000 (06:22 +0000)
Wireshark crashes if you open the file import dialog and choose something from the "Encapsulation type" list.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6729

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40448 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/file_import_dlg.c

index 5ee9f3f7376b55d775cacd76738f3ae83444e5c3..1d7535d81c24dc0b6c287ceff085fed7eca81019 100644 (file)
@@ -203,7 +203,7 @@ encap_co_changed(GtkComboBox *widget, gpointer data)
 
     if (result)
     {
-        guint8 encap;
+        guint encap;
         GtkTreeModel *model = gtk_combo_box_get_model(widget);
         gtk_tree_model_get(model, &iter, 1, &encap, -1);