hpps has no error handling

Bug #1521134 reported by Tim Waugh on 2015-11-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
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  Edit
Everyone can see this information.

Other bug subscribers