|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-07-11 01:20 UTC] cmb@php.net
-Status: Open
+Status: Verified
[2016-07-11 01:20 UTC] cmb@php.net
[2016-07-11 03:52 UTC] laruence@php.net
[2016-07-11 03:52 UTC] laruence@php.net
-Status: Verified
+Status: Closed
[2016-07-20 11:30 UTC] davey@php.net
[2016-10-17 10:11 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 11:00:01 2025 UTC |
Description: ------------ Hello! I'm using archlinux, php 7.0.8 and sqlite3 module version => 0.7-dev, library => 3.13.0. I'm getting crash in SQLite3::bindValue and SQLite3::bindParam. The crash seems to occur when invalid index is passed. Test script: --------------- <?php $db = new SQLite3("./test.db"); $stmt = $db->prepare("select 1, 2, 3 from sqlite_master where 1 = ?"); // bindParam crash $i = 0; $stmt->bindParam(0, $i); // bindValue crash $stmt->bindParam(0, 1); // not reached $stmt->execute(); $db->close();