|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-24 04:30 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-10-24 04:30 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
Description: ------------ When using mysqli_stmt_bind_param with mysqlnd_ms enabled, this will result in a Segmentation Fault. The issue occur with the following versions from the PHP Debian packages: php5-cgi 5.6.14+dfsg-0+deb8u1 php5-cli 5.6.14+dfsg-0+deb8u1 php5-mysqlnd 5.6.14+dfsg-0+deb8u1 php5-mysqlnd-ms 1.6.0-1+b1 The code below result in a Segmentation Fault: php5 dbtest.php Segmentation fault Test script: --------------- <?php $db = mysqli_connect('api'); $stmt = mysqli_prepare($db, 'SELECT * FROM ms_test WHERE id = ? LIMIT 0,1'); $id = 1; mysqli_stmt_bind_param($stmt, 'd', $id); mysqli_stmt_execute($stmt); mysqli_close($db);