Bug#397833: marked as done (/usr/lib/cups/backend-available/snmp: programming error in snmp.c)
Your message dated Thu, 16 Nov 2006 06:47:22 -0800
with message-id <E1GkiWQ-0007Fr-6W@spohr.debian.org>
and subject line Bug#397833: fixed in cupsys 1.2.6-2
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: cupsys
Version: 1.2.5-1
Severity: normal
File: /usr/lib/cups/backend-available/snmp
Hello,
recently I came across the following bit of code in the source file
cupsys-1.2.6/backend/snmp.c (function probe_device, around line 1755):
if (http);
{
/*
* IPP is supported...
*/
...
}
It looks like the bracketed block is ment to be conditional on the
value of 'http'. But since there is this strange semicolon at the end
of the line with the 'if', the block is executed unconditionally.
I think that this is a bug and that the semicolon should be removed.
I did not check in any way what the implications of the bug are, but
probably this is worth fixing anyway.
I hope this helps,
Jochen
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1
Locale: LANG=en_GB.iso885915, LC_CTYPE=en_GB.iso885915 (charmap=ISO-8859-15)
Versions of packages cupsys depends on:
ii adduser 3.99 Add and remove users and groups
ii cupsys-common 1.2.5-1 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii gs-esp 8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcupsimage2 1.2.5-1 Common UNIX Printing System(tm) -
ii libcupsys2 1.2.5-1 Common UNIX Printing System(tm) -
ii libdbus-1-3 0.94-1 simple interprocess messaging syst
ii libgnutls13 1.4.4-2 the GNU TLS library - runtime libr
ii libldap2 2.1.30-13.1 OpenLDAP libraries
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libpaper1 1.1.20 Library for handling paper charact
ii libslp1 1.2.1-6 OpenSLP libraries
ii lsb-base 3.1-19 Linux Standard Base 3.1 init scrip
ii patch 2.5.9-4 Apply a diff file to an original
ii perl-modules 5.8.8-6.1 Core Perl modules
ii procps 1:3.2.7-3 /proc file system utilities
ii xpdf-utils [poppler-util 3.01-9 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.2.5-1 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20061031-1 linuxprinting.org printer support
pn smbclient <none> (no description available)
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Source: cupsys
Source-Version: 1.2.6-2
We believe that the bug you reported is fixed in the latest version of
cupsys, which is due to be installed in the Debian FTP archive:
cupsys-bsd_1.2.6-2_i386.deb
to pool/main/c/cupsys/cupsys-bsd_1.2.6-2_i386.deb
cupsys-client_1.2.6-2_i386.deb
to pool/main/c/cupsys/cupsys-client_1.2.6-2_i386.deb
cupsys-common_1.2.6-2_all.deb
to pool/main/c/cupsys/cupsys-common_1.2.6-2_all.deb
cupsys-dbg_1.2.6-2_i386.deb
to pool/main/c/cupsys/cupsys-dbg_1.2.6-2_i386.deb
cupsys_1.2.6-2.diff.gz
to pool/main/c/cupsys/cupsys_1.2.6-2.diff.gz
cupsys_1.2.6-2.dsc
to pool/main/c/cupsys/cupsys_1.2.6-2.dsc
cupsys_1.2.6-2_i386.deb
to pool/main/c/cupsys/cupsys_1.2.6-2_i386.deb
libcupsimage2-dev_1.2.6-2_i386.deb
to pool/main/c/cupsys/libcupsimage2-dev_1.2.6-2_i386.deb
libcupsimage2_1.2.6-2_i386.deb
to pool/main/c/cupsys/libcupsimage2_1.2.6-2_i386.deb
libcupsys2-dev_1.2.6-2_i386.deb
to pool/main/c/cupsys/libcupsys2-dev_1.2.6-2_i386.deb
libcupsys2-gnutls10_1.2.6-2_all.deb
to pool/main/c/cupsys/libcupsys2-gnutls10_1.2.6-2_all.deb
libcupsys2_1.2.6-2_i386.deb
to pool/main/c/cupsys/libcupsys2_1.2.6-2_i386.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 397833@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kenshi Muto <kmuto@debian.org> (supplier of updated cupsys 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 14 Nov 2006 22:29:08 +0900
Source: cupsys
Binary: libcupsys2-dev cupsys libcupsys2 libcupsimage2 cupsys-common cupsys-client cupsys-dbg cupsys-bsd libcupsys2-gnutls10 libcupsimage2-dev
Architecture: source i386 all
Version: 1.2.6-2
Distribution: unstable
Urgency: low
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Changed-By: Kenshi Muto <kmuto@debian.org>
Description:
cupsys - Common UNIX Printing System(tm) - server
cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
cupsys-common - Common UNIX Printing System(tm) - common files
cupsys-dbg - Common UNIX Printing System(tm) - debugging symbols
libcupsimage2 - Common UNIX Printing System(tm) - image libs
libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
libcupsys2 - Common UNIX Printing System(tm) - libs
libcupsys2-dev - Common UNIX Printing System(tm) - development files
libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 397833 397842 398574
Changes:
cupsys (1.2.6-2) unstable; urgency=low
.
[ Kenshi Muto ]
* Debconf translation
- Brazillian Portuguese (closes: #397842)
- Basque (closes: #398574)
* 00_r6100: Apply SVN r6100.
- Fixed an inefficiency in the SNMP IPP detection code
(closes: #397833)
Files:
66d29164c45424198927e37fbbf6bf49 1082 net optional cupsys_1.2.6-2.dsc
8ddda0728bce3c647d0db113f6f64097 123197 net optional cupsys_1.2.6-2.diff.gz
926d2d0a9bf1e051357ddb2447e8ab65 44290 libs optional libcupsys2-gnutls10_1.2.6-2_all.deb
ee18f4c1dd7a2e4e2957c9c8a1c8e3e5 875626 net optional cupsys-common_1.2.6-2_all.deb
861b3f0243f410241917004c3592ace3 158364 libs optional libcupsys2_1.2.6-2_i386.deb
43b81478c64aebc22ebb1e06c11a9096 84858 libs optional libcupsimage2_1.2.6-2_i386.deb
8e51df4b6d9c2a4d24b53cbdce12f4c7 1498452 net optional cupsys_1.2.6-2_i386.deb
9983efbbf9ceaf29d8f34e1bc3a8d609 79866 net optional cupsys-client_1.2.6-2_i386.deb
f0710e8786c0c008fcc0e5deeee9916e 137578 libdevel optional libcupsys2-dev_1.2.6-2_i386.deb
27cfc56e0af036f95f056089ba1075d5 53076 libdevel optional libcupsimage2-dev_1.2.6-2_i386.deb
d62bdfb9c2ecc81126780dc63c92e9c2 36226 net extra cupsys-bsd_1.2.6-2_i386.deb
8a90247ba0c47963990ca7eabedc389b 995066 libdevel extra cupsys-dbg_1.2.6-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iEYEARECAAYFAkVceBAACgkQQKW+7XLQPLFSkACcDQ4GXOXqdb/tK2eSz8tqXSpG
xhUAn3IZNDCRxX2wwqr0RgBGntHMugfa
=wmRZ
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: