rpms/control-center/F-12 close-fd-leak.patch, NONE, 1.1 control-center.spec, 1.512, 1.513

Ray Strode rstrode at fedoraproject.org
Tue Jan 5 21:58:55 UTC 2010


Author: rstrode

Update of /cvs/pkgs/rpms/control-center/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30534

Modified Files:
	control-center.spec 
Added Files:
	close-fd-leak.patch 
Log Message:
- Plug fd leak (bug  522195).  Patch by:
  Alex Villacís Lasso (a_villacis at palosanto.com)


close-fd-leak.patch:
 gtkrc-utils.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE close-fd-leak.patch ---
diff -ur gnome-control-center-2.28.1-old/capplets/common/gtkrc-utils.c gnome-control-center-2.28.1/capplets/common/gtkrc-utils.c
--- gnome-control-center-2.28.1-old/capplets/common/gtkrc-utils.c	2009-12-09 16:42:59.000000000 -0500
+++ gnome-control-center-2.28.1/capplets/common/gtkrc-utils.c	2009-12-09 16:46:57.000000000 -0500
@@ -221,6 +221,7 @@
 					result = g_strdup (scanner->value.v_string);
 				}
 			}
+			close(file);
 		}
 	}
 



Index: control-center.spec
===================================================================
RCS file: /cvs/pkgs/rpms/control-center/F-12/control-center.spec,v
retrieving revision 1.512
retrieving revision 1.513
diff -u -p -r1.512 -r1.513
--- control-center.spec	10 Dec 2009 23:21:08 -0000	1.512
+++ control-center.spec	5 Jan 2010 21:58:55 -0000	1.513
@@ -24,7 +24,7 @@
 Summary: Utilities to configure the GNOME desktop
 Name: control-center
 Version: 2.28.1
-Release: 12%{?dist}
+Release: 13%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 Group: User Interface/Desktops
@@ -88,6 +88,10 @@ Patch62: no-duplicate-keybindings-dammit
 # https://bugzilla.gnome.org/show_bug.cgi?id=604295
 Patch63: and-no-wrong-keybindings-either.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=522195
+# https://bugzilla.gnome.org/show_bug.cgi?id=606155
+Patch64: close-fd-leak.patch
+
 # call the Fedora/RHEL graphical passwd changing apps
 Patch95: gnome-control-center-2.25.2-passwd.patch
 Patch96: gnome-control-center-2.25.2-gecos.patch
@@ -236,6 +240,7 @@ for the GNOME desktop.
 %patch60 -p1 -b .override-redirect
 %patch62 -p1 -b .no-duplicate-keybindings
 %patch63 -p1 -b .no-wrong-keybindings
+%patch64 -p1 -b .close-fd-leak
 
 # vendor configuration patches
 %patch95 -p1 -b .passwd
@@ -427,6 +432,10 @@ fi
 
 
 %changelog
+* Tue Jan 05 2010 Ray Strode <rstrode at redhat.com> 2.28.1-13
+- Plug fd leak (bug  522195).  Patch by:
+  Alex Villacís Lasso (a_villacis at palosanto.com)
+
 * Thu Dec 10 2009 Jon McCann <jmccann at redhat.com> 2.28.1-12
 - Update aspect ratio patch (gnome #147808)
 




More information about the fedora-extras-commits mailing list