[cups.bugs] [MOD] STR #3253: Avoid crashing on bad job control files
twaugh.redhat
twaugh at redhat.com
Mon Jul 6 03:19:33 PDT 2009
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
While debugging a cupsd crash I found that the return value of
cupsdLoadJobs() is not checked before the job is added to the Jobs array,
both in load_job_cache() and in load_request_root().
Here is a patch to fix that.
The original bug report is here:
https://bugzilla.redhat.com/show_bug.cgi?id=509741
including the actual job control file that caused the crash (c00004). The
problem with the file is that job-printer-uri='file:/dev/null'. I haven't
discovered how that might have happened.
Link: http://www.cups.org/str.php?L3253
Version: 1.4rc1
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-load-job-failure.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20090706/724e7deb/attachment.ksh>
More information about the cups-devel
mailing list