From 1b9f6dc846379470b620b5dbb9d4d7acd1de148c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jan 2013 00:05:59 -0800 Subject: Mon Jan 28 00:05:59 PST 2013 --- community/pidgin-encryption/log_crash.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/pidgin-encryption/log_crash.patch (limited to 'community/pidgin-encryption/log_crash.patch') diff --git a/community/pidgin-encryption/log_crash.patch b/community/pidgin-encryption/log_crash.patch new file mode 100644 index 000000000..a18416144 --- /dev/null +++ b/community/pidgin-encryption/log_crash.patch @@ -0,0 +1,11 @@ +--- pidgin-encryption-3.0.orig/state_ui.c 2007-05-07 02:15:27.000000000 +0200 ++++ pidgin-encryption-3.0.new/state_ui.c 2009-04-26 17:08:02.000000000 +0200 +@@ -268,6 +268,8 @@ + static GtkIMHtmlSmiley * create_smiley_if_absent(GtkIMHtml *imhtml) { + GtkIMHtmlSmiley * smiley; + const char* category = gtk_imhtml_get_protocol_name(imhtml); ++ ++ if (!category) return NULL; + + /* make sure that the category we're about to use to add (based on the protocol name) */ + /* already exists. If it doesn't, just use the default category so it isn't created. */ -- cgit v1.2.3-54-g00ecf