Bob Weinand [Fri, 23 Sep 2016 01:29:37 +0000 (03:29 +0200)]
phpdbg next command must stop when leaving function
Anatol Belski [Thu, 22 Sep 2016 23:52:42 +0000 (01:52 +0200)]
Fix bug #73121 Bundled PCRE doesn't compile because JIT isn't supported on s390
Anatol Belski [Thu, 22 Sep 2016 15:03:12 +0000 (17:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update libs versions
Anatol Belski [Thu, 22 Sep 2016 15:02:54 +0000 (17:02 +0200)]
update libs versions
Anatol Belski [Thu, 22 Sep 2016 15:01:02 +0000 (17:01 +0200)]
update libs versions
Nikita Popov [Thu, 22 Sep 2016 10:48:38 +0000 (12:48 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Márcio Almada [Mon, 19 Sep 2016 16:42:07 +0000 (12:42 -0400)]
fix bug related to #865
In case USE_KEY flag is active, RegexIterator->accept() should keep it's
old behavior which is to accept keys mapping arrays.
This broke after PHP 5.5 but was not noticed due to lack of tests for USE_KEY.
John Boehr [Thu, 22 Sep 2016 03:09:45 +0000 (20:09 -0700)]
Fix bug #69579
Anatol Belski [Thu, 22 Sep 2016 10:04:37 +0000 (12:04 +0200)]
update NEWS
Anatol Belski [Thu, 22 Sep 2016 09:49:35 +0000 (11:49 +0200)]
Fixed bug #73126 Cannot pass parameter 1 by reference
Adam Baratz [Wed, 21 Sep 2016 20:21:33 +0000 (16:21 -0400)]
Limit size of result set for test query
This result set can be very large, depending on the database. This change
ensures this test won't be slow.
Adam Baratz [Wed, 21 Sep 2016 18:29:42 +0000 (14:29 -0400)]
update NEWS
Peter LeBrun [Fri, 1 Jul 2016 19:44:06 +0000 (15:44 -0400)]
PHP bug 67130: nextRowset should work with unfetched rows
Adam Baratz [Wed, 21 Sep 2016 16:00:19 +0000 (12:00 -0400)]
Move dtor before memory freed to avoid invalid read
Xinchen Hui [Wed, 21 Sep 2016 09:20:02 +0000 (17:20 +0800)]
Fixed skip
Christoph M. Becker [Tue, 20 Sep 2016 10:16:16 +0000 (12:16 +0200)]
Skip failing FreeType tests for now
Dmitry Stogov [Tue, 20 Sep 2016 09:34:40 +0000 (12:34 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
Dmitry Stogov [Tue, 20 Sep 2016 09:29:57 +0000 (12:29 +0300)]
Fixed inconsistent meaning of zend_startup_module_ex() return value used in zend_hash_apply()
Christoph M. Becker [Mon, 19 Sep 2016 23:25:08 +0000 (01:25 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 19 Sep 2016 23:05:57 +0000 (01:05 +0200)]
Merge branch 'pull-request/1845' into PHP-5.6
George Wang [Mon, 19 Sep 2016 14:49:26 +0000 (10:49 -0400)]
Merge branch 'PHP-5.6' into PHP-7.0
George Wang [Mon, 19 Sep 2016 14:46:46 +0000 (10:46 -0400)]
Fix wrong year in previous commit.
Julien Pauli [Mon, 19 Sep 2016 14:08:37 +0000 (16:08 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Do not wrap user exception in case of custom JSON serialization
Conflicts:
ext/json/json.c
Julien Pauli [Mon, 19 Sep 2016 14:06:12 +0000 (16:06 +0200)]
Do not wrap user exception in case of custom JSON serialization
Nikita Popov [Sat, 17 Sep 2016 20:54:25 +0000 (22:54 +0200)]
Add test for bug #72489
Nikita Popov [Fri, 22 Apr 2016 15:48:35 +0000 (17:48 +0200)]
Make zval_ptr_dtor / _zval_dtor_func more robust
In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
Cherry-pick of
ded69ee6e6039d56ee7b65b1a578ed1e3d1859da from
PHP-7.1.
Christoph M. Becker [Fri, 16 Sep 2016 21:42:48 +0000 (23:42 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 16 Sep 2016 21:41:10 +0000 (23:41 +0200)]
Fix #73100: session_destroy null dereference in ps_files_path_create
Michael Orlitzky [Fri, 16 Sep 2016 19:03:01 +0000 (21:03 +0200)]
Disable add/sub asm for gcc 4.9 pic/pie builds
Xinchen Hui [Fri, 16 Sep 2016 12:55:54 +0000 (20:55 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Updte NEWS
Fixed bug #72505 (readfile() mangles files larger than 2G)
Xinchen Hui [Fri, 16 Sep 2016 12:55:37 +0000 (20:55 +0800)]
Updte NEWS
Xinchen Hui [Tue, 28 Jun 2016 03:11:25 +0000 (11:11 +0800)]
Fixed bug #72505 (readfile() mangles files larger than 2G)
Christoph M. Becker [Fri, 16 Sep 2016 09:40:36 +0000 (11:40 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 16 Sep 2016 09:31:21 +0000 (11:31 +0200)]
Fix #73003: Integer Overflow in gdImageWebpCtx of gd_webp.c
We add the missing integer overflow check to avoid potential buffer overflows.
Remi Collet [Thu, 15 Sep 2016 13:36:26 +0000 (15:36 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test (32bits)
Remi Collet [Thu, 15 Sep 2016 13:32:39 +0000 (15:32 +0200)]
fix test (32bits)
Remi Collet [Thu, 15 Sep 2016 11:29:26 +0000 (13:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix ZTS build
Remi Collet [Thu, 15 Sep 2016 11:27:20 +0000 (13:27 +0200)]
fix ZTS build
Ferenc Kovacs [Thu, 15 Sep 2016 09:37:30 +0000 (11:37 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 15 Sep 2016 09:35:46 +0000 (11:35 +0200)]
update NEWS
Christoph M. Becker [Wed, 14 Sep 2016 22:50:49 +0000 (00:50 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 14 Sep 2016 22:34:55 +0000 (00:34 +0200)]
Fix and reactivate regression test for bug #50194
Apparently, different FreeType versions render the string differently, so
we have to cater to these slight differences. Unfortunately, the testing
framework doesn't yet offer a clean API for this, so we work around the
limitations by parsing and checking the output of test_image_equals_file().
Adam Baratz [Wed, 14 Sep 2016 21:44:56 +0000 (17:44 -0400)]
Mark change with relevant bug number
Christoph M. Becker [Wed, 14 Sep 2016 18:02:05 +0000 (20:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 14 Sep 2016 18:00:30 +0000 (20:00 +0200)]
Skip ext/gd/tests/bug50194.phpt for now
There are apparently issues with the font rendering with different freetype
version; I'll have a look at this issue ASAP.
Adam Baratz [Wed, 14 Sep 2016 15:19:31 +0000 (11:19 -0400)]
Add pdo_dblib changes
Adam Baratz [Wed, 14 Sep 2016 13:00:46 +0000 (09:00 -0400)]
Skip test for early TDS versions
Christoph M. Becker [Wed, 14 Sep 2016 13:49:25 +0000 (15:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Wed, 14 Sep 2016 12:59:17 +0000 (14:59 +0200)]
Fix #50194: imagettftext broken on transparent background w/o alphablending
We must not draw the background pixels of the character glyphs, what has
already been fixed in GD 2.0.26.
Jakub Zelenka [Wed, 14 Sep 2016 11:31:45 +0000 (12:31 +0100)]
Sync NEWS for bug #73072
Adam Baratz [Tue, 13 Sep 2016 21:01:51 +0000 (17:01 -0400)]
Add special case for earlier versions of TDS
Adam Baratz [Tue, 13 Sep 2016 20:43:33 +0000 (16:43 -0400)]
Adjust error formatting so ext/pdo/tests/bug_43130.phpt passes with pdo_dblib
Adam Baratz [Tue, 13 Sep 2016 20:43:30 +0000 (16:43 -0400)]
Free error and message strings when cleaning up PDO instances that use pdo_dblib
Adam Baratz [Tue, 13 Sep 2016 20:43:25 +0000 (16:43 -0400)]
Add common suite
Adam Baratz [Tue, 13 Sep 2016 17:15:06 +0000 (13:15 -0400)]
Explicitly allow NULL values for dblib compatibility
MSSQL won't necessarily default columns to NULL, see:
https://msdn.microsoft.com/en-us/library/ms174979.aspx
Adam Baratz [Tue, 13 Sep 2016 17:11:34 +0000 (13:11 -0400)]
Add dblib-specific query
Adam Baratz [Tue, 13 Sep 2016 17:09:41 +0000 (13:09 -0400)]
Remove test cases don't test distinct behavior
These cases are also incompatible with pdo_dblib. Removing is easier.
Adam Baratz [Tue, 13 Sep 2016 20:26:38 +0000 (16:26 -0400)]
Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions
Adam Baratz [Tue, 13 Sep 2016 19:24:28 +0000 (15:24 -0400)]
Allow \PDO::setAttribute() to set pdo_dblib query timeouts
Jakub Zelenka [Tue, 13 Sep 2016 17:17:04 +0000 (18:17 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Tue, 13 Sep 2016 17:15:34 +0000 (18:15 +0100)]
Fix bug #73072 (Invalid path SNI_server_certs causes segfault)
Christoph M. Becker [Tue, 13 Sep 2016 13:59:12 +0000 (15:59 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 13 Sep 2016 13:57:39 +0000 (15:57 +0200)]
Merge branch 'pull-request/2126' into PHP-5.6
Anatol Belski [Tue, 13 Sep 2016 13:55:31 +0000 (15:55 +0200)]
update NEWS
Anatol Belski [Tue, 13 Sep 2016 13:45:18 +0000 (15:45 +0200)]
update NEWS
Anatol Belski [Tue, 13 Sep 2016 13:42:33 +0000 (15:42 +0200)]
upgrade bundled sqlite to 3.14.2
Anatol Belski [Tue, 13 Sep 2016 13:29:46 +0000 (15:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add test for bug #73068
Anatol Belski [Tue, 13 Sep 2016 13:28:28 +0000 (15:28 +0200)]
add test for bug #73068
Anatol Belski [Tue, 13 Sep 2016 10:34:03 +0000 (12:34 +0200)]
update NEWS
Anatol Belski [Tue, 13 Sep 2016 10:02:05 +0000 (12:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test portability
Anatol Belski [Tue, 13 Sep 2016 10:00:29 +0000 (12:00 +0200)]
fix test portability
Anatol Belski [Tue, 13 Sep 2016 09:50:18 +0000 (11:50 +0200)]
Anatol Belski [Tue, 13 Sep 2016 08:54:54 +0000 (10:54 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
missed semicolon
fix C89 conformity
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Fix test
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860: wddx_deserialize use-after-free
Also fix overflow in wordwrap
Fix bug #73007: add locale length check
Add more checks for int overflow
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Fix various int size overflows.
Anatol Belski [Tue, 13 Sep 2016 08:50:44 +0000 (10:50 +0200)]
missed semicolon
Anatol Belski [Tue, 13 Sep 2016 08:43:51 +0000 (10:43 +0200)]
fix C89 conformity
Stanislav Malyshev [Tue, 13 Sep 2016 04:09:30 +0000 (21:09 -0700)]
Merge branch 'PHP-7.0.11' into PHP-7.0
* PHP-7.0.11: (22 commits)
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
I don't think
8cceb012a7aabf3c36ab7c2724a436f976cdd165 is needed
Fix test
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Fix bug #73029 - Missing type check when unserializing SplArray
Fix bug #72860: wddx_deserialize use-after-free
Fix bug #73007: add locale length check
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
sync NEWS
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
Merge branch 'PHP-5.6' into PHP-7.0
Merge branch 'PHP-5.6' into PHP-7.0
Revert "Revert "Merge branch 'PHP-5.6' into PHP-7.0""
fix version
sync NEWS
Fix bug #72957
set versions
...
Stanislav Malyshev [Tue, 13 Sep 2016 03:25:08 +0000 (20:25 -0700)]
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Stanislav Malyshev [Tue, 13 Sep 2016 03:12:41 +0000 (20:12 -0700)]
Fix test
Stanislav Malyshev [Mon, 12 Sep 2016 07:35:01 +0000 (00:35 -0700)]
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
Stanislav Malyshev [Mon, 12 Sep 2016 04:37:44 +0000 (21:37 -0700)]
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
Stanislav Malyshev [Mon, 12 Sep 2016 04:19:29 +0000 (21:19 -0700)]
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
Stanislav Malyshev [Mon, 12 Sep 2016 03:58:55 +0000 (20:58 -0700)]
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
Stanislav Malyshev [Mon, 12 Sep 2016 03:24:13 +0000 (20:24 -0700)]
Fix bug #73029 - Missing type check when unserializing SplArray
Stanislav Malyshev [Tue, 6 Sep 2016 06:42:31 +0000 (23:42 -0700)]
Fix bug #72860: wddx_deserialize use-after-free
Stanislav Malyshev [Tue, 6 Sep 2016 01:10:51 +0000 (18:10 -0700)]
Also fix overflow in wordwrap
Stanislav Malyshev [Tue, 6 Sep 2016 01:01:35 +0000 (18:01 -0700)]
Fix bug #73007: add locale length check
Stanislav Malyshev [Mon, 5 Sep 2016 05:18:19 +0000 (22:18 -0700)]
Add more checks for int overflow
Stanislav Malyshev [Mon, 5 Sep 2016 05:07:35 +0000 (22:07 -0700)]
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
Stanislav Malyshev [Fri, 2 Sep 2016 06:15:34 +0000 (23:15 -0700)]
Fix various int size overflows.
Add function for detection of string zvals with length that does not fit
INT_MAX.
Stanislav Malyshev [Tue, 13 Sep 2016 03:28:50 +0000 (20:28 -0700)]
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
Stanislav Malyshev [Tue, 13 Sep 2016 03:15:22 +0000 (20:15 -0700)]
Stanislav Malyshev [Tue, 13 Sep 2016 03:12:41 +0000 (20:12 -0700)]
Fix test
Xinchen Hui [Tue, 13 Sep 2016 02:58:57 +0000 (10:58 +0800)]
Fixed bug #73067 (__debugInfo crashes when throwing an exception)
Adam Baratz [Mon, 12 Sep 2016 21:32:50 +0000 (17:32 -0400)]
Never quote values as raw binary data
This reverts
a1a18fca6e2a1690ea113dc2ebe0e7d22fdc71a0 which was intended to fix
bug #52885. That commit introduced a BC break which wasn't universally
desirable. The issue of quoting binary data (or NVARCHAR strings, or other
nonstandard types) will have to be addressed separately.
Anatol Belski [Mon, 12 Sep 2016 16:59:38 +0000 (18:59 +0200)]
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
(cherry picked from commit
99ac11222cb2a4e9aa6a865f908b28def349c049)
Conflicts:
ext/standard/file.c
Adam Baratz [Fri, 9 Sep 2016 21:00:50 +0000 (17:00 -0400)]
Add myself as pdo_dblib maintainer
Stanislav Malyshev [Mon, 12 Sep 2016 07:35:01 +0000 (00:35 -0700)]
Fix bug #73065: Out-Of-Bounds Read in php_wddx_push_element of wddx.c
(cherry picked from commit
bbaf784f8d213e201baf67e861f20b38c6e87d3b)
Conflicts:
ext/wddx/wddx.c
Stanislav Malyshev [Mon, 12 Sep 2016 04:37:44 +0000 (21:37 -0700)]
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
(cherry picked from commit
75ebf471ff46ec6e5ee279b3650c11d51ebaf9e3)
Stanislav Malyshev [Mon, 12 Sep 2016 04:19:29 +0000 (21:19 -0700)]
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
(cherry picked from commit
b6e1e5e0b3e6221c7b14fa10cba30f5c5e719e1b)
Conflicts:
Zend/zend_objects_API.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
Stanislav Malyshev [Mon, 12 Sep 2016 03:24:13 +0000 (20:24 -0700)]
Fix bug #73029 - Missing type check when unserializing SplArray
(cherry picked from commit
6d16288150be33392a3249e417a0929881feb9a2)
Conflicts:
ext/spl/spl_array.c