diff options
author | root <root@rshg054.dnsready.net> | 2011-09-07 23:14:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-07 23:14:18 +0000 |
commit | e63433d7f10b5c32f348d4b2cfb38c777b314420 (patch) | |
tree | dd2e715c7aa77af456428a1eb7657c369fea9ba2 /libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch | |
parent | 3a9ddbf363ba691ca209ad36485390d14ba3b46f (diff) |
Wed Sep 7 23:14:18 UTC 2011
Diffstat (limited to 'libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch')
-rw-r--r-- | libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch b/libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch new file mode 100644 index 000000000..ab907419d --- /dev/null +++ b/libre/xarchiver-libre/xarchiver-0.5.2-segfault-open-with.patch @@ -0,0 +1,16 @@ +diff -pur xarchiver-0.5.2/src/open-with-dlg.c xarchiver-0.5.2.new/src/open-with-dlg.c +--- xarchiver-0.5.2/src/open-with-dlg.c 2008-10-17 14:06:03.000000000 +0200 ++++ xarchiver-0.5.2.new/src/open-with-dlg.c 2011-05-16 21:48:49.042839556 +0200 +@@ -289,7 +289,10 @@ static void xa_open_with_dialog_selectio + GtkTreeIter iter; + GtkTreeModel *model; + +- gtk_tree_selection_get_selected(selection,&model,&iter); ++ if (!gtk_tree_selection_get_selected(selection,&model,&iter)) { ++ return; ++ } ++ + gtk_tree_model_get(model,&iter,2,&exec,-1); + + gtk_entry_set_text(GTK_ENTRY(data->custom_command_entry),exec); + |