Bug 978387 - Bad IPP responses with version 2.0 (collection handling bug)
Bad IPP responses with version 2.0 (collection handling bug)
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cups (Show other bugs)
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Tim Waugh
Depends On:
Blocks: 978427
  Show dependency treegraph
Reported: 2013-06-26 09:58 EDT by Tim Waugh
Modified: 2014-10-14 03:31 EDT (History)
1 user (show)

See Also:
Fixed In Version: cups-1.4.2-53.el6
Doc Type: Bug Fix
Doc Text:
When a client requests IPP version 2.0, incorrect IPP data would be sent when attributes were part of a collection. A fix for this has been backported from a later version.
Story Points: ---
Clone Of:
Last Closed: 2014-10-14 03:31:14 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
cups-str3521.patch (3.68 KB, patch)
2013-06-26 10:00 EDT, Tim Waugh
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
CUPS Bugs and Features 3521 None None None Never
Red Hat Product Errata RHSA-2014:1388 normal SHIPPED_LIVE Moderate: cups security and bug fix update 2014-10-13 21:21:38 EDT

  None (edit)
Description Tim Waugh 2013-06-26 09:58:28 EDT
Description of problem:
When using IPP/2.0 (from e.g. Fedora 19), a bug in the IPP writing code for 'collection' attribute types can cause incorrect data to be sent back in response to, for example, a printer attributes query.

In particular, the IPP data sent is shorter than the HTTP Content-Length header advertises, causing the IPP/2.0 client to wait for the rest of the data and, since it is not forthcoming, time out.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.From Fedora 19: lpstat -h theserver/version=2.0 -s

Actual results:
60s delay for each IPP request.

Expected results:
No delay.
Comment 1 Tim Waugh 2013-06-26 10:00:34 EDT
Created attachment 765612 [details]
Comment 2 RHEL Product and Program Management 2013-10-13 19:26:39 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Comment 7 errata-xmlrpc 2014-10-14 03:31:14 EDT
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.


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