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

twaugh.redhat twaugh at redhat.com
Fri Aug 10 03:13:58 PDT 2007


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

[STR New]

If the ServerBin is configured incorrectly (as often seems to happen when
using KDE to configure CUPS), 'lpinfo -v' hangs and gives no response. 
Similarly for 'lpinfo -m'.

Here is a patch to fix that.  It performs a sanity check just before
calling fork(), to make sure that the binary it is about to execute is
executable.

Seen in bug #250840:
  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=250840

Link: http://www.cups.org/str.php?L2470
Version: 1.3rc2
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-command-error.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20070810/d93f64ee/attachment.ksh>


More information about the cups-devel mailing list