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

Sjoerd Simons sjoerd at costa.debian.org
Mon Feb 13 18:00:03 UTC 2006


Author: sjoerd
Date: 2006-02-13 18:00:02 +0000 (Mon, 13 Feb 2006)
New Revision: 586

Added:
   packages/unstable/hal/debian/patches/05_hald_clear_udev_buffer.patch
Modified:
   packages/unstable/hal/debian/changelog
Log:
* debian/patches/05_hald_clear_udev_buffer.patch 
  + Added. Clear the buffer where udev events are received before using
  (from hal CVS)

Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog	2006-02-12 19:45:55 UTC (rev 585)
+++ packages/unstable/hal/debian/changelog	2006-02-13 18:00:02 UTC (rev 586)
@@ -1,3 +1,11 @@
+hal (0.5.6-4) unstable; urgency=high
+
+  * debian/patches/05_hald_clear_udev_buffer.patch 
+    + Added. Clear the buffer where udev events are received before using
+    (from hal CVS)
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Mon, 13 Feb 2006 18:59:12 +0100
+
 hal (0.5.6-3) unstable; urgency=high
 
   * debian/patches/01_hal_privsep.patch

Added: packages/unstable/hal/debian/patches/05_hald_clear_udev_buffer.patch
===================================================================
--- packages/unstable/hal/debian/patches/05_hald_clear_udev_buffer.patch	2006-02-12 19:45:55 UTC (rev 585)
+++ packages/unstable/hal/debian/patches/05_hald_clear_udev_buffer.patch	2006-02-13 18:00:02 UTC (rev 586)
@@ -0,0 +1,12 @@
+diff -ruN hal-0.5.6-old/hald/linux2/osspec.c hal-0.5.6/hald/linux2/osspec.c
+--- hal-0.5.6-old/hald/linux2/osspec.c	2006-02-13 18:46:22.000000000 +0100
++++ hal-0.5.6/hald/linux2/osspec.c	2006-02-13 18:47:55.000000000 +0100
+@@ -118,6 +118,8 @@
+ 	int ifindex = -1;
+ 	unsigned long long seqnum = 0;
+ 
++	memset(buf, 0x00, sizeof (buf));
++
+ 	fd = g_io_channel_unix_get_fd (source);
+ 
+ 	iov.iov_base = &buf;




More information about the Pkg-utopia-commits mailing list