Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1509058 - proton-c mixing up two links if one has a name that's a substring of the other
proton-c mixing up two links if one has a name that's a substring of the other
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-proton (Show other bugs)
3.2
Unspecified Unspecified
high Severity high
: 3.2.7
: ---
Assigned To: Alan Conway
Petr Matousek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-02 16:25 EDT by Mike Cressman
Modified: 2017-11-20 11:52 EST (History)
2 users (show)

See Also:
Fixed In Version: qpid-proton-0.16.0-8
Doc Type: Bug Fix
Doc Text:
Cause: Consequence: If a user creates a receiver using a queue name that is a prefix of a previously created receiver's name (on the same connection/session), the broker can return access to the wrong one. Fix: Result: The code was fixed so that access to the correct queue is ensured.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-20 11:52:55 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
Apache JIRA PROTON-1466 None None None 2017-11-02 16:25 EDT
Red Hat Product Errata RHBA-2017:3253 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.2.7 Bug Fix Release 2017-11-20 16:52:30 EST

  None (edit)
Description Mike Cressman 2017-11-02 16:25:05 EDT
Description of problem:
If two links exist where one one has a name that is the substring of the other, proton can get confused, and may find the wrong one

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


How reproducible:
Always

Steps to Reproduce:
See https://issues.apache.org/jira/browse/PROTON-1661
and https://issues.apache.org/jira/browse/PROTON-1466


Expected results:
Even when one link name is a substring of another, both can be found (i.e. via python client's create_receiver)

Additional info:
Comment 2 Petr Matousek 2017-11-09 14:59:24 EST
This issue has been fixed. Internal test case has been linked and verified on all supported platforms. 

packages under test:
* qpid-proton-c-0.16.0-8
* qpid-cpp-1.36.0-13

-> VERIFIED
Comment 5 errata-xmlrpc 2017-11-20 11:52:55 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://access.redhat.com/errata/RHBA-2017:3253

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