Blame wireshark-import-crash.patch
|
Jan Safranek |
234691 |
773290 - crashes on using combo box in import dialog
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
commit b313621b783a20281c32ccc11625bf08d6f88048
|
|
Jan Safranek |
234691 |
Author: etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
|
|
Jan Safranek |
234691 |
Date: Fri Jan 13 06:22:56 2012 +0000
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
From Edward Sheldrake:
|
|
Jan Safranek |
234691 |
Wireshark crashes if you open the file import dialog and choose something from the "Encapsulation type" list.
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6729
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40448 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
diff --git a/gtk/file_import_dlg.c b/gtk/file_import_dlg.c
|
|
Jan Safranek |
234691 |
index 5ee9f3f..1d7535d 100644
|
|
Jan Safranek |
234691 |
--- a/gtk/file_import_dlg.c
|
|
Jan Safranek |
234691 |
+++ b/gtk/file_import_dlg.c
|
|
Jan Safranek |
234691 |
@@ -203,7 +203,7 @@ encap_co_changed(GtkComboBox *widget, gpointer data)
|
|
Jan Safranek |
234691 |
|
|
Jan Safranek |
234691 |
if (result)
|
|
Jan Safranek |
234691 |
{
|
|
Jan Safranek |
234691 |
- guint8 encap;
|
|
Jan Safranek |
234691 |
+ guint encap;
|
|
Jan Safranek |
234691 |
GtkTreeModel *model = gtk_combo_box_get_model(widget);
|
|
Jan Safranek |
234691 |
gtk_tree_model_get(model, &iter, 1, &encap, -1);
|
|
Jan Safranek |
234691 |
|