Adam Baratz
f0a12af65b
Remove test cases don't test distinct behavior
...
These cases are also incompatible with pdo_dblib. Removing is easier.
2016-09-13 16:36:23 -04:00
Adam Baratz
91c49c4ab0
Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions
2016-09-13 16:32:37 -04:00
Adam Baratz
9cdf2042bd
Allow \PDO::setAttribute() to set pdo_dblib query timeouts
2016-09-13 16:13:26 -04:00
Jakub Zelenka
3a739c9f9f
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-13 18:19:20 +01:00
Jakub Zelenka
05baa92727
Fix bug #73072 (Invalid path SNI_server_certs causes segfault)
2016-09-13 18:15:34 +01:00
Anatol Belski
1382e88ac1
upgrade bundled sqlite to 3.14.2
2016-09-13 15:44:21 +02:00
Anatol Belski
5163925796
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add test for bug #73068
2016-09-13 15:29:46 +02:00
Anatol Belski
248f8c3a91
add test for bug #73068
2016-09-13 15:28:28 +02:00
Anatol Belski
855b8e4f79
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test portability
2016-09-13 12:02:05 +02:00
Anatol Belski
fc31d6fed4
fix test portability
2016-09-13 12:00:29 +02:00
Anatol Belski
c403b30291
pick up the safe alloc pieces from
...
19866fb76c
2016-09-13 11:50:18 +02:00
Stanislav Malyshev
07c6bdb85d
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 8cceb012a7 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
...
2016-09-12 21:09:30 -07:00
Stanislav Malyshev
28f80baf3c
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
33d0ef0fef
Fix test
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
c4cca4c20e
Fix bug #73065 : Out-Of-Bounds Read in php_wddx_push_element of wddx.c
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
f5a9592ad8
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
6a7cc8ff85
Fix bug #73052 - Memory Corruption in During Deserialized-object Destruction
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
7381d4c00e
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
ecb7f58a06
Fix bug #73029 - Missing type check when unserializing SplArray
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
b88393f08a
Fix bug #72860 : wddx_deserialize use-after-free
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
65c8caafa8
Also fix overflow in wordwrap
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
6d55ba2656
Fix bug #73007 : add locale length check
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
ba5ac0d360
Add more checks for int overflow
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
223266e4e4
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
19866fb76c
Fix various int size overflows.
...
Add function for detection of string zvals with length that does not fit
INT_MAX.
2016-09-12 21:04:23 -07:00
Stanislav Malyshev
c984661d39
Fix bug #72293 - Heap overflow in mysqlnd related to BIT fields
2016-09-12 20:28:50 -07:00
Stanislav Malyshev
32e0b46997
I don't think 8cceb012a7 is needed
2016-09-12 20:15:22 -07:00
Stanislav Malyshev
fab33740c5
Fix test
2016-09-12 20:15:18 -07:00
Adam Baratz
2302eef5c9
Never quote values as raw binary data
...
This reverts a1a18fca6e 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.
2016-09-12 17:32:50 -04:00
Anatol Belski
8cceb012a7
Add check in fgetcsv in case sizeof(unit) != sizeof(size_t)
...
(cherry picked from commit 99ac11222cb2a4e9aa6a865f908b28def349c049)
Conflicts:
ext/standard/file.c
2016-09-12 18:59:38 +02:00
Stanislav Malyshev
9528ce7315
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
2016-09-12 18:13:04 +02:00
Stanislav Malyshev
c5f34c9eca
Fix bug #73035 (Out of bound when verify signature of tar phar in phar_parse_tarfile)
...
(cherry picked from commit 75ebf471ff46ec6e5ee279b3650c11d51ebaf9e3)
2016-09-12 17:54:32 +02:00
Stanislav Malyshev
27876d22ef
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
2016-09-12 17:53:44 +02:00
Stanislav Malyshev
022e75cba1
Fix bug #73029 - Missing type check when unserializing SplArray
...
(cherry picked from commit 6d16288150be33392a3249e417a0929881feb9a2)
Conflicts:
ext/spl/spl_array.c
2016-09-12 17:42:23 +02:00
Stanislav Malyshev
060ab26cfe
Fix bug #72860 : wddx_deserialize use-after-free
...
(cherry picked from commit ee552853ff4d72f626102025133e2cd1575043ee)
Conflicts:
ext/wddx/wddx.c
2016-09-12 17:33:32 +02:00
Stanislav Malyshev
92db16e456
Fix bug #73007 : add locale length check
...
(cherry picked from commit 9e07089626f373d0e7b24b7aeb8b8459aae5f5f8)
Conflicts:
ext/intl/msgformat/msgformat_format.c
2016-09-12 17:19:47 +02:00
Stanislav Malyshev
0bfb970f43
Fix bug #72928 - Out of bound when verify signature of zip phar in phar_parse_zipfile
...
(cherry picked from commit 19484ab77466f99c78fc0e677f7e03da0584d6a2)
2016-09-12 17:04:19 +02:00
Christoph M. Becker
82fa85fd08
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-12 13:27:57 +02:00
Christoph M. Becker
0cbf634657
Skip regression test for issue that has not yet been released in libgd
...
<https://github.com/libgd/libgd/issues/177 > has been assessed as enhancement,
so most likely it will be released with GD 2.3.
2016-09-12 13:21:34 +02:00
Christoph M. Becker
c2044e60f3
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-12 12:39:14 +02:00
Christoph M. Becker
fcdc30b347
Skip test for external GD because of not yet published bugfix
2016-09-12 12:34:11 +02:00
Christoph M. Becker
c02cfd4e25
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 23:51:32 +02:00
Christoph M. Becker
6d0e773292
Skip tests for unpatched external libgd regarding libvpx
...
Some issues have never been fixed in the external libgd's libvpx binding,
so we skip the respective tests.
2016-09-11 23:49:09 +02:00
Andrea Faulds
d690014bf3
Remove zpp fallback code (always use Fast ZPP)
...
Squashed commit of the following:
commit 3e27fbb3d2
Author: Andrea Faulds <ajf@ajf.me >
Date: Sun Sep 11 19:14:37 2016 +0100
Keep dummy FAST_ZPP macro for compatibility
commit 8a7cfd00de
Author: Andrea Faulds <ajf@ajf.me >
Date: Mon Sep 5 22:36:03 2016 +0100
Remove FAST_ZPP macro and plain zpp fallback code
2016-09-11 22:44:46 +01:00
Christoph M. Becker
529811cfb0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 19:32:54 +02:00
Christoph M. Becker
6ef987e012
Split test for bundled vs. external libgd
...
The behavior of imagecropauto($im, IMG_CROP_DEFAULT) is rather different
for the bundled and an external libgd, see
<https://github.com/libgd/libgd/issues/298 >.
Therefore we split the test for now.
2016-09-11 19:30:55 +02:00
Christoph M. Becker
225478bccf
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 18:35:11 +02:00
Christoph M. Becker
38455293f7
Make test case more resilient
...
This test case fails with external libgd, because libgd < 2.2.4 converts
palette images to truecolor (<https://github.com/libgd/libgd/issues/297 >).
However, even if there happens no truecolor conversion, it is not guaranteed
that the palette indexes of the original and the cropped image are identical
(this is, for instance, not the case with current libgd master where the bug
has been fixed). Therefore we check for the expected RGBA value instead of
the palette index.
2016-09-11 18:29:27 +02:00
Christoph M. Becker
cd16b64f01
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-11 13:26:30 +02:00
Anatol Belski
65bf5e88c7
Revert "Merge branch 'PHP-5.6' into PHP-7.0"
...
This reverts commit 946335ba70 , reversing
changes made to 3437dbfa00 .
2016-09-11 12:59:43 +02:00