[cups.bugs] Re: [HIGH] STR #1714: STR #1699 not completely resolved

The Written Word bugs-cups at thewrittenword.com
Sun May 21 21:09:07 PDT 2006


[STR New]

After applying the patch for scheduler/client.c, CUPS now generates the
following backtrace:
  [1] strlen(0x809e4d5, 0x8039fdc, 0x8039f90, 0x0), at 0xfeba4acc 
  [2] vsnprintf(0x80cd458, 0x2000, 0x809e4a4, 0x8039fdc), at 0xfebfd1bb 
=>[3] cupsdLogMessage(level = 9, message = 0x809e4a4 "cupsdIsAuthorized:
con->uri="%s", con->best=%p(%s)", ... = 0x8115a22, ...), line 213 in
"log.c"
  [4] cupsdIsAuthorized(con = 0x81129f8, owner = (nil)), line 1500 in
"auth.c"
  [5] cupsdCheckPolicy(p = 0x80c6280, con = 0x81129f8, owner = (nil)),
line 217 in "policy.c"
  [6] get_printers(con = 0x81129f8, type = 0), line 5770 in "ipp.c"
  [7] cupsdProcessIPPRequest(con = 0x81129f8), line 523 in "ipp.c"
  [8] cupsdReadClient(con = 0x81129f8), line 1854 in "client.c"
  [9] main(argc = 2, argv = 0x8047710), line 901 in "main.c"

This is because con->best->location = 0x00 and scheduler/auth.c, ~line
1500, has:
  cupsdLogMessage(CUPSD_LOG_DEBUG2,
                  "cupsdIsAuthorized: con->uri=\"%s\", con->best=%p(%s)",
                  con->uri, con->best, con->best ? con->best->location :
"");

Link: http://www.cups.org/str.php?L1714
Version: 1.2.0





More information about the cups mailing list