From: msweet Date: Fri, 23 Oct 2015 19:41:38 +0000 (+0000) Subject: Fix infinite loop on bad PUT () X-Git-Tag: v2.2b1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94d4e7f017b34abaa0b3ce91f89b7ca5b621307;p=thirdparty%2Fcups.git Fix infinite loop on bad PUT () git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12917 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES-2.1.txt b/CHANGES-2.1.txt index 84e3a20b8c..c8525b2e53 100644 --- a/CHANGES-2.1.txt +++ b/CHANGES-2.1.txt @@ -4,7 +4,8 @@ CHANGES-2.1.txt CHANGES IN CUPS V2.1.1 - Security hardening fixes (, - , ) + , , + ) - The cupsGetPPD* functions did not work with IPP printers (STR #4725) - Some older HP LaserJet printers need a delayed close when printing using the libusb-based USB backend (STR #4549) diff --git a/scheduler/client.c b/scheduler/client.c index 8299764369..7e23bdb3b0 100644 --- a/scheduler/client.c +++ b/scheduler/client.c @@ -1831,6 +1831,8 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */ } } } + else + break; } while (httpGetState(con->http) == HTTP_STATE_PUT_RECV && httpGetReady(con->http));