Your message dated Mon, 06 Sep 2010 16:49:35 +0000
with message-id <[email protected]>
and subject line Bug#595648: fixed in libkqueue 0.9.2-2
has caused the Debian Bug report #595648,
regarding libkqueue0: typo in EV_RECEIPT implementation returns random errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
595648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libkqueue0
Version: 0.9.2-1
Severity: serious
Tags: patch

Hi,

A typo in the code copying kevents from the changelist to the eventlist
in kevent_copyin() leads to events with EV_RECEIPT having a non-zero data
field.

This breaks libdispatch in interesting ways under the right circumstances,
effectively putting a halt to event processing.

Patch attached, replace errno with status when setting the data field.

Thanks,

JB.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=C, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libkqueue0 depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

libkqueue0 recommends no packages.

libkqueue0 suggests no packages.

-- no debconf information
diff --git a/src/common/kevent.c b/src/common/kevent.c
index 30bbc0f..c43a31c 100644
--- a/src/common/kevent.c
+++ b/src/common/kevent.c
@@ -219,7 +219,7 @@ kevent_copyin(struct kqueue *kq, const struct kevent *src, int nchanges,
 err_path:
         if (nevents > 0) {
             memcpy(eventlist, src, sizeof(*src));
-            eventlist->data = errno;
+            eventlist->data = status;
             nevents--;
             eventlist++;
             nret++;

--- End Message ---
--- Begin Message ---
Source: libkqueue
Source-Version: 0.9.2-2

We believe that the bug you reported is fixed in the latest version of
libkqueue, which is due to be installed in the Debian FTP archive:

libkqueue-dev_0.9.2-2_amd64.deb
  to main/libk/libkqueue/libkqueue-dev_0.9.2-2_amd64.deb
libkqueue0_0.9.2-2_amd64.deb
  to main/libk/libkqueue/libkqueue0_0.9.2-2_amd64.deb
libkqueue_0.9.2-2.diff.gz
  to main/libk/libkqueue/libkqueue_0.9.2-2.diff.gz
libkqueue_0.9.2-2.dsc
  to main/libk/libkqueue/libkqueue_0.9.2-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Heily <[email protected]> (supplier of updated libkqueue package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 05 Sep 2010 13:57:45 -0400
Source: libkqueue
Binary: libkqueue0 libkqueue-dev
Architecture: source amd64
Version: 0.9.2-2
Distribution: unstable
Urgency: low
Maintainer: Mark Heily <[email protected]>
Changed-By: Mark Heily <[email protected]>
Description: 
 libkqueue-dev - Development files for libkqueue
 libkqueue0 - cross-platform library for kernel event notification
Closes: 595648
Changes: 
 libkqueue (0.9.2-2) unstable; urgency=low
 .
   * Apply patch to fix a bug in EV_RECEIPT (Closes: #595648)
Checksums-Sha1: 
 ddf6096ed8c2c5742e0601cedfba978f3decf33c 1042 libkqueue_0.9.2-2.dsc
 cbdedaffe4a4cdbcdd9c8f7217a27821bb7ad184 2841 libkqueue_0.9.2-2.diff.gz
 cc62f13c8d90be7077d397c902efe475dd96d31e 24666 libkqueue0_0.9.2-2_amd64.deb
 3266e91be4de9c8ac35b8b7c2fdceccbe7f28167 38826 libkqueue-dev_0.9.2-2_amd64.deb
Checksums-Sha256: 
 ed9290357e894cd97474602d6caf1ede95a23bea684a8fd1f088803f176dc601 1042 
libkqueue_0.9.2-2.dsc
 93eb6afc6b4e995e6021726530a04a2ad389e49a32342dd6859e4011373bfc6c 2841 
libkqueue_0.9.2-2.diff.gz
 8b4df7c63a5eace0a7ec2f9f8fbbec6c4d5df86a20d5aa54201e52225412dfdf 24666 
libkqueue0_0.9.2-2_amd64.deb
 6683644640668d312cc27a922b21a09ebb99d4a589398e191887022d4798d8bf 38826 
libkqueue-dev_0.9.2-2_amd64.deb
Files: 
 9e2a0bc30614ac7745521b15517a3093 1042 libs extra libkqueue_0.9.2-2.dsc
 d8bc61b728e48709b1d033248a7e9f93 2841 libs extra libkqueue_0.9.2-2.diff.gz
 af3c53526c67b7f4b779a8270be1604d 24666 libs extra libkqueue0_0.9.2-2_amd64.deb
 c276013fb9c2415fa946ccb0f43d6476 38826 libdevel extra 
libkqueue-dev_0.9.2-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFMhRdkzWFP1/XWUWkRAmX0AKDaGvBQhykg7lqAyNPkdOgP4hCBWACfZNFz
1vugP/xIZafwSm1WZFbCZqk=
=rNf0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to