pidgin: 3817e0ac: *** Plucked rev 081986627877141e126dc3bc...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Feb 15 17:30:48 EST 2012


----------------------------------------------------------------------
Revision: 3817e0ac811feb336fd6e4b205e3f8d873a3974a
Parent:   555badc59f0096515a4de142b15d414bafe2235b
Author:   darkrain42 at pidgin.im
Date:     02/15/12 17:29:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3817e0ac811feb336fd6e4b205e3f8d873a3974a

Changelog: 

*** Plucked rev 081986627877141e126dc3bcd9b0ab5063e96e83 (darkrain42 at pidgin.im):
gtkdisco: Prevent a NULL dereference crash

Changes against parent 555badc59f0096515a4de142b15d414bafe2235b

  patched  pidgin/plugins/disco/gtkdisco.c

-------------- next part --------------
============================================================
--- pidgin/plugins/disco/gtkdisco.c	fc4d7d8bcbf24fa130fc87cd95bdd36f8256ea78
+++ pidgin/plugins/disco/gtkdisco.c	cb204760636ce65be4e4201ac11d0677ecdffe13
@@ -462,6 +462,8 @@ disco_create_tooltip(GtkWidget *tipwindo
 	gtk_tree_model_get_value(GTK_TREE_MODEL(pdl->model), &iter, SERVICE_COLUMN,
 	                         &val);
 	service = g_value_get_pointer(&val);
+	if (!service)
+		return FALSE;
 
 	switch (service->type) {
 		case XMPP_DISCO_SERVICE_TYPE_UNSET:


More information about the Commits mailing list