Red Hat Bugzilla – Bug 4957
lpd does not handle remote requests properly
Last modified: 2008-05-01 11:37:51 EDT
I tried this before, but it seems to have gotten lost...
lpd attempts to create a null file, because a mktemp(3) call
fails since a memcpy apparently leaves the string without
six X charaters at the end of the string. In this situation
mktemp(3) returns a NULL string. I have a patch, but
bugzilla says I should refer a bug number.
*** Bug 4949 has been marked as a duplicate of this bug. ***
lpd does not spool remote requests properly, because it is
trying to create a temprorary file, but fails. Upon further
inspection, it is because of a mktemp(3) call returning
NULL, and then an attempt to create a file with this name.
This, of course, fails and the print job is not spooled
correctly, causing it not to print. I have a patch, but
bugzilla wants there to be a bug report before submiting a
------- Additional Comments From firstname.lastname@example.org 09/07/99 13:10 -------
Can you please attach your patch now?This has already been fixed in the latest lpd in Raw Hide.