php-src/ext/sqlite3
Anatol Belski 2fd278bc21 sqlite3: Fix possible use after free
Exception should be thrown before the db handle is destroyed.
The backtrace excerpt

==26628== Invalid read of size 4
==26628==    at 0x53C49E3: sqlite3_errmsg (in /usr/lib64/libsqlite3.so.0.8.6)
==26628==    by 0x38C4E9: zim_sqlite3_open (sqlite3.c:142)
==26628==    by 0x8977BF: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1618)
==26628==    by 0x8F801E: execute_ex (zend_vm_execute.h:53824)
==26628==    by 0x8FC0BB: zend_execute (zend_vm_execute.h:57920)
==26628==    by 0x828F54: zend_execute_scripts (zend.c:1672)
==26628==    by 0x793C2C: php_execute_script (main.c:2621)
==26628==    by 0x8FEA44: do_cli (php_cli.c:964)
==26628==    by 0x8FF9DC: main (php_cli.c:1359)

Signed-off-by: Anatol Belski <ab@php.net>
2020-06-11 13:12:10 +02:00
..
tests Merge branch 'PHP-7.3' into PHP-7.4 2020-03-09 22:51:11 +01:00
config0.m4 Fixed bug #79056 2020-01-03 11:08:48 +01:00
config.w32 Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite 2019-07-21 00:40:59 +02:00
CREDITS Good patch from Brad Dewar that adds missing createCollation() 2012-01-29 03:57:29 +00:00
php_sqlite3_structs.h Merge branch 'PHP-7.3' into PHP-7.4 2020-02-21 13:37:31 +01:00
php_sqlite3.h Switch to use ZTS cache 2019-03-12 14:15:47 +03:00
sqlite3.c sqlite3: Fix possible use after free 2020-06-11 13:12:10 +02:00