[cups.bugs] [LOW] STR #2100: programming error? in snmp.c

kmuto.debian kmuto at debian.org
Tue Nov 14 05:59:18 PST 2006


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE
LINK BELOW.

[STR New]

Hi,
This STR is as same as Debian#397833,

backend/snmp.c 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.

Link: http://www.cups.org/str.php?L2100
Version: 1.2.6





More information about the cups mailing list