php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65804 pecl-amqp crashes PHP when trying to connect to qpid-cpp-server 0.14
Submitted: 2013-10-01 21:50 UTC Modified: -
From: gauthierm@php.net Assigned:
Status: Open Package: amqp (PECL)
PHP Version: Irrelevant OS: CentOS 6.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gauthierm@php.net
New email:
PHP Version: OS:

 

 [2013-10-01 21:50 UTC] gauthierm@php.net
Description:
------------
When you try to connect to qpid-cpp-server 0.14, the following happens:

Expected 0x000A000A method frame on channel 0, got frame type 65
Aborted (core dumped)

qpid-cpp-server uses AMQP 1.0 instead of AMQP 0-9-1 so it shouldn't work per-se, but it should throw an exception and not crash.

Test script:
---------------
$connection = new AMQPConnection();
$connection->setHost('127.0.0.1'); // running qpid on 5672
$connection->connect();

Expected result:
----------------
Thrown AMQPConnectionException saying the AMQP version is not correct.

Actual result:
--------------
Expected 0x000A000A method frame on channel 0, got frame type 65
Aborted (core dumped)

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 21:01:36 2019 UTC