|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-30 06:46 UTC] toni dot ramos at gmail dot com
[2008-04-30 07:07 UTC] toni dot ramos at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 16:00:01 2025 UTC |
Description: ------------ When comp_code != 0 a segmentation fault is made after calling mqseries functions. Ex: when there are no messages in the queue the mqseries_get() crashes with segfault. Reproduce code: --------------- mqseries_get($conn, $obj, $mdg, $gmo, 255, $msg, $data_length, $comp_code, $reason); if ($comp_code !== MQSERIES_MQCC_OK) { printf("GET CompCode:%d Reason:%d <br>", $comp_code, $reason); } Expected result: ---------------- GET CompCode:2 Reason:2033 Actual result: -------------- Segmantation fault #