[cups.bugs] [LOW] STR #2430: phpcups segfaults when given an integer option

Martin Pärtel lagitus at mbnet.fi
Wed Jul 4 19:46:18 PDT 2007


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

[STR New]

The phpcups extension segfaults when cups_print_file is given an option
that is not a real string.

Test case:
<?php
cups_print_file('test', 'test.pdf', '', array('orientation-request' =>
4));
?>

No crash if the 4 is written as '4'.

Link: http://www.cups.org/str.php?L2430
Version: 1.2.11





More information about the cups mailing list