patches/pidgin-09-crash.diff
author hem
Thu, 24 Sep 2009 14:10:04 +0000
branchopensolaris-2009-06
changeset 14342 e74a4a9aa10f
child 17991 678cab58f26b
permissions -rw-r--r--
2009-09-24 Hemantha Holla <[email protected]> * SUNWgnome-im-client.spec: Update %files for 2.6.2 * base-specs/pidgin.spec: Bump to 2.6.2 as fix for 6875021, remove upstreamed patch 08-race-condition and add new patches -08-unlock-keyring, -09 and -10 from trunk. * patches/pidgin-01-gnome-keyring.diff, patches/pidgin-02-uninstalled-pc.diff, patches/pidgin-04-jabber-msg.diff, patches/pidgin-05-option-menu.diff, patches/pidgin-06-parse-account.diff, patches/pidgin-07-menu-entry.diff: Patches updated for 2.6.2 from trunk * patches/pidgin-08-race-condition.diff: Removed, upstreamed * patches/pidgin-08-unlock-keyring.diff, patches/pidgin-09-crash.diff, patches/pidgin-10-crash-when-no-proxy-setting.diff: Patches added from trunk 6875021 msn_slplink_process_msg() is vulnerable to memory corruption and application crash [CVE-2009-2694]

--- pidgin-2.6.1/pidgin/gtksound.c.old	2009-09-03 17:46:19.061118000 +0800
+++ pidgin-2.6.1/pidgin/gtksound.c	2009-09-03 17:46:34.414491000 +0800
@@ -373,7 +373,6 @@
 		/* fall-through and clean up */
 	case GST_MESSAGE_EOS:
 		gst_element_set_state(play, GST_STATE_NULL);
-		gst_object_unref(GST_OBJECT(play));
 		break;
 	case GST_MESSAGE_WARNING:
 		gst_message_parse_warning(msg, &err, NULL);
--- pidgin-2.6.1/finch/gntsound.c.old	2009-09-03 17:46:50.469738000 +0800
+++ pidgin-2.6.1/finch/gntsound.c	2009-09-03 17:47:01.652629000 +0800
@@ -427,7 +427,6 @@
 		/* fall-through and clean up */
 	case GST_MESSAGE_EOS:
 		gst_element_set_state(play, GST_STATE_NULL);
-		gst_object_unref(GST_OBJECT(play));
 		break;
 	case GST_MESSAGE_WARNING:
 		gst_message_parse_warning(msg, &err, NULL);