[cups.bugs] [MOD] STR #3312: admin.cgi crashes when modifying class

twaugh.redhat twaugh at redhat.com
Thu Aug 27 08:31:23 PDT 2009


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

[STR New]

When modifying a class, admin.c crashes on line 640
   for (ptr = name; *ptr; ptr ++)
because name is NULL pointer.

The problem is that form variable PRINTER_NAME is not defined because
there's missing line
<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
in templates/modify-class.tmpl.

Original bug report:
  https://bugzilla.redhat.com/show_bug.cgi?id=519724

Problem discovered and fixed by Jiri Popelka.

Link: http://www.cups.org/str.php?L3312
Version: 1.4rc1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fixed-admin.cgi-crash-when-modifying-class.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20090827/d7e44ef8/attachment.ksh>


More information about the cups-devel mailing list