[Pkg-utopia-commits] r944 - in packages/unstable/hal/debian: . patches

Sjoerd Simons sjoerd at costa.debian.org
Tue Aug 15 12:18:07 UTC 2006


Author: sjoerd
Date: 2006-08-15 12:18:06 +0000 (Tue, 15 Aug 2006)
New Revision: 944

Added:
   packages/unstable/hal/debian/patches/18_hald_runner_fd_leak.patch
Modified:
   packages/unstable/hal/debian/changelog
Log:
* debian/patches/18_hald_runner_fd_leak.patch 
  - Added. Fix fd leak in hald-runner. Patch by Mike Hommey (Closes: #375143)

Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog	2006-08-15 11:47:34 UTC (rev 943)
+++ packages/unstable/hal/debian/changelog	2006-08-15 12:18:06 UTC (rev 944)
@@ -36,6 +36,8 @@
       (Closes: #361785) (From upstream git)
   * debian/patches/17_fix_dbus_090_build.patch:
     - Added. Fix build with dbus >= 0.90 (From upstream git)
+  * debian/patches/18_hald_runner_fd_leak.patch 
+    - Added. Fix fd leak in hald-runner. Patch by Mike Hommey (Closes: #375143)
 
   [ Sebastian Dröge  ]
   * debian/pycompat,
@@ -46,7 +48,7 @@
     + Bump Standards-Version to 3.7.2
     + Add myself to Uploaders
 
- -- Sjoerd Simons <sjoerd at debian.org>  Tue, 15 Aug 2006 13:33:19 +0200
+ -- Sjoerd Simons <sjoerd at debian.org>  Tue, 15 Aug 2006 14:05:22 +0200
 
 hal (0.5.7-2) unstable; urgency=low
 

Added: packages/unstable/hal/debian/patches/18_hald_runner_fd_leak.patch
===================================================================
--- packages/unstable/hal/debian/patches/18_hald_runner_fd_leak.patch	2006-08-15 11:47:34 UTC (rev 943)
+++ packages/unstable/hal/debian/patches/18_hald_runner_fd_leak.patch	2006-08-15 12:18:06 UTC (rev 944)
@@ -0,0 +1,12 @@
+diff --git a/hald-runner/runner.c b/hald-runner/runner.c
+index a2d1a21..7301233 100644
+--- a/hald-runner/runner.c
++++ b/hald-runner/runner.c
+@@ -163,6 +163,7 @@ run_exited(GPid pid, gint status, gpoint
+ 	if (rd->stderr_v >= 0) {
+ 		/* Need to read stderr */
+ 		error = get_string_array_from_fd(rd->stderr_v);
++		close(rd->stderr_v);
+ 		rd->stderr_v = -1;
+ 	}
+ 	if (rd->msg != NULL)




More information about the Pkg-utopia-commits mailing list