Bug 8954

Summary: lpd (lpr-0.50-1) does not handle zero-length control files gracefully
Product: [Retired] Red Hat Raw Hide Reporter: John Hardin <johnh>
Component: lprAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-15 14:12:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Hardin 2000-01-29 00:10:06 UTC
If a print job with a zero-length control file is somehow created, lpd
attempts to print the job and dies.

lpd should either ignore or clean up the print job without dying.

Comment 1 Bill Nottingham 2000-01-31 05:12:59 UTC
lpr-0.50-1 dies in general if looked at funny. Does it persist
in 0.50-2 as well?

Comment 2 John Hardin 2000-01-31 20:27:59 UTC
Yes, the problem persists in lpr-0.50-2

lpq does not report any job information and pauses for a long time. It should
report "Empty control file" or some such, and the job number, so that it can be

lpd deletes the control file (but not the data file) and dies.

Comment 3 Bernhard Rosenkraenzer 2000-02-15 14:12:59 UTC
Try 0.50-4