[Pidgin] #6821: crash in gtkblist.c, 2.5.0
Pidgin
trac at pidgin.im
Wed Aug 27 11:24:57 EDT 2008
#6821: crash in gtkblist.c, 2.5.0
------------------+---------------------------------------------------------
Reporter: jts | Type: defect
Status: new | Component: pidgin (gtk)
Version: 2.5.0 | Keywords:
------------------+---------------------------------------------------------
2.5.0 crashes when adding buddy due to null pointer dereference in code
added since 2.4.3 to add_buddy_cb() in gtkblist.c. Patch below.
{{{
--- gtkblist.c_2.4.3 2008-08-27 11:15:04.177102000 -0400
+++ gtkblist.c 2008-08-26 17:37:34.998253000 -0400
@@ -6484,5 +6484,5 @@
/* Offer to merge people with the same alias. */
- if (whoalias != NULL)
+ if (whoalias != NULL && g != NULL)
gtk_blist_auto_personize((PurpleBlistNode *)g,
whoalias);
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/6821>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list