Your message dated Sat, 17 Jun 2006 07:47:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#373764: fixed in usbutils 0.72-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: usbutils
Version: 0.72-3
Severity: important
Tags: patch, upstream

(I reported this to upstream as 
http://sourceforge.net/tracker/index.php?func=detail&aid=1505941&group_id=3581&atid=303581
 but reporting here anyways)

devtree.c (part of lsusb) uses strtoul with '0' for a base
argument to interpret the "T:" lines in
/proc/bus/usb/devices. However, if an entry is '09',
then it gets interepreted as an octal number (due to
the leading '0') but then gets returned as '0' (as '9'
isn't a valid character for an octal number). The
following patch makes devtree.c use base 10 for
interpreting the 'T:' lines.

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (990, 'stable'), (103, 'testing'), (102, 'unstable'), (99, 
'experimental'), (97, 'dapper')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages usbutils depends on:
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libusb-0.1-4                  2:0.1.12-2 userspace USB programming library

usbutils recommends no packages.

-- no debconf information
--- devtree.old.c	2006-06-14 12:48:20.000000000 +0200
+++ devtree.c	2006-06-14 12:48:33.000000000 +0200
@@ -144,19 +144,19 @@
 		switch (start[0]) {
 		case 'T':  /* topology line */
 			if ((cp = strstr(start, "Dev#="))) {
-				devnum = strtoul(cp + 5, NULL, 0);
+				devnum = strtoul(cp + 5, NULL, 10);
 			} else
 				devnum = 0;
 			if ((cp = strstr(start, "Bus="))) {
-				busnum = strtoul(cp + 4, NULL, 0);
+				busnum = strtoul(cp + 4, NULL, 10);
 			} else
 				busnum = 0;
 			if ((cp = strstr(start, "Prnt="))) {
-				parentdevnum = strtoul(cp + 5, NULL, 0);
+				parentdevnum = strtoul(cp + 5, NULL, 10);
 			} else
 				parentdevnum = 0;
 			if ((cp = strstr(start, "Lev="))) {
-				level = strtoul(cp + 4, NULL, 0);
+				level = strtoul(cp + 4, NULL, 10);
 			} else
 				level = 0;
 			if (strstr(start, "Spd=1.5"))

--- End Message ---
--- Begin Message ---
Source: usbutils
Source-Version: 0.72-4

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

usbutils-udeb_0.72-4_amd64.udeb
  to pool/main/u/usbutils/usbutils-udeb_0.72-4_amd64.udeb
usbutils_0.72-4.diff.gz
  to pool/main/u/usbutils/usbutils_0.72-4.diff.gz
usbutils_0.72-4.dsc
  to pool/main/u/usbutils/usbutils_0.72-4.dsc
usbutils_0.72-4_amd64.deb
  to pool/main/u/usbutils/usbutils_0.72-4_amd64.deb



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.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated usbutils 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.7
Date: Sat, 17 Jun 2006 16:15:32 +0200
Source: usbutils
Binary: usbutils usbutils-udeb
Architecture: source amd64
Version: 0.72-4
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description: 
 usbutils   - USB console utilities
 usbutils-udeb - USB console utilities (udeb)
Closes: 373764
Changes: 
 usbutils (0.72-4) unstable; urgency=low
 .
   * Fix the parsing of bus number >= 08 in tree mode (closes: bug#373764).
Files: 
 4d6487c098ae4fdb3d09c924e5f34ec9 621 utils optional usbutils_0.72-4.dsc
 7e060c27cc63144fba7deb08bc497bbd 13627 utils optional usbutils_0.72-4.diff.gz
 edac5ef16f44b043f716390eee6d3746 106644 utils optional 
usbutils_0.72-4_amd64.deb
 ff7b8d2b681e5d5d238da79c5634769a 85294 debian-installer optional 
usbutils-udeb_0.72-4_amd64.udeb
Package-Type: udeb

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

iD8DBQFElBUww3ao2vG823MRAgpVAKCIA/5EAsuwMAt3goKZgHfeu5c9lQCbB23H
fAjZ+k/T0/GGm75SUzpLokE=
=duMl
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to