[cups.bugs] [MOD] STR #2781: Some more problems with CGI handling

twaugh.redhat twaugh at redhat.com
Fri Apr 9 09:03:21 PDT 2010


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

[STR Closed w/Resolution]

Hasn't this broken the PATH_INFO environment variable now?  This test can
now never be satisfied:

  if (options)
    strlcpy(argbuf, options, sizeof(argbuf));
  else
    argbuf[0] = '\0';

  if (argbuf[0] == '/')
  {
   /*
    * Found some trailing path information, set PATH_INFO...
    */
    [...]

because argbuf[0] will always be '\0' or ' '.

Link: http://www.cups.org/str.php?L2781
Version: 1.3-current
Fix Version: 1.4-current (r7526)





More information about the cups-devel mailing list