Browse Source

MFH: fix #38759 (PDO sqlite2 empty query causes segfault)

PECL_OPENSSL
Antony Dovgal 20 years ago
parent
commit
d577b8058c
  1. 1
      NEWS
  2. 2
      ext/sqlite/libsqlite/src/vdbe.c

1
NEWS

@ -5,6 +5,7 @@
(marci at balabit dot hu, Tony)
- Removed current working directory from the php.ini search path for CLI and
readded it for other SAPIs (restore to pre 5.1.x behaviour). (Edin)
- Fixed bug #38759 (PDO sqlite2 empty query causes segfault). (Tony)
- Fixed bug #38700 (SoapClient::__getTypes never returns). (Dmitry)
- Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). (Ilia)
- Fixed bug #38661 (mixed-case URL breaks url-wrappers). (Ilia)

2
ext/sqlite/libsqlite/src/vdbe.c

@ -114,7 +114,7 @@ int sqlite_step(
sqlite *db;
int rc;
if( p->magic!=VDBE_MAGIC_RUN ){
if( !p || p->magic!=VDBE_MAGIC_RUN ){
return SQLITE_MISUSE;
}
db = p->db;

Loading…
Cancel
Save