hpps has no error handling

Bug #1521134 reported by Tim Waugh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

The hpps filter has no error handling around os.write() calls. This means a broken pipe will cause a traceback, which gets caught by the system crash handler if one is running, etc.

It would be much better for it to catch errors and exit with one of the exit codes defined by the CUPS Filter interface.

Original report:
  https://bugzilla.redhat.com/show_bug.cgi?id=1286417

Changed in hplip:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.