[cups.bugs] [MOD] STR #3159: Crash on startup with mime rule expressions in paranthesis using logical AND

Nik Svoboda nsvobo1 at lsu.edu
Wed Apr 8 08:05:51 PDT 2009


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

[STR New]

Many mime rules that:

*begin with an expression in parenthesis,
*have the first expression followed by an AND operator

   will cause a crash in cupsd on startup. The error is "cupsd: Child
exited on signal 11!"
   I have not been able to determine the exact syntax that trips this
error. In some cases, meeting the above conditions for a crash will not
cause a crash.

The following will crash when starting cupsd:
*************************
application/vnd.hp-HPGL         (hpgl) + string(0,<1B>E<1B>%0B)
*************************
application/vnd.hp-HPGL         (hpgl) + \
                                string(0,<1B>E<1B>%0B)
*************************

However, these will not crash
#########################
application/vnd.hp-HPGL         string(0,<1B>E<1B>%0B) + (hpgl)
#########################
application/vnd.hp-HPGL         (hpgl) , string(0,<1B>E<1B>%0B)
#########################
application/vnd.hp-HPGL         hpgl + string(0,<1B>E<1B>%0B)
#########################

Link: http://www.cups.org/str.php?L3159
Version: 1.3.8





More information about the cups mailing list