r16796 - in /desktop/unstable/gdm/debian: changelog patches/51_selinux_memleak.patch patches/series
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Wed Aug 20 13:54:54 UTC 2008
Author: joss
Date: Wed Aug 20 13:54:53 2008
New Revision: 16796
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16796
Log:
51_selinux_memleak.patch: patch from Julien Cristau to fix a memory
leak in the SELinux code.
Added:
desktop/unstable/gdm/debian/patches/51_selinux_memleak.patch
Modified:
desktop/unstable/gdm/debian/changelog
desktop/unstable/gdm/debian/patches/series
Modified: desktop/unstable/gdm/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/changelog?rev=16796&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/changelog (original)
+++ desktop/unstable/gdm/debian/changelog Wed Aug 20 13:54:53 2008
@@ -1,10 +1,15 @@
gdm (2.20.7-2) UNRELEASED; urgency=low
+ [ Loic Minier ]
* Add "status" support to the init script; bump dep on lsb to >= 3.2-14;
taken from Ubuntu.
* Update init script to honor "text" kernel commandline option by not
starting gdm if this word is found in /proc/cmdline; taken from Ubuntu
and added -w flag to grep; LP: #256125.
+
+ [ Josselin Mouette ]
+ * 51_selinux_memleak.patch: patch from Julien Cristau to fix a memory
+ leak in the SELinux code.
-- Loic Minier <lool at dooz.org> Sun, 03 Aug 2008 18:48:50 +0200
Added: desktop/unstable/gdm/debian/patches/51_selinux_memleak.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/51_selinux_memleak.patch?rev=16796&op=file
==============================================================================
--- desktop/unstable/gdm/debian/patches/51_selinux_memleak.patch (added)
+++ desktop/unstable/gdm/debian/patches/51_selinux_memleak.patch Wed Aug 20 13:54:53 2008
@@ -1,0 +1,17 @@
+Index: gdm-2.20.7/daemon/slave.c
+===================================================================
+--- gdm-2.20.7.orig/daemon/slave.c 2008-08-20 15:52:46.379361134 +0200
++++ gdm-2.20.7/daemon/slave.c 2008-08-20 15:52:59.487356494 +0200
+@@ -3546,8 +3546,11 @@
+ if (is_selinux_enabled () <= 0)
+ return TRUE;
+
+- if (getseuserbyname(login, &seuser, &level) == 0)
++ if (getseuserbyname(login, &seuser, &level) == 0) {
+ ret=get_default_context_with_level(seuser, level, 0, &scontext);
++ free(seuser);
++ free(level);
++ }
+
+ if (ret < 0) {
+ gdm_error ("SELinux gdm login: unable to obtain default security context for %s.", login);
Modified: desktop/unstable/gdm/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm/debian/patches/series?rev=16796&op=diff
==============================================================================
--- desktop/unstable/gdm/debian/patches/series (original)
+++ desktop/unstable/gdm/debian/patches/series Wed Aug 20 13:54:53 2008
@@ -7,6 +7,7 @@
46_kde-substitude-uid.patch
47_XKeepsCrashing-restore-keyboard.patch
50_close-fds.patch
+51_selinux_memleak.patch
55_use-theme-gtkrc.patch
56_xnest-wrapper.patch
62_reference-manual-docbook-entity-reference.patch
More information about the pkg-gnome-commits
mailing list