Bug 8954 - lpd (lpr-0.50-1) does not handle zero-length control files gracefully
Summary: lpd (lpr-0.50-1) does not handle zero-length control files gracefully
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: lpr
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-29 00:10 UTC by John Hardin
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-02-15 14:12:54 UTC
Embargoed:


Attachments (Terms of Use)

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
lprm'd

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


Note You need to log in before you can comment on or make changes to this bug.