Bug 1011902

Summary: [AMQP 1.0] qpidd crashes if attempting to use QMF over AMQP 1.0
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matousek <pematous>
Severity: high Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, gsim, iboverma, jross, pematous
Target Milestone: 3.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399    
Attachments:
Description Flags
An example that uses QMFv2 over 1.0 to retrieve a list of queues from broker none

Description Gordon Sim 2013-09-25 11:12:26 UTC
Created attachment 802735 [details]
An example that uses QMFv2 over 1.0 to retrieve a list of queues from broker

Description of problem:

The QMF code in the broker assumes message have arrived in 0-10 format. If they are in fact 1.0 messages it segfaults.

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

qpid 0.24

How reproducible:

100%

Steps to Reproduce:
1. run attached example against a 1.0 enabled qpidd

Actual results:

broker seg faults

Expected results:

broker shouldn't seg fault (ideally the example should return a list of queues)

Additional info:

Comment 1 Gordon Sim 2013-09-25 11:28:44 UTC
Fixed upstream by https://svn.apache.org/r1525044 and https://svn.apache.org/r1526156

Comment 4 Petr Matousek 2014-01-09 14:21:26 UTC
This issue has been fixed. Verified on rhel6.5 (x86_64, i386).

packages under test:
qpid-cpp-*-0.22-30

-> VERIFIED