From: Operating system: Windows PHP version: 5.3.11 Package: PDO related Bug Type: Bug Bug description:PHP core crash when call $pdoStmt->execute($array_params) with PDO_Firebird
Description: ------------ Here: http://pastebin.com/SPgP5xQX php code, minified for crashing. Here: http://pastebin.com/MYZj9cPB sql code for creating database for test. First, I try create prepared query: $q=$db->prepare($sql); when, in loop, I call $q->execute() with some params. So, when I call execute() without any params - all ok. With 1 or 2 simple parameters - all ok too. When parameters is array of 11 elements, PHP core crash. Under debug version, it's write this log: [Wed May 02 10:11:46 2012] [error] [client 127.0.0.1] PHP Warning: String is not zero-terminated (String is not zero-terminated (ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZE\xc2'\x1eZZ)\xf0\x15d\x10\xc4\x01) (source: c:\\php-sdk\\php53dev\\vc9\\x86\\zend\\zend_execute_api.c:447) in D:\\test\\yii\\testing\\test_niokr.php on line 107, referer: http://localhost/testing/ I tested it under php5.3.10, php5.3.11 (binary download from official site) and sself build 5.3.11 with VC9,thread safe, debug version Release version simple crash. Debug version write many warnings, and crash too. Test script: --------------- Here: http://pastebin.com/SPgP5xQX php code, minified for crashing. Here: http://pastebin.com/MYZj9cPB sql code -- Edit bug report at https://bugs.php.net/bug.php?id=61895&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61895&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61895&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61895&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61895&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61895&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61895&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61895&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61895&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61895&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61895&r=support Expected behavior: https://bugs.php.net/fix.php?id=61895&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61895&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61895&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61895&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61895&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61895&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61895&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61895&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61895&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61895&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61895&r=mysqlcfg