tags 583371 + patch
tags 583371 + pending
thanks

Dear maintainer,

I've prepared an NMU for nut (versioned as 2.4.3-1.1) and
uploaded it to DELAYED/2, as suggested by section 5.11.1 of the
Developer's Reference. Please feel free to tell me if I
should delay it longer.

This applies the same patch from upstream/Ubuntu.

Regards,

Tim Retout

diff -u nut-2.4.3/debian/changelog nut-2.4.3/debian/changelog
--- nut-2.4.3/debian/changelog
+++ nut-2.4.3/debian/changelog
@@ -1,3 +1,11 @@
+nut (2.4.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * drivers/libhid.c: Apply r2407 from upstream to fix bug with some
+    low speed UPS devices. (Closes: #583371)
+
+ -- Tim Retout <dioc...@debian.org>  Fri, 15 Oct 2010 19:31:39 +0100
+
 nut (2.4.3-1) unstable; urgency=low
 
   * New upstream release (Closes: #544390, #528222, #539747, #526811,
only in patch2:
unchanged:
--- nut-2.4.3.orig/drivers/libhid.c
+++ nut-2.4.3/drivers/libhid.c
@@ -141,7 +141,7 @@
 {
        int     id = pData->ReportID;
        int     r;
-       unsigned char   buf[SMALLBUF];
+       unsigned char   buf[8];
 
        if (rbuf->ts[id] + age > time(NULL)) {
                /* buffered report is still good; nothing to do */
@@ -469,7 +469,7 @@
  */
 int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize)
 {
-       unsigned char   buf[SMALLBUF];
+       unsigned char   buf[8];
        int             itemCount = 0;
        int             buflen, r, i;
        HIDData_t       *pData;



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to