rpms/gdm/F-8 gdm-2.20.3-cap-user-list-length.patch, NONE, 1.1 gdm.spec, 1.317, 1.318

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Mon Mar 10 15:49:08 UTC 2008


Author: rstrode

Update of /cvs/pkgs/rpms/gdm/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16937

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.20.3-cap-user-list-length.patch 
Log Message:
- Cap user list to 1000 users (bug 383051)


gdm-2.20.3-cap-user-list-length.patch:

--- NEW FILE gdm-2.20.3-cap-user-list-length.patch ---
diff -up gdm-2.20.3/gui/gdmuser.c.cap-user-list-length gdm-2.20.3/gui/gdmuser.c
--- gdm-2.20.3/gui/gdmuser.c.cap-user-list-length	2008-03-10 11:43:49.000000000 -0400
+++ gdm-2.20.3/gui/gdmuser.c	2008-03-10 11:43:53.000000000 -0400
@@ -266,7 +266,7 @@ setup_user (struct passwd *pwent,
 	    gboolean read_faces)
 {
     GdmUser *user;
-    int cnt = 0;
+    static int cnt = 0;
 
     if (pwent->pw_shell && 
 	gdm_check_shell (pwent->pw_shell) &&


Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/F-8/gdm.spec,v
retrieving revision 1.317
retrieving revision 1.318
diff -u -r1.317 -r1.318
--- gdm.spec	8 Jan 2008 15:35:28 -0000	1.317
+++ gdm.spec	10 Mar 2008 15:48:30 -0000	1.318
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.20.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -65,6 +65,9 @@
 # FIXME need to file upstream and get fixed in 2.20
 Patch44: gdm-2.18.4-tcp-wrappers.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=383051
+Patch45: gdm-2.20.3-cap-user-list-length.patch
+
 Patch100: gdm-2.20.2-change-defaults.patch
 Patch101: stupid-bullets.patch
 
@@ -154,6 +157,7 @@
 %patch41 -p1 -b .pixbuf-ref
 %patch43 -p1 -b .keymouselistener-segfault
 %patch44 -p1 -b .tcp-wrappers
+%patch45 -p1 -b .cap-user-list-length
 
 %patch100 -p1 -b .change-defaults
 %patch101 -p1 -b .stupid-bullets
@@ -368,6 +372,9 @@
 %{_datadir}/pixmaps/faces/extras/*.jpg
 
 %changelog
+* Mon Mar 10 2008 Ray Strode <rstrode at redhat.com> - 1:2.20.3-2
+- Cap user list to 1000 users (bug 383051)
+
 * Tue Jan 08 2008 - Bastien Nocera <bnocera at redhat.com> - 1:2.20.3-1
 - Update to 2.20.3
 - Remove obsolete patches




More information about the fedora-extras-commits mailing list