* [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-session/files: gnome-session-3.8.4-presence-crash.patch gnome-session-3.8.4-blacklist-nv25.patch gnome-session-3.6.2-upower.patch gnome-session-3.8.2.1-filter-nodisplay.patch
@ 2013-11-13 19:43 Pacho Ramos (pacho)
0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2013-11-13 19:43 UTC (permalink / raw
To: gentoo-commits
pacho 13/11/13 19:43:26
Added: gnome-session-3.8.4-presence-crash.patch
gnome-session-3.8.4-blacklist-nv25.patch
Removed: gnome-session-3.6.2-upower.patch
gnome-session-3.8.2.1-filter-nodisplay.patch
Log:
Fix a possible crash in the presence interface (from 3.8 branch), blacklist nv25 (from 'master').
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.1 gnome-base/gnome-session/files/gnome-session-3.8.4-presence-crash.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/gnome-session-3.8.4-presence-crash.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/gnome-session-3.8.4-presence-crash.patch?rev=1.1&content-type=text/plain
Index: gnome-session-3.8.4-presence-crash.patch
===================================================================
From 90714db611d6ced5202421ef3ba99334f1e9e6ec Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Fri, 01 Nov 2013 20:30:06 +0000
Subject: Fix a possible crash in the presence interface
Improper error handling in gsm_presence_set_status_text() would
lead to a double free on the next call to that function.
Found using the dfuzzer tool,
https://github.com/matusmarhefka/dfuzzer
---
diff --git a/gnome-session/gsm-presence.c b/gnome-session/gsm-presence.c
index f6a022f..93ca1a0 100644
--- a/gnome-session/gsm-presence.c
+++ b/gnome-session/gsm-presence.c
@@ -365,6 +365,7 @@ gsm_presence_set_status_text (GsmPresence *presence,
g_return_val_if_fail (GSM_IS_PRESENCE (presence), FALSE);
g_free (presence->priv->status_text);
+ presence->priv->status_text = NULL;
/* check length */
if (status_text != NULL && strlen (status_text) > MAX_STATUS_TEXT) {
@@ -377,11 +378,11 @@ gsm_presence_set_status_text (GsmPresence *presence,
if (status_text != NULL) {
presence->priv->status_text = g_strdup (status_text);
- } else {
- presence->priv->status_text = g_strdup ("");
}
+
g_object_notify (G_OBJECT (presence), "status-text");
- g_signal_emit (presence, signals[STATUS_TEXT_CHANGED], 0, presence->priv->status_text);
+ g_signal_emit (presence, signals[STATUS_TEXT_CHANGED], 0,
+ presence->priv->status_text ? presence->priv->status_text : "");
return TRUE;
}
@@ -457,7 +458,7 @@ gsm_presence_get_property (GObject *object,
g_value_set_uint (value, self->priv->status);
break;
case PROP_STATUS_TEXT:
- g_value_set_string (value, self->priv->status_text);
+ g_value_set_string (value, self->priv->status_text ? self->priv->status_text : "");
break;
case PROP_IDLE_ENABLED:
g_value_set_boolean (value, self->priv->idle_enabled);
--
cgit v0.9.2
1.1 gnome-base/gnome-session/files/gnome-session-3.8.4-blacklist-nv25.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/gnome-session-3.8.4-blacklist-nv25.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/gnome-session-3.8.4-blacklist-nv25.patch?rev=1.1&content-type=text/plain
Index: gnome-session-3.8.4-blacklist-nv25.patch
===================================================================
From f11f157d507495589b0f4930f4fcc431c87bc121 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com>
Date: Tue, 12 Nov 2013 13:32:45 +0000
Subject: data: blacklist nv25
It doesn't work very well.
https://bugzilla.gnome.org/show_bug.cgi?id=711347
---
diff --git a/data/hardware-compatibility b/data/hardware-compatibility
index 927ba8b..48b7946 100644
--- a/data/hardware-compatibility
+++ b/data/hardware-compatibility
@@ -27,3 +27,6 @@
# Gallium has softpipe; we explicitly enable llvmpipe
-softpipe
+
+# nouveau vieux NV25 doesn't work too well
+-Mesa DRI nv25
--
cgit v0.9.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-13 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 19:43 [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-session/files: gnome-session-3.8.4-presence-crash.patch gnome-session-3.8.4-blacklist-nv25.patch gnome-session-3.6.2-upower.patch gnome-session-3.8.2.1-filter-nodisplay.patch Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox