libcups: avoid race condition when sending IPP requests (STR #4386).
This commit is contained in:
parent
3933cbca34
commit
fb3a0f4a71
12
cups-str4386.patch
Normal file
12
cups-str4386.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up cups-1.7.1/cups/request.c.str4386 cups-1.7.1/cups/request.c
|
||||||
|
--- cups-1.7.1/cups/request.c.str4386 2013-07-23 13:33:52.000000000 +0100
|
||||||
|
+++ cups-1.7.1/cups/request.c 2014-03-06 10:58:39.018807898 +0000
|
||||||
|
@@ -261,7 +261,7 @@ cupsDoIORequest(http_t *http, /* I -
|
||||||
|
* Get the server's response...
|
||||||
|
*/
|
||||||
|
|
||||||
|
- if (status != HTTP_STATUS_ERROR)
|
||||||
|
+ if (status <= HTTP_STATUS_CONTINUE)
|
||||||
|
{
|
||||||
|
response = cupsGetResponse(http, resource);
|
||||||
|
status = httpGetStatus(http);
|
@ -70,6 +70,7 @@ Patch42: cups-synconclose.patch
|
|||||||
Patch43: cups-avahi-browse.patch
|
Patch43: cups-avahi-browse.patch
|
||||||
Patch44: cups-str4380.patch
|
Patch44: cups-str4380.patch
|
||||||
Patch45: cups-str4366.patch
|
Patch45: cups-str4366.patch
|
||||||
|
Patch46: cups-str4386.patch
|
||||||
|
|
||||||
Patch100: cups-lspp.patch
|
Patch100: cups-lspp.patch
|
||||||
|
|
||||||
@ -269,6 +270,8 @@ Sends IPP requests to the specified URI and tests and/or displays the results.
|
|||||||
%patch44 -p1 -b .str4380
|
%patch44 -p1 -b .str4380
|
||||||
# Prevent feedback loop when fetching error_log over HTTP (STR #4366).
|
# Prevent feedback loop when fetching error_log over HTTP (STR #4366).
|
||||||
%patch45 -p1 -b .str4366
|
%patch45 -p1 -b .str4366
|
||||||
|
# libcups: avoid race condition when sending IPP requests (STR #4386).
|
||||||
|
%patch46 -p1 -b .str4386
|
||||||
|
|
||||||
%if %lspp
|
%if %lspp
|
||||||
# LSPP support.
|
# LSPP support.
|
||||||
@ -650,6 +653,7 @@ rm -f %{cups_serverbin}/backend/smb
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 6 2014 Tim Waugh <twaugh@redhat.com> - 1:1.7.1-6
|
* Thu Mar 6 2014 Tim Waugh <twaugh@redhat.com> - 1:1.7.1-6
|
||||||
|
- libcups: avoid race condition when sending IPP requests (STR #4386).
|
||||||
- Prevent feedback loop when fetching error_log over HTTP (STR #4366).
|
- Prevent feedback loop when fetching error_log over HTTP (STR #4366).
|
||||||
|
|
||||||
* Wed Mar 5 2014 Tim Waugh <twaugh@redhat.com> - 1:1.7.1-5
|
* Wed Mar 5 2014 Tim Waugh <twaugh@redhat.com> - 1:1.7.1-5
|
||||||
|
Loading…
Reference in New Issue
Block a user