[cups.bugs] [LOW] STR #2470: No error for incorrect ServerBin

Michael Sweet mike at easysw.com
Fri Aug 10 12:51:11 PDT 2007


[STR Closed w/Resolution]

I took a slightly different approach to a fix - conf.c now has a
CUPSD_VARTYPE_PATHNAME option type, which ServerBin and a handful of other
directives now use to prevent setting of those directives to invalid
values.

In addition, cupsdStartProcess() in process.c now does an access check on
the command before it does the fork/exec dance so that we can get some
early detection of missing files.

A patch is attached...

Link: http://www.cups.org/str.php?L2470
Version: 1.3rc2
Fix Version: 1.3-current (r6783)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: str2470.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20070810/a45de1d5/attachment.ksh>


More information about the cups mailing list