Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ipp backend crashes in some cases when printer unavailable #2667
To avoid the problem of str2656, instead of deleting a printer and defining a class of that name, I changed the printer to print to a new class that contains the real printers. This uncovered a new problem. If the printer in that class that was selected was not accepting jobs, the ipp backend would crash (seg fault on our system).
The problem is in
Note that this statement occurs three times in ipp.c
[I fixed this for our system by deleting the second clause in the "if" statement, but this is not a general solution (we do not use compression).]
--- backend/ipp.c (revision 7247)