com php-src: Merge branch 'PHP-5.6' into PHP-7.0: NEWS ext/sqlite3/sqlite3.c

From: Date: Wed, 16 Nov 2016 11:00:39 +0000
Subject: com php-src: Merge branch 'PHP-5.6' into PHP-7.0: NEWS ext/sqlite3/sqlite3.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95788@lists.php.net to get a copy of this message
Commit: 936cafe33e3115ea04df7902d6eac8d9f63f7fb6 Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 16 Nov 2016 11:55:57 +0100 Parents: a1a5b52f3b9c819fec871601392b438a4ddecf14 eb570294a289b45d0dd38efc71065d6b0d314c4b Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=936cafe33e3115ea04df7902d6eac8d9f63f7fb6 Log: Merge branch 'PHP-5.6' into PHP-7.0 Changed paths: MM NEWS MM ext/sqlite3/sqlite3.c Diff: diff --cc NEWS index 6c78480,33a9ae1..d164457 --- a/NEWS +++ b/NEWS @@@ -1,56 -1,29 +1,59 @@@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? ??? 2016, PHP 5.6.29 +?? ??? 2016 PHP 7.0.14 + +- Calendar: + . Fix integer overflows (Joshua Rogers) + +- Core: + . Fixded bug #72736 (Slow performance when fetching large dataset with mysqli + / PDO). (Dmitry) + +- Date: + . Fixed bug #69587 (DateInterval properties and isset). (jhdxr) + +- ODBC: + . Fixed bug #73448 (odbc_errormsg returns trash, always 513 bytes). + (Anatol) - Opcache: - . Fixed bug #73402 (Opcache segfault when using class constant to call a - method). (Laruence) . Fixed bug #69090 (check cached files permissions) -- OpenSSL - . Fixed bug #72776 (Invalid parameter in memcpy function trough - openssl_pbkdf2). (Jakub Zelenka) +- PCRE: + . Fixed bug #73392 (A use-after-free in zend allocator management). + (Laruence) + +- PDO_Firebird: + . Fixed bug #73087, #61183, #71494 (Memory corruption in bindParam). + (Dorin Marcoci) + +- SPL: + . Fixed bug #73423 (Reproducible crash with GDB backtrace). (Laruence) + - SQLite3: + . Fixed bug #73530 (Unsetting result set may reset other result set). (cmb) + -10 Nov 2016, PHP 5.6.28 +- XML: + . Fixed bug #72135 (malformed XML causes fault) (edgarsandi) + +10 Nov 2016 PHP 7.0.13 - Core: + . Fixed bug #73350 (Exception::__toString() cause circular references). + (Laruence) + . Fixed bug #73181 (parse_str() without a second argument leads to crash). + (Nikita) + . Fixed bug #66773 (Autoload with Opcache allows importing conflicting class + name to namespace). (Nikita) + . Fixed bug #66862 ((Sub-)Namespaces unexpected behaviour). (Nikita) + . Fix pthreads detection when cross-compiling (ffontaine) . Fixed bug #73337 (try/catch not working with two exceptions inside a same operation). (Dmitry) + . Fixed bug #73338 (Exception thrown from error handler causes valgrind + warnings (and crashes)). (Bob, Dmitry) + . Fixed bug #73329 ((Float)"Nano" == NAN). (Anatol) -- Bz2: - . Fixed bug #73356 (crash in bzcompress function). (Stas) - --GD: +- GD: . Fixed bug #73213 (Integer overflow in imageline() with antialiasing). (cmb) . Fixed bug #73272 (imagescale() is not affected by, but affects imagesetinterpolation()). (cmb) diff --cc ext/sqlite3/sqlite3.c index 23d0b97,b443657..b3f0a29 --- a/ext/sqlite3/sqlite3.c +++ b/ext/sqlite3/sqlite3.c @@@ -2166,15 -2183,17 +2166,12 @@@ static void php_sqlite3_result_object_f return; } - if (intern->stmt_obj_zval) { - if (intern->is_prepared_statement == 0) { - zval_dtor(intern->stmt_obj_zval); - FREE_ZVAL(intern->stmt_obj_zval); - } else { - zval_ptr_dtor(&intern->stmt_obj_zval); - } + if (!Z_ISNULL(intern->stmt_obj_zval)) { - if (intern->stmt_obj && intern->stmt_obj->initialised) { - sqlite3_reset(intern->stmt_obj->stmt); - } + + zval_ptr_dtor(&intern->stmt_obj_zval); } - zend_object_std_dtor(&intern->zo TSRMLS_CC); - efree(intern); + zend_object_std_dtor(&intern->zo); } /* }}} */

« previous php.cvs (#95788) next »