[cups.bugs] [HIGH] STR #1290: cupsd crashes because CloseClient does not reset con->pipe_pid

twaugh.redhat twaugh at redhat.com
Wed Oct 5 06:29:25 PDT 2005


[STR New]

When CloseClient is called on an encrypted connection, con->pipe_pid is not
reset but con->file is, and the connection is not destroyed.

Later, in main(), this line segfaults:

     /*
      * Write data as needed...
      */

      if (con->pipe_pid && FD_ISSET(con->file, input))

To cause this to happen, just reload
https://cupsserver:631/printers/testprinter (for example) quickly several
times when /printers has 'Encryption required' in cupsd.conf.

Link: http://www.cups.org/str.php?L1290
Version: 1.1.23
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-pipe_pid.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20051005/98c35cdf/attachment.ksh>


More information about the cups-devel mailing list