php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59577 mqseries_strerror causes server to drop connection
Submitted: 2011-01-14 08:44 UTC Modified: 2012-05-25 12:58 UTC
From: paul dot wieland at us dot atlascopco dot com Assigned: pierrick (profile)
Status: Closed Package: mqseries (PECL)
PHP Version: 5.3.2 OS: RedHat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 19 = ?
Subscribe to this entry?

 
 [2011-01-14 08:44 UTC] paul dot wieland at us dot atlascopco dot com
Description:
------------
Calling mqseries_strerror() causes a Segmentation Fault.

Reproduce code:
---------------
<?php
print mqseries_strerror(0); // Any error code will cause this

die('end');
?>

Expected result:
----------------
The error string to be printed

Actual result:
--------------
Segmentation Fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-25 12:58 UTC] pierrick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pierrick
 [2012-05-25 12:58 UTC] pierrick@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Bug was fixed in revision 325804. Will be part of 0.12.0
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 13:01:27 2019 UTC