Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1113045 - Race condition in cupsdReadClient()
Race condition in cupsdReadClient()
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cups (Show other bugs)
7.0
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Tim Waugh
qe-baseos-daemons
: Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-25 06:54 EDT by Tim Waugh
Modified: 2015-03-05 04:08 EST (History)
2 users (show)

See Also:
Fixed In Version: cups-1.6.3-16.el7
Doc Type: Bug Fix
Doc Text:
When the CUPS scheduler reads data from a client, it did not check for data availability in between reading the HTTP headers and the IPP request. This lead to a race condition causing client requests to fail depending on the timing of the data packets. The scheduler now checks for data availability, preventing the race condition.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-05 04:08:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 4440 None None None Never
Red Hat Product Errata RHBA-2015:0386 normal SHIPPED_LIVE cups bug fix and enhancement update 2015-03-05 09:06:04 EST

  None (edit)
Description Tim Waugh 2014-06-25 06:54:50 EDT
Description of problem:
There is a race condition in cupsdReadClient(), fixed upstream.

Version-Release number of selected component (if applicable):
cups-1.6.3-14.el7

How reproducible:
100%

Steps to Reproduce:
Run 'gdb --args lp /etc/fstab' and set a breakpoint on http_write_chunk. Running this through to the breakpoint causes the scheduler to drop the connection with 'IPP read error'.

Actual results:
Bad request

Expected results:
Job submitted after continuing from breakpoint.
Comment 4 errata-xmlrpc 2015-03-05 04:08:56 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0386.html

Note You need to log in before you can comment on or make changes to this bug.