Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
libcups can busy loop #315
The above bug report contains detailed information about this bug, including source level debugging sessions.
In short, libcups can busy-loop inside ipp_read. It isn't clear what circumstances trigger this.
CUPS.org User: twaugh.redhat
cups-1.1.17-loop.patch seems to be the relevant bit of the 1.1.18->1.1.19 patch. This patch presumes that the STR75 patch has already been applied.
Does it look okay? (It replaces the patch you originally objected to.)
--- cups-1.1.17/cups/ipp.c.loop 2003-10-14 16:27:00.000000000 +0100
for (tbytes = 0, bytes = 0; tbytes < length; tbytes += bytes, buffer += bytes)