summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/xchat-gnome/files/xchat-gnome-0.7-segfault.patch')
-rw-r--r--net-irc/xchat-gnome/files/xchat-gnome-0.7-segfault.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-irc/xchat-gnome/files/xchat-gnome-0.7-segfault.patch b/net-irc/xchat-gnome/files/xchat-gnome-0.7-segfault.patch
new file mode 100644
index 000000000000..47fdfe4ca8fa
--- /dev/null
+++ b/net-irc/xchat-gnome/files/xchat-gnome-0.7-segfault.patch
@@ -0,0 +1,14 @@
+Index: navigation-tree.c
+===================================================================
+--- src/fe-gnome/navigation-tree.c (revision 9810)
++++ src/fe-gnome/navigation-tree.c (working copy)
+@@ -1060,6 +1060,9 @@
+ gpointer *s;
+ session *sess;
+
++ if (gui.server_tree == NULL)
++ return;
++
+ treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml, "userlist"));
+
+ if (gui.server_tree->current_path != NULL)