Anatol Belski
3d5d1e569e
Set versions
2018-04-24 11:40:32 +02:00
Anatol Belski
31c3646757
[ci skip] Update NEWS
2018-04-24 11:21:03 +02:00
Anatol Belski
3070883bcf
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix test portability
2018-04-24 10:48:22 +02:00
Anatol Belski
4371af3e19
Fix test portability
2018-04-24 10:47:32 +02:00
Stanislav Malyshev
5a18d7a0df
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 21:59:57 -07:00
Stanislav Malyshev
ee76a5ae5a
Fix tsrm_ls
2018-04-23 16:48:27 -07:00
Stanislav Malyshev
58b0003975
Merge remote-tracking branch 'security/bug76249' into PHP-5.6
...
* security/bug76249:
Fix test
Fix bug #76249 - fail on invalid sequences
2018-04-23 13:44:19 -07:00
Stanislav Malyshev
a4c55eefd0
Merge remote-tracking branch 'security/bug76248' into PHP-5.6
...
* security/bug76248:
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
2018-04-23 13:44:12 -07:00
Stanislav Malyshev
6e64aba47f
Fix #76129 - remove more potential unfiltered outputs for phar
2018-04-23 13:43:43 -07:00
Stanislav Malyshev
e2dcf3cc54
Merge remote-tracking branch 'security/PHP-5.6' into PHP-5.6
...
* security/PHP-5.6:
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
2018-04-23 13:42:51 -07:00
Stanislav Malyshev
8dca5ae5ec
Fix test
2018-04-22 22:19:51 -07:00
Stanislav Malyshev
49782c5499
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
2018-04-22 22:01:35 -07:00
Stanislav Malyshev
06d309fd7a
Fix bug #76249 - fail on invalid sequences
2018-04-22 21:26:39 -07:00
Christoph M. Becker
b4e4788c44
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
...
The MakerNote is not necessarily null-terminated, so we must not use
`strlen()` to avoid OOB reads. Instead `php_strnlen()` is the proper
way to handle this.
2018-04-22 20:15:02 -07:00
Ferenc Kovacs
01f42b836c
Merge branch 'PHP-5.6' into PHP-7.0
2018-03-28 23:17:59 +02:00
Ferenc Kovacs
cb981e39c2
[ci skip] 5.6.36 will be next
2018-03-28 23:14:30 +02:00
Anatol Belski
1e4273d881
[ci skip] Fix release date
2018-03-27 16:02:19 +02:00
Anatol Belski
48f835efbf
7.0.30 next
2018-03-27 15:00:54 +02:00
Anatol Belski
ca51458081
[ci skip] Update NEWS
2018-03-27 14:26:06 +02:00
Anatol Belski
e2b7392b96
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Update NEWS
2018-03-27 14:25:24 +02:00
Anatol Belski
2885f62816
[ci skip] Update NEWS
2018-03-27 14:24:43 +02:00
Jakub Zelenka
276d19feaa
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:19:36 +02:00
Anatol Belski
eac822e897
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:19:22 +02:00
Jakub Zelenka
d20bebfe13
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:18:01 +02:00
Ferenc Kovacs
c28a6253e5
Merge branch 'PHP-5.6' into PHP-7.0
2018-02-28 00:00:12 +01:00
Ferenc Kovacs
3db7427b71
5.6.35 is next
2018-02-27 23:57:06 +01:00
Anatol Belski
c61b56ed00
7.0.29 next
2018-02-27 11:48:49 +01:00
Anatol Belski
fed294d2a8
[ci skip] Update NEWS
2018-02-27 11:33:40 +01:00
Anatol Belski
1e0499b095
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Update NEWS
2018-02-27 11:32:26 +01:00
Anatol Belski
4698a412bf
[ci skip] Update NEWS
2018-02-27 11:31:37 +01:00
Stanislav Malyshev
dde7a05978
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:26:26 -08:00
Stanislav Malyshev
523f230c83
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:25:51 -08:00
Stanislav Malyshev
09a19e778b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Set FPM maintainership
2018-02-23 17:57:26 -08:00
Stanislav Malyshev
1f4b057b63
[ci skip] Set FPM maintainership
...
As per http://news.php.net/php.internals/101897 , Jakub is officially
annointed as new FPM maintainer.
2018-02-23 16:43:10 -08:00
Stanislav Malyshev
36239fee36
Fix bug #75981 : prevent reading beyond buffer start
2018-02-20 15:44:00 -08:00
Sara Golemon
e88e83d3e5
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
2018-01-23 09:24:10 -05:00
Remi Collet
27347613fe
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
2018
2018-01-03 15:12:56 +01:00
Remi Collet
67ec3ce1ec
2018
2018-01-03 15:12:39 +01:00
Remi Collet
1aa8e42036
2018
2018-01-03 15:04:48 +01:00
Ferenc Kovacs
4888495178
Merge branch 'PHP-5.6' into PHP-7.0
2018-01-03 00:33:20 +01:00
Ferenc Kovacs
028507f1f6
php 5.6.34 is next
2018-01-03 00:30:58 +01:00
Anatol Belski
5d8e298ebf
[ci skip] update NEWS
2018-01-02 07:49:09 +01:00
Stanislav Malyshev
459ab2eef4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 20:28:01 -08:00
Stanislav Malyshev
2881199c80
Update NEWS
2018-01-01 19:53:00 -08:00
Christoph M. Becker
8d6e958867
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
...
Due to a signedness confusion in `GetCode_` a corrupt GIF file can
trigger an infinite loop. Furthermore we make sure that a GIF without
any palette entries is treated as invalid *after* open palette entries
have been removed.
2018-01-01 19:51:26 -08:00
Stanislav Malyshev
73ca9b3773
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 19:51:02 -08:00
Anatol Belski
e19c71e3d5
[ci skip] update NEWS
2017-12-22 18:22:33 +01:00
Dmitry Stogov
da61c7a2a4
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
...
(cherry picked from commit 37bf8bdc14 )
2017-12-22 18:22:08 +01:00
Anatol Belski
484c11a541
7.0.28 is next
2017-12-05 08:51:30 +01:00
Anatol Belski
dab205cb9a
[ci skip] update NEWS
2017-12-05 08:41:24 +01:00
Anatol Belski
0eb262eacb
Use dtor unconditionally in error case
2017-12-04 14:15:42 +01:00
Xinchen Hui
d4dee4a614
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
...
(cherry picked from commit 3b9ba7b6bd )
2017-12-04 11:50:44 +01:00
Andy Postnikov
d6d4f2a9b3
Fix ZEND_SIGNED_MULTIPLY_LONG for AArch64
...
Register operands are required in this context.
This is a backport of 8c8679207a
to PHP 7.0+. The current code caused incorrect behavior on AArch64
when compiling with clang.
2017-12-02 18:10:17 +01:00
Anatol Belski
958fdc997c
Consider Xdebug for tmi ini generation, too
2017-12-01 16:01:34 +01:00
Dmitry Stogov
24d5adbd5a
Set trailing zero
2017-12-01 17:00:11 +03:00
Lior Kaplan
32e3d7b99e
Define floorf if system doesn't have it (follow up for 22c48761)
...
floorf is checked in config.m4
2017-11-29 16:46:47 +01:00
Remi Collet
26656684ea
NEWS
2017-11-28 17:59:16 +01:00
Remi Collet
8e5b9532da
Fixed bug #64938 libxml_disable_entity_loader setting is shared between requests (FPM)
2017-11-28 17:58:28 +01:00
Sebastian Ramadan
7e0feb8856
Check for binary_location allocation failure
2017-11-22 04:49:04 +00:00
Scott
269d160159
Fix bug #75409
2017-11-22 04:26:54 +00:00
Anatol Belski
38be3c4ac4
[ci skip] update NEWS
2017-11-21 22:22:21 +01:00
Nester
8fdef981ef
Fixed #75539 and #74183 - preg_last_error not returning error code after error
2017-11-21 20:10:18 +01:00
Remi Collet
702ef27364
Better fix bug #75540 Segfault with libzip 1.3.1
...
- only 1.3.1 is affected
- fix use after free
2017-11-20 09:42:20 +01:00
Remi Collet
8832c46607
NEWS
2017-11-20 08:50:33 +01:00
Remi Collet
de47d4792f
fix bug #75540 Segfault with libzip 1.3.1
2017-11-20 08:49:46 +01:00
Nikita Popov
0e097f2c96
Fixed bug #75535
...
The sizeof()s for Content-Length and Transfer-Encoding were missing
the trailing ":". Apart from being generally wrong, this no longer
verified that the header actually contains a colon, leading to the
null http_header_value being used.
Additionally, in the interest of being defensive, also make sure
that http_header_value is non-null by setting it to the end of
the header line (effectively an empty string) if there is no colon.
If the following conditions are correct, this value is not going
to be used though.
2017-11-17 23:18:05 +01:00
Anatol Belski
1ed08f9877
Update SDK version for AppVeyor
2017-11-17 16:37:00 +01:00
Sammy Kaye Powers
a5206bc690
Update NEWS
2017-11-14 20:00:45 +01:00
Sammy Kaye Powers
3bc5c9f118
Fix bug 60471 by correctly identifying unused speculative preconnections
...
* Correctly identify unused speculative preconnections from browsers
like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
displayed even when debug mode was enabled
2017-11-14 20:00:45 +01:00
Anatol Belski
df615f47bd
[ci skip] update NEWS
2017-11-10 11:40:16 +01:00
Anatol Belski
c6720e2f45
Fixed #75384 PHP seems incompatible with OneDrive files on demand
2017-11-08 11:52:42 +01:00
Derick Rethans
ca0bcf535c
Fixed ext/date tests due to changes in Olson database
2017-11-07 11:25:28 +00:00
Anatol Belski
bc7d4dc523
7.0.27 next
2017-11-07 10:07:52 +01:00
Anatol Belski
c3be49e07d
Update libs_version.txt
2017-11-02 22:41:12 +01:00
Nikita Popov
d88ef8d7e1
Fix ext/soap/tests/bug69137.phpt
...
Switch to example.org. Also mark it as an online test.
2017-11-02 20:56:03 +01:00
Anatol Belski
dbfa0140ae
Sync and fix tests for ICU 60.1 compat
2017-11-02 12:37:04 +01:00
Anatol Belski
f5358c0e23
Yet one /nologo
2017-11-02 09:21:22 +01:00
Anatol Belski
8a3e2a6b14
Fix year
2017-10-31 10:25:15 +01:00
Anatol Belski
164167f3da
Add /nologo
2017-10-31 10:24:34 +01:00
Anatol Belski
68c500421c
Add missing ICU version check
2017-10-30 18:15:26 +01:00
Jakub Zelenka
fc169d2133
Prevent leaking x509 and csr resources if it is not requested
...
All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.
2017-10-30 16:40:56 +00:00
Jakub Zelenka
d8ccffa79a
Extend and speed up pkey export tests
2017-10-30 16:40:56 +00:00
Jakub Zelenka
e78e839e53
Rewrite openssl_csr_get_subject test to improve coverage
2017-10-30 16:40:56 +00:00
Jakub Zelenka
528aa540b4
Add openssl_csr_get_public_key test
2017-10-30 16:40:56 +00:00
Jakub Zelenka
548798818b
Extend openssl_pkcs7_* tests to cover resource cert
2017-10-30 16:40:56 +00:00
Jakub Zelenka
55d92413b9
Fix cleaning tmp output file in openssl_csr_export_to_file test
2017-10-30 16:40:56 +00:00
Jelle van der Waa
5812f7a8d3
openssl: add basic openssl_csr_export_to_file tests
...
Add a basic test for openssl_csr_export_to_file.
2017-10-30 16:40:56 +00:00
Jakub Zelenka
628a52d365
Extend openssl_csr_sign test to cover cert resource
2017-10-30 16:40:56 +00:00
Jakub Zelenka
80191eebec
Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist
2017-10-30 16:40:55 +00:00
Jakub Zelenka
cd66aad141
Extend openssl_x509_parse to cover cert resource
2017-10-30 16:40:55 +00:00
Jakub Zelenka
c1d98588a2
Rename and test resource cert in openssl_x509_checkpurpose test
2017-10-30 16:40:55 +00:00
Jakub Zelenka
d23d4fd61b
Extend openssl_x509_check_private_key to test resource cert
2017-10-30 16:40:55 +00:00
Jakub Zelenka
be0758b75a
Extend openssl_x509_fingerprint test to cover resource cert with sha1
2017-10-30 16:40:55 +00:00
Joe Watkins
cfa885830a
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Yet one attempt to mitigate the unzip error on AppVeyor
Ensure SDK is checked out before asking for version
Fix fetching the SDK version
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
Remove status check on the SDK repo and add version check
Catch with the latest AppVeyor unzip errors
2017-10-30 14:16:16 +00:00
Fabien Villepinte
a308000ff2
Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
2017-10-30 14:13:05 +00:00
Anatol Belski
7ea44da104
Yet one attempt to mitigate the unzip error on AppVeyor
2017-10-30 12:16:53 +01:00
Anatol Belski
e305e8fb7a
Ensure SDK is checked out before asking for version
2017-10-30 12:07:27 +01:00
Anatol Belski
7bf2947016
Fix fetching the SDK version
2017-10-30 11:28:32 +01:00
Anatol Belski
c6e8c2bc9f
Fix SDK version comparison and add more verbosity
2017-10-30 10:53:12 +01:00
Anatol Belski
591e811a35
Don't use the cache dependency, SDK version is handled in script
2017-10-30 10:34:11 +01:00
Anatol Belski
bc410c2609
Remove status check on the SDK repo and add version check
...
If Appveyor fails to unzip, .git would be in an arbitrary state anyway.
Thus this check doesn't help. For the version check - rely on the branch
naming scheme in the SDK.
2017-10-30 10:14:05 +01:00
Anatol Belski
741efa7807
Catch with the latest AppVeyor unzip errors
2017-10-30 08:42:59 +01:00
Fabien Villepinte
e6aea3dc78
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
2017-10-30 06:55:00 +00:00
Anatol Belski
123b1d79eb
Re-enable AppVeyor cache
2017-10-29 10:08:31 +01:00
Joe Watkins
59d413ceb8
make sure run-tests reports exit status upon prerequisite error
2017-10-29 04:37:21 +00:00
Fabien Villepinte
938f256ed9
Fix bug #75434 Wrong reflection for mysqli_fetch_all function
2017-10-28 12:57:25 +02:00
Fabien Villepinte
51ea2cfbe1
Fix bug #75307 Wrong reflection for openssl_open function
2017-10-27 16:06:01 +01:00
Anatol Belski
15a71fe045
Skip test on PostgreSQL 10
...
The 42P18 error is not produced by the server anymore.
2017-10-27 16:19:42 +02:00
Anatol Belski
24b1bb0abd
Fix test compat for PostgreSQL 10
2017-10-27 14:58:43 +02:00
Anatol Belski
10dc1950f7
Apply upstream patch for CVE-2017-14107
2017-10-27 13:20:15 +02:00
Anatol Belski
f0a42d9fe4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 13:18:41 +02:00
Anatol Belski
f6e8ce8121
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 13:16:56 +02:00
Anatol Belski
9eb6f86765
Binary SDK 2.0.12 stable
2017-10-26 21:25:08 +02:00
Dmitry Stogov
98eee90734
Fixed indirect modification of magic ArrayAccess method arguments
2017-10-26 16:03:42 +03:00
Dmitry Stogov
502cfddf28
Backport tests
2017-10-26 14:12:08 +03:00
Dmitry Stogov
bc59289b7a
Fixed indirect modification of magic method arguments.
2017-10-26 13:05:23 +03:00
Xinchen Hui
eaeccc1d99
Fixed test
2017-10-26 10:23:43 +08:00
Xinchen Hui
d2047503cb
Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)
2017-10-26 10:07:08 +08:00
Fabien Villepinte
578ba71b3b
Fix typo in comments
2017-10-25 20:59:40 +01:00
Fabien Villepinte
e763a1cdc7
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
2017-10-25 14:39:38 +02:00
Fabien Villepinte
0fbb9f343f
Fix bug #75437 Wrong reflection on imagewebp
2017-10-25 12:54:05 +02:00
Ferenc Kovacs
9fbf13a496
Merge branch 'PHP-5.6' into PHP-7.0
2017-10-25 03:39:34 +02:00
Ferenc Kovacs
f600785f65
5.6.33 is next
2017-10-25 03:36:30 +02:00
Ferenc Kovacs
b53fb886a4
use trusty explicitly
2017-10-25 03:14:51 +02:00
Ferenc Kovacs
6125ce9d33
Merge branch 'PHP-5.6' into PHP-7.0
2017-10-25 03:13:40 +02:00
Rasmus Lerdorf
ad7ed6fe21
These tests all assume that IPV6 is available.
2017-10-25 02:21:16 +02:00
Ferenc Kovacs
787e3a1ee4
fix the travis build for PHP-5.6 using precise instead of trusty
2017-10-25 01:51:48 +02:00
Ferenc Kovacs
9839d3a953
fix the travis build for PHP-5.6 using precise instead of trusty
2017-10-25 01:47:50 +02:00
Anatol Belski
e19bf29b53
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:36:56 +02:00
Anatol Belski
45ac5edbd9
Parametrize the expected value to avoid platform false positives
2017-10-24 18:33:21 +02:00
Sara Golemon
68e27b0763
Decref default_link when clearing
2017-10-24 11:37:59 -04:00
Christoph M. Becker
22c487616f
Fixed bug #65148 (imagerotate may alter image dimensions)
...
We apply the respective patches from external libgd, work around the
still missing `gdImageClone()`, and fix the special cased rotation
routines according to Pierre's patch
(https://gist.github.com/pierrejoye/59d72385ed1888cf8894a7ed437235ae ).
We also cater to bug73272.phpt whose result obviously changes a bit.
2017-10-24 17:02:56 +02:00
Derick Rethans
8e3260376c
Update timezonemap.h, which needs to match the bundled TZ db
2017-10-24 14:55:13 +01:00
Anatol Belski
75d0ba5179
[ci skip] update NEWS
2017-10-24 14:18:59 +02:00
Anatol Belski
fadcfc8149
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] update NEWS
2017-10-24 14:17:21 +02:00
Anatol Belski
7d06a5c89f
[ci skip] update NEWS
2017-10-24 14:16:54 +02:00
Anatol Belski
968c8fc0d5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 14:04:08 +02:00
Anatol Belski
37acebcc8c
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 13:59:18 +02:00
Anatol Belski
5efbcd1882
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:38:48 +02:00
Anatol Belski
a7815e63bd
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
2017-10-24 11:28:17 +02:00
Anatol Belski
d37658be6c
Apply upstream patch for CVE-2016-1283
...
Fix bug #75207 , see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636
(cherry picked from commit d11fceab15 )
2017-10-24 11:10:11 +02:00
Sara Golemon
9fca585488
NEWS entry for pg_close() fix
2017-10-23 14:55:32 -04:00
Sara Golemon
a645af4456
Bugfix#75419 Fix clearing of default link during pg_close()
2017-10-23 14:44:00 -04:00
Derick Rethans
b2dfcb30eb
Updated to version 2017.3 (2017c)
2017-10-23 17:31:20 +01:00
Anatol Belski
1cb2079d6c
Fix memory leak
2017-10-23 15:26:08 +02:00
Anatol Belski
9f00e26008
Renaming cache folder is not a solution, too. Disable cache for now.
2017-10-23 07:13:00 +02:00
Anatol Belski
c9a14b3aee
Revert "Rename build cache folder and separate sdk"
...
This reverts commit 58dd892156 .
2017-10-23 07:12:33 +02:00
Anatol Belski
58dd892156
Rename build cache folder and separate sdk
2017-10-23 07:08:45 +02:00
Anatol Belski
eead6bf97a
Revert "Invalidate the whole cache when .appveyor.yml was changed"
...
This reverts commit 25d40602cb .
2017-10-23 07:05:48 +02:00
Anatol Belski
25d40602cb
Invalidate the whole cache when .appveyor.yml was changed
2017-10-23 07:00:36 +02:00
Jakub Zelenka
34ed75fab7
Fix clean up for openssl_pkcs12_export_to_file_basic
2017-10-22 18:54:15 +01:00
Jelle van der Waa
314bef5d03
openssl: Fix openssl_pkcs12_export extracerts test
...
Fix the openssl_pkcs12_export testcase for extracerts, the 'extracerts'
option needs to be the key of the certificate value otherwise
openssl_pkcs12_export will ignore it.
2017-10-22 18:53:30 +01:00
Anatol Belski
1d781fbdb1
With ICU 58+, set the default restriction level to high
...
Further experiments show, that CJK scripts should be ok. If there are
any issues, the moderate level can still be set later.
2017-10-21 17:21:41 +02:00
Anatol Belski
44b3bc847b
Reenable AppVeyor cache
2017-10-21 11:59:22 +02:00
Anatol Belski
0b71ae7a15
Disable AppVeyor cache to unlock build
2017-10-21 10:49:20 +02:00
Anatol Belski
5d85d967bd
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60
2017-10-21 10:29:04 +02:00
Anatol Belski
ede8cee9e6
[ci skip] Update NEWS
2017-10-20 20:46:42 +02:00
Anatol Belski
f95063647c
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
...
There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.
2017-10-20 19:23:32 +02:00
Anatol Belski
2198d38cbc
Add test for newer ICU version
2017-10-20 19:02:42 +02:00
Anatol Belski
e02c41fc72
Further test fixes for ICU >= 58
2017-10-20 18:39:46 +02:00
Anatol Belski
7240d99838
Fix version checks in tests
2017-10-20 15:23:09 +02:00
Anatol Belski
877e0b04bc
Sync some tests for compat with ICU 58.1+
2017-10-20 13:55:32 +02:00
Anatol Belski
9071ff5c87
Add skip for incompatible ICU version
2017-10-20 11:27:54 +02:00
Nester
80c3b078b8
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination
2017-10-19 12:02:22 +01:00
Peter Kokot
aa143515d6
Update .editorconfig with some more configs
...
Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt,
and Markdown files based on the current most used coding style in the
php-src repository.
2017-10-19 11:53:37 +01:00
Ryan Volz
4e85dd0346
Escape newline on curl config.m4
2017-10-19 11:39:54 +01:00
Anatol Belski
5f7707cc8a
Move to php-sdk-2.0.0beta3 for Appveyor
...
Supposed to fix sporadic tool crashes on the test image
2017-10-18 17:45:33 +02:00
Anatol Belski
d82805f097
Backport 7ff13badda into 7.0+
2017-10-18 16:02:56 +02:00
Anatol Belski
9891f11f84
One more folder to delete in AppVeyor image
2017-10-17 15:32:47 +02:00
Tianfang Yang
f955cff54c
Fixed valgrind issue
2017-10-16 19:20:24 -04:00
Tianfang Yang
aad4544e95
Fixed valgrind issue
2017-10-16 19:16:30 -04:00
Anatol Belski
7778106f40
Move to next binary SDK version for AppVeyor
2017-10-16 18:05:56 +02:00
Dmitry Stogov
8bfe748fb0
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
2017-10-16 19:00:12 +03:00
Jakub Zelenka
999fe36d40
Properly fix #75363 and address some other leaks with cert
2017-10-15 20:25:58 +01:00
Jelle van der Waa
5acb8381b2
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)
...
enchant_broker_get_dict_path segfaults when the dict path is not setup,
instead of segfaulting return false instead.
2017-10-15 13:57:44 +02:00
Christoph M. Becker
fb09021432
Fixed bug #75365 (Enchant still reports version 1.1.0)
...
Since Enchant is bundled, we make `PHP_ENCHANT_VERSION` an alias of
`PHP_VERSION` and also drop the rather meaningless revision hash from
the PHP info.
2017-10-15 13:19:17 +02:00
Xinchen Hui
816758eda2
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
2017-10-15 10:28:28 +08:00
Dmitry Stogov
397f5cb687
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)
2017-10-13 13:56:06 +03:00
Bob Weinand
a55af1e271
Fixed bug #75363 (openssl_x509_parse leaks memory)
2017-10-12 12:30:20 +02:00
Anatol Belski
23e97b0222
It looks like i should've taken joint response on ext/fileinfo long ago
2017-10-11 22:21:34 +02:00
Anatol Belski
d432bdb4ab
Put php-sdk-2.0.12beta1 for AppVeyor
...
Quite some tool upgrades there, especially re2c 1.0.2
2017-10-11 20:27:27 +02:00
Christoph M. Becker
787bf7eaf7
Merge branch 'pull-request/2798' into PHP-7.0
...
* pull-request/2798:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:28:30 +02:00
Christoph M. Becker
b497b6edf9
Merge branch 'pull-request/2799' into PHP-7.0
...
* pull-request/2799:
Use PHP_VERSION for exif
2017-10-11 14:42:46 +02:00
Christoph M. Becker
c8eccf8451
[ci skip] Add NEWS entry for bug #75349
2017-10-10 13:54:52 +02:00
Anatol Belski
d1fc9b425f
Fix re2c version detection
2017-10-10 10:52:52 +02:00
Anatol Belski
51658bac35
Move dev to 7.0.26
2017-10-10 08:26:04 +02:00
Anatol Belski
f48abfa902
Fix array access on undeclared properties in DateInterval
2017-10-09 15:35:38 +02:00
Sara Golemon
843e492c68
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
2017-10-07 10:08:34 -04:00
Christoph M. Becker
ec3d864784
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
...
Of course, reflection has to know that as well.
2017-10-06 16:45:07 +02:00
Mathieu CARBONNEAUX
6b9ccda936
Fixed bug #75311
2017-10-05 12:24:57 +02:00
Peter Kokot
74124de048
Use PHP_VERSION for exif
2017-10-04 23:25:36 +02:00
Dmitry Stogov
1195de87ff
Bumped ext/oci8 version
2017-10-04 09:56:25 +03:00
Dmitry Stogov
ee50fcfa27
Merge branch 'oci8_fix' into PHP-7.0
...
* oci8_fix:
Use dereferenced value
Fixed compilation errors
Restored code for BOOL variables
Fixed few ext/oci8 bugs
2017-10-04 09:49:40 +03:00
Dmitry Stogov
24e595bf26
Use dereferenced value
2017-10-03 10:49:56 +03:00
Viktor Szépe
e995b7e475
Typo in status.html
...
feet needs -> fit needs
2017-10-03 07:21:53 +01:00
Peter Kokot
6d1dd8b0af
Fix bug #74905
2017-10-03 07:18:38 +01:00
Peter Kokot
7b248a1b32
Remove ident gitattribute for ext/zip/php_zip.c
2017-10-03 07:14:50 +01:00
Dmitry Stogov
4d69587035
Fixed compilation errors
2017-10-03 09:08:28 +03:00
Dmitry Stogov
c8dea7ae1e
Restored code for BOOL variables
2017-10-02 17:04:26 +03:00
Fabien Villepinte
9d9873b3b5
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-01 11:27:16 +02:00
Andrea Faulds
abefb6dfe7
Fix bug #75290
2017-09-29 21:38:08 +01:00
Anatol Belski
d11fceab15
Apply upstream patch for CVE-2016-1283
...
Fix bug #75207 , see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636
2017-09-28 15:40:49 +02:00
Peter Kokot
29e673f8ed
Fix CGI m4 config message when CGI is disabled
2017-09-27 06:20:09 +01:00
Peter Kokot
6d0391b1a4
Fix bug #75248 and #75251
2017-09-27 06:15:12 +01:00
Nester
a680d701ce
Fixed #75220 - Segfault when calling is_callable on parent
2017-09-27 06:07:24 +01:00
Peter Kokot
3752d18ffe
Remove some old sapi/apache_hooks and sapi/apache leftovers
2017-09-25 21:56:39 +02:00
Xinchen Hui
b05ff14a9a
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
2017-09-24 17:24:11 +08:00
Xinchen Hui
db63367871
Compiler warning
2017-09-24 17:19:05 +08:00
Nikita Popov
73d6456d7d
Fixed bug #75252
2017-09-24 08:53:27 +02:00
Anatol Belski
da2f581833
Fix thread safety
2017-09-21 10:32:09 +02:00
Andrea Faulds
418f97443a
Fix bug #75236
2017-09-21 00:02:52 +01:00
Dmitry Stogov
9a01fe712a
Fixed few ext/oci8 bugs
2017-09-20 16:46:04 +03:00
Christoph M. Becker
eedc060c92
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
...
We must not overwrite the SPL_DLLIST_IT_FIX flag when changing the
iterator mode.
2017-09-20 15:46:04 +02:00
Anatol Belski
9641586efa
Fix the version check causing the test fail
2017-09-18 12:04:31 +02:00
Anatol Belski
7670590efd
Update lib_versions.txt
2017-09-18 09:34:58 +02:00
Anatol Belski
7910c1dee9
Move to next binary SDK version for AppVeyor
2017-09-15 23:04:15 +02:00
Dmitry Stogov
d7a10f0e32
Properly update string type flags
2017-09-13 01:45:57 +03:00
Dmitry Stogov
83d8ebc991
Revert "Properly update string type flags"
...
This reverts commit 99b1a62d55 .
2017-09-13 00:14:39 +03:00
Dmitry Stogov
2874fa8fb0
Fixed test
2017-09-12 23:47:22 +03:00
Dmitry Stogov
99b1a62d55
Properly update string type flags
2017-09-12 23:42:51 +03:00
Anatol Belski
7674b5e574
Fix test failure on 32-bit
2017-09-12 18:17:28 +02:00
Remi Collet
35deb4c88b
drop symbol definition, and not defined anywhere
2017-09-12 13:03:18 +02:00
Anatol Belski
3d1cb7e32c
[ci skip] update NEWS
2017-09-12 12:17:12 +02:00
Remi Collet
b09497c0e2
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:12:06 +02:00
Anatol Belski
5cf215536b
Move dev to 7.0.25
2017-09-12 09:02:01 +02:00
Anatol Belski
194547f591
[ci skip] Fix news entry format
2017-09-12 08:35:10 +02:00
jhdxr
3e11b7fc21
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:05:58 +01:00
Christoph M. Becker
9aa6898b9b
Fixed bug #46781 (BC math handles minus zero incorrectly)
...
Actually, there is no negative zero at all. We obey Postel's law, and
still accept negative zeroes, but we store them as positive zeroes
after the conversion from string, i.e. we normalize before further
processing.
2017-09-11 23:44:23 +02:00
Anatol Belski
d103802003
Fork test to keep up with libxsl >= 1.1.30
...
The behavior of date parsing has changed and is reflected in the
changelog. Invalid dates are not accepted, in particular dates with a
negative year, as in this test.
2017-09-11 18:14:51 +02:00
Anatol Belski
04a6bbae6c
Add symbol to libxml exports
2017-09-11 17:35:25 +02:00
Anatol Belski
cab41ecb93
Fix test compat with libxml2 2.9.5
...
One warning disappeared, but the flow is still valid.
2017-09-11 16:12:04 +02:00
Anatol Belski
3549d9184a
Fix test compat with libxml2 2.9.5
...
From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
2017-09-11 14:32:54 +02:00
Anatol Belski
5f9ae45e22
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:12:19 +02:00
Christoph M. Becker
4b746fce1c
Fixed bug #73730 (textdomain(null) throws in strict mode)
...
The $text_domain parameter may be NULL, which we have to cater to
explicitly with regard to strict_types.
2017-09-10 18:39:29 +02:00
Christoph M. Becker
3fd08a1595
Fix bug75178.phpt on Windows
...
bug75178.phpt fails on Windows, because the stderr output is not
interspersed with stdout output there, but rather is appended to the
end. The fix is analogous to bug72093.phpt.
2017-09-09 16:46:32 +02:00
Christoph M. Becker
44eec946e8
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
...
Since `bcpowmod()` does not support non-integral operands, we have to
truncate these in addition to emitting a respective warning. We also
have to work with the truncated values in the following.
We recognize that the division by one to enforce the truncation is
actually overkill, but we stick with it for now, and shall tackle the
issue for PHP 7.3.
2017-09-09 13:18:26 +02:00
Sara Golemon
0413feb29c
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:35:54 -04:00
Sara Golemon
f18cf46d07
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:25:25 -04:00
Christoph M. Becker
b2919853f8
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
...
`x mod 1` is always zero; we have to take the scale into account,
though.
2017-09-07 00:30:05 +02:00
Christoph M. Becker
dea41f3c3a
Fixed bug #44995 (bcpowmod() fails if scale != 0)
...
`bc_divmod()` is supposed to do integer division, so we must not apply
a scale factor here.
2017-09-06 23:30:53 +02:00
Nikita Popov
42549b7844
Add missing null termination
2017-09-05 18:13:50 +02:00
Bouke van der Bijl
cd9d90f4d4
Fixed bug #70470
2017-09-05 16:23:32 +02:00
Anatol Belski
24da62d342
Fix command
2017-09-02 16:56:52 +02:00
Christoph M. Becker
e20a6b0213
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
...
We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.
We also parenthesize the inner ternary operation to avoid confusion.
2017-09-02 00:04:02 +02:00
Anatol Belski
a86df6bcb0
Make for exclusion per regex
2017-08-31 23:56:42 +02:00
Anatol Belski
6ec494016b
Extend ignore list for DLLs to not to look after
...
fix typo
2017-08-31 20:54:11 +02:00
Dylan K. Taylor
2e77f5eed3
Fix nmake install fails when there are no shared extensions
...
check for existence instead of muting everything
check for exe existence before trying to copy
2017-08-31 20:32:36 +02:00
Dylan K. Taylor
4e9c3e9396
Copy dependencies of the core DLL in nmake snap for statically-compiled extensions when packaging builds
2017-08-31 19:46:47 +02:00
Remi Collet
3239f6d679
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:55:45 +02:00
Anatol Belski
0966f9de41
Move to next bin SDK version for AppVeyor
2017-08-28 13:12:51 +02:00
Christoph M. Becker
499f5480f1
Fixed bug #75124 (gdImageGrayScale() may produce colors)
...
We have to make sure to avoid alpha-blending issues by explicitly
switching to `gdEffectReplace` and to restore the old value afterwards.
This is a port of <https://github.com/libgd/libgd/commit/a7a7ece >.
2017-08-27 13:53:39 +02:00
Thomas Punt
be9edd83c2
Fixed bug #75090
2017-08-25 22:02:19 +02:00
Anatol Belski
55db2c31cd
update libs versions
2017-08-25 11:28:12 +02:00
Remi Collet
b7e96f8e0e
From documentation, only the sign of returned value is relevant
...
With recent glibc, memcmp sometime return a negative value instead of -1
2017-08-24 10:27:38 +02:00
Tianfang Yang
4bf1a11c07
Merge branch 'pull-request/2534' into PHP-7.0
...
* pull-request/2534:
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:10:58 -04:00
Ingmar Runge
079bc324cd
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:09:35 -04:00
Andrea Faulds
61538ebadc
Fixed bug #75097 (gethostname fails if your host name is 64 chars long)
...
PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.
2017-08-19 20:31:54 +01:00
Anatol Belski
3cad07b84f
[ci skip] update NEWS
2017-08-19 02:40:17 +02:00
John Boehr
71b12940d0
Fix issues with phpt and EXTENSION on windows (BUG 75042)
...
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
Fix skipifs
2017-08-19 01:59:48 +02:00
Anatol Belski
ba59b6f11b
Fix .pgd name for ts build
2017-08-19 00:31:04 +02:00
Remi Collet
b28912b0f7
NEWS
2017-08-18 14:52:11 +02:00
Remi Collet
a7594cb74f
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:51:44 +02:00
Anatol Belski
065551bc9c
Fix phpize exit status
...
Configure and others are generated, not copied. Seems there's yet much
more to do wrt exit status catching.
2017-08-18 11:54:56 +02:00
Anatol Belski
e7f4e67155
Add dump env target
2017-08-18 11:08:27 +02:00
Derick Rethans
60a6feed07
Revert "Upgrade timelib to 2017.05beta7"
...
This reverts commit bdd56f3107 .
2017-08-16 15:19:18 +01:00
Derick Rethans
8af70958fc
Revert "Remove removed header files from configuration files."
...
This reverts commit 3df753c6ca .
2017-08-16 15:19:11 +01:00
Derick Rethans
5d2c303438
Fixed stupid test
2017-08-16 11:14:41 +01:00
Derick Rethans
7829f9b1d2
Added timelib version to phpinfo()
2017-08-16 09:51:21 +01:00
Remi Collet
01735f4d9f
cleanup
2017-08-16 07:46:07 +02:00
Derick Rethans
3df753c6ca
Remove removed header files from configuration files.
2017-08-15 20:22:41 +01:00
Derick Rethans
bdd56f3107
Upgrade timelib to 2017.05beta7
2017-08-15 14:10:23 +01:00
Anatol Belski
3af6201224
move dev to 7.0.24
2017-08-15 09:33:30 +02:00
Xinchen Hui
d8c80af71e
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:34:13 +08:00
Tianfang Yang
2def85688d
Merge branch 'syncoci8' into PHP-7.0
2017-08-14 21:16:34 -04:00
Tianfang Yang
259477826c
Prepare for PECL release
2017-08-14 21:14:14 -04:00
Anatol Belski
ab07265573
Test cleanup improvements, files might be locked in the test process
2017-08-14 13:08:04 +02:00
Anatol Belski
71fd58652f
fix test cleanup
2017-08-14 12:55:14 +02:00
Tianfang Yang
f555224743
Sync OCI8 on PHP 7.x branches
2017-08-13 23:44:24 -04:00
Christoph M. Becker
f64be0b013
Fixed bug #73793 (WDDX uses wrong decimal seperator)
...
The WDDX specification[1] requires to serialize floats with a decimal
point, but `snprintf()` is locale-dependent and may use a decimal
comma. We fix that afterwards by replacing an eventual comma with a
point.
[1] <http://xml.coverpages.org/wddx0090-dtd-19980928.txt >
2017-08-13 20:51:53 +02:00
Christoph M. Becker
472b25921e
Skip this test if ext/session is not available
2017-08-13 18:05:45 +02:00
Nikita Popov
1a23ebc1ff
Fixed bug #74103 and bug #75054
...
Directly fail unserialization when trying to acquire an r/R
reference to an UNDEF HT slot. Previously this left an UNDEF and
later deleted the index/key from the HT.
What actually caused the issue here is a combination of two
factors: First, the key deletion was performed using the hash API,
rather than the symtable API, such that the element was not actually
removed if it used an integral string key. Second, a subsequent
deletion operation, while collecting trailing UNDEF ranges, would
mark the element as available for reuse (leaving a corrupted HT
state with nNumOfElemnts > nNumUsed).
Fix this by failing early and dropping the deletion code.
2017-08-12 13:11:35 +02:00
Andrea Faulds
b59718bdc4
Fix bug #74725 (html_errors=1 breaks unhandled exceptions)
2017-08-12 01:37:20 +01:00
Xinchen Hui
b06f8cb58b
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:28:53 +08:00
Anatol Belski
afb20f4895
Remove mistakingly added line
2017-08-08 19:37:55 +02:00
Anatol Belski
075986f214
Sync makefile options for phpize
...
- run target
- debugger mode
2017-08-08 17:58:10 +02:00
Darek Slusarczyk
618dcd6520
JSON: fix config.w32 / Install headers on windows
2017-08-08 15:52:53 +02:00
Anatol Belski
4c9fe5a490
Unify EOL
2017-08-07 17:03:17 +02:00
Anatol Belski
d058e30917
fix test target for phpize
2017-08-07 16:45:02 +02:00
Remi Collet
159e5c1048
use AC_DEFINE + win32
2017-08-04 13:21:28 +02:00
Anatol Belski
9689796c10
Increase expected timing on Travis
...
If 5ms to read/write 8 bytes still has issue, probably next this test
should skip on Travis to avoid false positive fails.
2017-08-03 15:05:22 +02:00
Anatol Belski
9ba2cfd33e
update NEWS
2017-08-02 21:49:21 +02:00
Andreas Treichel
c2b8066efb
Bug #74975 : Different serialization for classes
2017-08-02 18:49:26 +02:00
Nikita Popov
9ca1b2a775
Merge remote-tracking branch 'php-src/PHP-7.0' into PHP-7.0
2017-08-02 18:16:18 +02:00
Fabien Villepinte
2cc1cbf2f4
Fix Bug #75001 : Wrong reflection on mb_eregi_replace
2017-08-02 18:08:42 +02:00
Fabien Villepinte
15abb2b56e
Fix test transliterator_create_inverse_basic.phpt
2017-08-02 18:04:43 +02:00
George Wang
e78712791d
take care of compile warnings.
2017-08-02 11:59:41 -04:00
Derick Rethans
b112d09013
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:40:48 +02:00
Remi Collet
666cb6c802
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:01:56 +02:00
clwu
b2934d2612
fixed #endif comments
2017-08-02 08:35:27 +01:00
Julien Pauli
0c0cbb43da
Updated NEWS
2017-08-01 16:01:43 +02:00
Julien Pauli
64e6ddc7f7
Fix #75015 . Crash in SPL destructors
2017-08-01 15:59:54 +02:00
Anatol Belski
a8e25fdbf8
Test to cover the change in ce1a0d97
2017-08-01 12:49:45 +02:00
Christoph M. Becker
2d96fdd54f
Shrink another large image
...
This image is only used for testing `BITMAPV5HEADER` support in
`getimagesize()` (see bf9ad4e ). Therefore it is not necessary to have
a big image; a single pixel is sufficient.
2017-07-30 16:26:06 +02:00
Christoph M. Becker
74a696d53b
Shrink test image
...
The last (`IDAT`) chunk in this file starting at `0x5e265` reports to
have a length of `0x2000` bytes, but there are only `0x1D9B` bytes
left. Simply cutting the first `IDAT` chunk which starts at `0x31` and
also reports a length of `0x2000` at the same offset should produce the
same test results (while reducing the file size to 7.628 bytes).
2017-07-30 14:43:37 +02:00
Christoph M. Becker
4d6f808c16
Skip this test if ext/gd is not available
2017-07-30 13:24:10 +02:00
Nikita Popov
e3d25e78eb
Fixed bug #62934
2017-07-28 13:02:25 +02:00
Anatol Belski
b01336814d
relax test on travis
2017-07-28 00:27:11 +02:00
Pedro Magalhães
34e5d3a87d
Simpler fix for #74974
2017-07-27 09:25:38 -04:00
Xinchen Hui
9fcfe52d03
Fixed test
2017-07-27 12:50:17 +08:00
Xinchen Hui
e36c04ef48
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:23:06 +08:00
Sara Golemon
c7aa8ba0ee
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:55:23 -04:00
Anatol Belski
3306b3aa60
[ci skip] update NEWS
2017-07-26 17:29:37 +02:00
Anatol Belski
bd00fe81cc
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:19:41 +02:00
Benjamin W. Broersma
6b1fbafdf0
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:46:50 +01:00
Christopher Jones
de65a2243f
Expose oci_unregister_taf_callback()
2017-07-26 15:22:44 +10:00
Carsten Brandt
3fd7d819b8
Fixed finding CURL on systems with multiarch support
...
fixes https://bugs.php.net/bug.php?id=74125
This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.
It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:
> `/usr/include/<triplet>`: used for arch-varying headers
[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation
2017-07-25 06:58:11 +01:00
Joe Watkins
69b48f83df
minor loop optimizations, closes #2633
2017-07-25 06:47:58 +01:00
Anatol Belski
cdf9178c43
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:07:15 +02:00
Peter Kokot
924ff6164e
Update copyright year to 2017
2017-07-24 17:23:57 +01:00
Anatol Belski
a769d873f8
Add test for bug #74903
2017-07-24 17:02:10 +02:00
Jelle van der Waa
23c124ec75
openssl: Add openssl_pkcs12_export_to_file tests
...
Add basic tests for openssl_pkcs12_export_to_file.
2017-07-24 10:46:42 +01:00
Peter Kokot
c4e11c8ef3
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:15 +01:00
Christoph M. Becker
418da85f15
Fix #71606 : Segmentation fault mb_strcut with HTML-ENTITIES
...
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
2017-07-23 12:19:27 +02:00
Sara Golemon
775b4b54d8
Use compatability zend_isnan() instead of POSIX isnan()
...
s/isnan/zend_isnan/g
2017-07-22 21:32:44 -04:00
Sara Golemon
c562d44321
Fix compile-time optimization of NAN comparisons
2017-07-22 21:22:51 -04:00
Anatol Belski
ad12da4908
[ci skip] update NEWS
2017-07-22 14:12:45 +02:00
Bob Weinand
bad5d0d6c5
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
2017-07-22 11:14:00 +02:00
Anatol Belski
e405ff59f9
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:35:26 +02:00
Xinchen Hui
256ec5bebb
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Move the define into the header to reduce diff for future upgrade
2017-07-21 18:16:37 +08:00
Xinchen Hui
3a7b0027f3
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:16:11 +08:00
Anatol Belski
9b3c26d4f4
Move the define into the header to reduce diff for future upgrade
2017-07-21 09:12:06 +02:00
Xinchen Hui
95d2908814
Fixed bug #74947 (Segfault in scanner on INF number)
2017-07-21 11:56:49 +08:00
Anatol Belski
ce06677069
increment sdk version
2017-07-20 22:06:34 +02:00
Anatol Belski
ecad9a470f
remove another cygwin instance in AppVeyor run
2017-07-20 20:39:04 +02:00
Anatol Belski
f67a3cc9bd
fix dir separator in test
2017-07-19 22:41:09 +02:00
Sara Golemon
c9fd093127
Do not allow using traits/interfaces/abstract classes as stream wrappers
...
Fixes https://bugs.php.net/bug.php?id=74951
2017-07-19 14:00:00 -04:00
Lior Kaplan
2cca43b3ab
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 17:23:22 +03:00
Dmitry Stogov
e5beb4e828
Reset globals on startup or restart
2017-07-19 15:35:10 +03:00
andrewnester
afc22828ea
Fixed #74699 - Broken ArrayIterator unserializing
2017-07-18 22:14:11 +02:00
YaoGuai
51cdd3dc50
Fix check of mysql_commit() return value
...
For mysql_commit() everything non-zero is an error.
2017-07-18 21:45:02 +02:00
Anatol Belski
0da10134f2
Exclude ext/ftp from AppVeyor test run
...
as the tests depend on fork() and otherwise an extra setup would be
needed anyway.
2017-07-18 12:08:31 +02:00
Anatol Belski
649027b963
move to 7.0.23 for dev
2017-07-18 10:25:40 +02:00
Anatol Belski
4ef9f536ba
fix missing var for phpize
...
(cherry picked from commit 36c3d71407 )
2017-07-17 19:38:50 +02:00
Peter Kokot
4d08b9dac0
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:54:27 +01:00
Peter Kokot
0db20a7cb1
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:50:59 +01:00
Christopher Jones
c1504b81d3
Bump OCI8 version for recent patch
2017-07-14 14:13:08 +10:00
Anatol Belski
2f606dc5e8
Guard against AppVeyor losing deps issue
...
Possibly due to concurrent build cache updates or some changes in
the remote image. Some locking mechanism still could be required.
2017-07-12 15:37:40 +02:00
Anatol Belski
04cc2f6473
increase poll timeout as false positives mitigation
2017-07-12 14:38:12 +02:00
Anatol Belski
3bcab31749
update NEWS
2017-07-10 22:49:55 +02:00
Anatol Belski
b47cff48de
switch to next binary tools sdk version
2017-07-10 21:44:43 +02:00
Anatol Belski
a797421e98
Revert "Add more constants, improve comments, and add tests"
...
This reverts commit 0c4f11ecaa .
2017-07-10 16:53:56 +02:00
Pedro Magalhães
2689917b17
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:55:31 +01:00
jhdxr
5cf54f6073
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:53:22 +01:00
Anatol Belski
62700f76cb
[ci skip] update NEWS
2017-07-09 15:01:37 +02:00
Anatol Belski
b5338c0b7d
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-08 23:52:22 +02:00
Anatol Belski
0fdceb6cd5
update libs versions
2017-07-08 13:41:50 +02:00
Christopher Jones
5ca02ca494
Fix NEWS entry location
2017-07-07 12:13:21 +10:00
Ferenc Kovacs
af07b76ccf
Merge branch 'PHP-5.6' into PHP-7.0
2017-07-06 00:12:05 +02:00
Ferenc Kovacs
390f64701d
add missing NEWS entry for #74087 and also fix the formatting
2017-07-06 00:10:07 +02:00
Ferenc Kovacs
7991a88675
move NEWS entry to the correct place, also bump the version
2017-07-06 00:05:14 +02:00
Anatol Belski
aa3fceeaad
[ci skip] sync NEWS
2017-07-05 12:31:21 +02:00
Remi Collet
8b1559b9f4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:02:21 +02:00
Remi Collet
55b880070c
NEWS for oniguruma
2017-07-05 09:26:55 +02:00
Remi Collet
703be4f77e
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:26:06 +02:00
Remi Collet
27a743b82b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:57 +02:00
Remi Collet
bdf7393ddb
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:49 +02:00
Remi Collet
2693e52113
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:39 +02:00
Remi Collet
4e68b2c52b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:27 +02:00
Stanislav Malyshev
54840f9c8f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Improve fix for #74145
2017-07-04 21:11:15 -07:00
Stanislav Malyshev
f269cdcd4f
Improve fix for #74145
2017-07-04 21:10:08 -07:00
Stanislav Malyshev
f76a6cd023
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix tests
2017-07-04 21:05:06 -07:00
Stanislav Malyshev
6b18d956de
Fix wddx
2017-07-04 20:19:34 -07:00
Stanislav Malyshev
e46d589624
Fix tests
2017-07-04 20:12:57 -07:00
Stanislav Malyshev
0496f5407f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 19:44:51 -07:00
Nikita Popov
3a25a56a92
Fixed bug #74111
2017-07-04 19:38:42 -07:00
Stanislav Malyshev
0525574913
Fix bug #74603 - use correct buffer size
2017-07-04 19:35:56 -07:00
Stanislav Malyshev
73cabfedf5
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 19:30:56 -07:00
Stanislav Malyshev
12107d619b
Update NEWS
2017-07-04 19:30:29 -07:00
Stanislav Malyshev
f7f4fd4706
Fix bug #74087
...
Ported from https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
2017-07-04 19:21:28 -07:00
Derick Rethans
e8b7698f5e
Fixed parsing of strange formats with mixed month/day and time strings
2017-07-04 19:19:30 -07:00
Stanislav Malyshev
2aae60461c
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
2017-07-04 19:06:42 -07:00
Nikita Popov
f8c514ba6b
Fixed bug #74111
2017-07-04 19:06:16 -07:00
Christoph M. Becker
8dc4f4dc9e
Fix #74435 : Buffer over-read into uninitialized memory
...
The stack allocated color map buffers were not zeroed before usage, and
so undefined palette indexes could cause information leakage.
2017-07-04 19:00:57 -07:00
Stanislav Malyshev
5f8380d33e
Fix bug #74603 - use correct buffer size
2017-07-04 19:00:03 -07:00
Stanislav Malyshev
89637c6b41
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 12:32:06 -07:00
Remi Collet
4b38feabe7
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:25:59 +02:00
Anatol Belski
a29264eb8c
fix datatype
2017-07-04 16:37:17 +02:00
Anatol Belski
4903f044d3
[ci skip] sync NEWS
2017-07-04 12:12:51 +02:00
Anatol Belski
ce64b82ebb
update NEWS
2017-07-04 11:29:00 +02:00
Nikita Popov
d02f953faf
Fixed bug #74101 and bug #74614
2017-07-04 10:39:41 +02:00
Anatol Belski
d0b7eed0c9
yet one C++ compat fix
2017-07-01 20:05:11 +02:00
Anatol Belski
c71b773a62
fix C++ compat
2017-07-01 18:36:43 +02:00
Bob Weinand
e3cc15daf2
Fixed bug #74840 (Opcache overwrites argument of GENERATOR_RETURN within finally)
2017-07-01 11:52:03 +02:00
Julien Pauli
2a1ad88538
Updated NEWS
2017-06-29 20:23:37 +02:00
Julien Pauli
3f4340a796
Fix bug #74832 , crash in extension loading
2017-06-29 20:22:21 +02:00
Adam Baratz
08089f014c
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:39:50 +02:00
George Wang
751d19f698
[BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies.
...
[BUGFIX] when lsapi used the php_value has higher priority then ini_set when called from the script by itself .
2017-06-27 23:14:36 -04:00
Nikita Popov
604827b694
Fixed bug #73173
...
Patch by tloi at fortinet dot com.
2017-06-25 20:17:06 +02:00
Bob Weinand
cfee5116dd
Expose inflate_get_status() and inflate_get_read_len() functions
2017-06-25 20:12:45 +02:00
Matthew Trescott
0c4f11ecaa
Add more constants, improve comments, and add tests
2017-06-25 20:12:45 +02:00
Nikita Popov
2fddc4a7f1
Fixed bug #73900
2017-06-25 19:48:17 +02:00
Nikita Popov
de66e80d75
Don't leave holes in func_get_args() and backtraces
...
Argument lists should always be continuous and hole-free, even if
local variables are unset. Replace UNDEF values with NULLs.
2017-06-25 15:27:45 +02:00
Bob Weinand
fda0a8b735
Fixed bug #73944 (inflate_init() dictionary option) - add NEWS entry
2017-06-25 10:57:36 +02:00
wapmorgan
cd1869bcf2
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
2017-06-25 10:53:28 +02:00
Stanislav Malyshev
3eecee16d1
Update NEWS
2017-06-24 23:32:59 -07:00
ideal
4d6100569b
Fix error if compiled without -fpermissive flag.
2017-06-23 13:31:23 +02:00
danchukas
b255b97e43
fix method "eof"
...
replace "eof" with "feof"
because:
1) http://php.net/manual/ru/function.feof.php
2) Error: Call to undefined function eof()
2017-06-23 07:53:00 +01:00
Thomas Punt
b1301a0686
Remove superfluous branch
2017-06-23 07:51:32 +01:00
Peter Kokot
660250f4da
Fix configure error
...
This patch fixes configure error on some systems such as Alpine.
```
line 3472: test: =: unary operator expected
```
One of the fixes has been suggested also here already:
https://bugs.php.net/bug.php?id=39835
Thank you for considering merging this.
2017-06-22 14:01:18 +01:00
jhdxr
81c2a4b9ba
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:56:49 +01:00
jhdxr
db287b2303
fix bug #74780 parse_url() borken when query string contains colon
2017-06-22 11:52:06 +01:00
Christopher Jones
b3bd379198
Merge branch 'pull-request/2532' into PHP-7.0
...
* pull-request/2532:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:55:28 +10:00
Christopher Jones
cda87977a5
Add bug #74625 to package.xml
2017-06-21 15:50:51 +10:00
Christopher Jones
b4c5f20c46
Add IN bind case to bug74625.phpt
2017-06-21 15:47:32 +10:00
Ingmar Runge
fa3615f14e
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:44:55 +10:00
Christopher Jones
3fbbcf7f93
Remove use of obsolete create_function()
2017-06-21 15:02:58 +10:00
Christopher Jones
1bdc290017
Update OCI8 version test and package.xml
2017-06-21 14:29:30 +10:00
Stanislav Malyshev
18b6de7a91
Fix bug #73634 - grapheme_strpos illegal memory access
2017-06-20 13:29:57 -07:00
Stanislav Malyshev
14c422a32f
Fix bug #73648 - integer overflow in substr
2017-06-20 13:29:48 -07:00
Anatol Belski
6a854e2740
Split requested size as expected by CreateFileMapping.
...
Thus fixing ext\opcache\tests\log_verbosity_bug.phpt fails on 64-bit.
2017-06-20 15:40:25 +02:00
Anatol Belski
b4fa2ba295
move next
2017-06-20 14:05:50 +02:00
Nikita Popov
0f8cf3b849
Fix bug #73807
2017-06-20 00:23:44 -07:00
Christopher Jones
27d6814351
PDO_OCI: support IC 12.2 in configure option
2017-06-20 16:00:22 +10:00
Christopher Jones
64447030bb
Bump OCI8 version
2017-06-20 14:54:45 +10:00
Christopher Jones
073ac50374
Merge branch 'pull-request/1569' into PHP-7.0
...
* pull-request/1569:
add test for bug #70700
2017-06-20 14:43:50 +10:00
Chuck Burgess
98bcc0bd43
add test for bug #70700
2017-06-20 14:43:20 +10:00
Christopher Jones
135265ef69
Update NEWS
2017-06-20 14:37:16 +10:00
Christopher Jones
ec6ac50812
Merge branch 'pull-request/2459' into PHP-7.0
...
* pull-request/2459:
oci8 - Implementation of Oracle TAF Callback
2017-06-20 14:33:06 +10:00
KoenigsKind
1b797f7ad3
oci8 - Implementation of Oracle TAF Callback
...
Adds support for the Transparent Application Failover Callback.
The php_oci_connection struct got a char* added which will contain the
callback function, it should be set to PHP_OCI_TAF_DISABLE_CALLBACK at
the end of a php request for permanent connections so that, if a TAF
callback occurs, no userspace function will be called.
Maybe add support for registering object functions (via array),
currently the register function only accepts a string. I didn't know how
to implement it correctly. As a failover occurs very rarely it might be
better to not keep the cache when saving the zend_fcall_info.
Things to do
[ ] config.m4 needs to compile oci8_failover.c
[ ] Check if correctly implemented (especially for multithreading)
[ ] Add support for registering callback function via array
2017-06-20 14:32:52 +10:00
Christopher Jones
a6c67a088a
Merge branch 'pull-request/1566' into PHP-7.0
...
* pull-request/1566:
add test for bug #60994
2017-06-20 14:23:20 +10:00
Chuck Burgess
51a7e35c24
add test for bug #60994
2017-06-20 14:22:28 +10:00
Jelle van der Waa
509f5097ab
openssl: Add openssl_pkcs12_(read, export) tests
...
Add basic tests for openssl_pkcs12_read and openssl_pkcs12_export.
openssl_pkcs12_export has two tests disable which currently do not work
as intended and should be fixed.
2017-06-18 19:02:51 +01:00
Jakub Zelenka
887fabe78f
Regenerate and bump re2c version to 0.16
...
It also matches the re2c version for Zend language scanner
2017-06-18 18:26:48 +01:00
Anatol Belski
4a39d33ee5
Next round on AppVeyor reliability.
2017-06-17 01:57:47 +02:00
Jelle van der Waa
f19dfac830
openssl: Fix spkstr and spki leak in openssl_spki_new
...
spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresource is not
NULL, apart from that OPENSSL_free actually free's the allocated memory
by OPENSSL_malloc inside OpenSSL.
Valgrind reports 768 bytes leaked in openssl_spki_new when running the
testsuite. Remove the keyresource check to always free spki.
2017-06-16 16:51:50 +01:00
Dmitry Stogov
648be8600f
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
2017-06-13 17:15:47 +03:00
Remi Collet
c4d7cfa536
NEWS
2017-06-13 08:50:02 +02:00
Remi Collet
78970d5338
Fix bug #74705 for collator_get_sort_key
2017-06-13 08:48:17 +02:00
Tyson Andre
5f07a895cc
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
...
https://secure.php.net/manual/en/collator.getsortkey.php
2017-06-13 08:46:47 +02:00
Remi Collet
aea8c6ddc1
NEWS
2017-06-13 08:14:34 +02:00
Tyson Andre
81b2533a68
Fixes bug #74708 reflection signatures for random_bytes+random_int
...
They have 1 and 2 required parameters, respectively
See https://secure.php.net/manual/en/function.random-int.php
2017-06-13 08:11:25 +02:00
Xinchen Hui
3968ffe7b3
Forgotten NEWs update
2017-06-13 12:20:42 +08:00
Xinchen Hui
e05f79c3de
Merge branch 'bug74600' of https://github.com/manuelm/php-src into PHP-7.0
...
* 'bug74600' of https://github.com/manuelm/php-src :
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
2017-06-12 17:12:15 +08:00
Manuel Mausz
91f129ebf7
Add simple cli test for PATH/HOST ini sections
2017-06-09 23:28:19 +02:00
Christoph M. Becker
c3b910370c
Use reasonable SQLite3 module version
...
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to `0.7-dev`. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
2017-06-09 13:49:32 +02:00
Manuel Mausz
ee0e6963f3
Fixed bug #74600
...
Make sure the hash entry is an array.
The origin fix broke support for HOST/PATH ini sections. Only the
beginning of the string has to match. Revert this check but use
zend_binary_strncasecmp instead of strncasecmp.
2017-06-09 01:43:08 +02:00
Anatol Belski
9997767dc3
enforce exit status propagation and up the sdk version
2017-06-08 17:14:52 +02:00
Jakub Zelenka
3704947696
Replace ASN1_STRING_data with ASN1_STRING_get0_data
...
This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.
2017-06-04 18:08:51 +01:00
Nikita Popov
585c9f3c4b
Fix leak in WDDX serialization
2017-06-03 15:08:42 +02:00
Tim Toohey
d027bc2add
Fixed bug #69373
...
xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This
causes problems if there are other references around to those children.
2017-06-03 00:40:58 +02:00
libnex
95c4564f93
Fixed bug #73473 : Stack Buffer Overflow in msgfmt_parse_message
2017-06-03 00:05:16 +02:00
Xinchen Hui
9c5717d0de
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
2017-05-31 12:39:26 +08:00
Dmitry Stogov
77cbf8a657
Fixed wrong condition
2017-05-31 00:40:33 +03:00
Côme Bernigaud
dc7e53690f
Merge branch 'pull-request/2536' into PHP-7.0
...
* pull-request/2536:
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
ext/ldap: Allow default host from ldap.conf to work.
2017-05-30 16:45:27 +02:00
Remi Collet
46bb35a853
NEWS
2017-05-30 15:45:09 +02:00
Remi Collet
1c845d2950
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:40:32 +02:00
Remi Collet
5416deec66
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:39:21 +02:00
Remi Collet
6a8ae7cf8d
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:38:17 +02:00
Remi Collet
60b1829e1c
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:37:11 +02:00
Remi Collet
1e0c4386ab
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:35:42 +02:00
Fabien Villepinte
2dee44c74c
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
2017-05-29 08:29:30 +01:00
Sara Golemon
8dcfec9789
Bugfix #74556 stream_socket_get_name() returns empty string
...
The original bug report had it returning '\0',
but with a fix to abstract name handling (6d2d0bbda7 )
it now actually returns ''.
Neither of these are good, as per unix(7)
an empty socket name indicates an unbound name
and "should not be inspected".
2017-05-28 08:48:18 -07:00
Sara Golemon
6d2d0bbda7
Fix abstract name handling to be binary safe
...
Per unix(7):
abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0'). The socket's address in this namespace is given by the
additional bytes in sun_path that are covered by the specified
length of the address structure. (Null bytes in the name have no
special significance.) The name has no connection with filesystem
pathnames. When the address of an abstract socket is returned,
the returned addrlen is greater than sizeof(sa_family_t) (i.e.,
greater than 2), and the name of the socket is contained in the
first (addrlen - sizeof(sa_family_t)) bytes of sun_path.
The existing implementation was assuming significance in null bytes
contained in the abstract address identifier.
2017-05-28 08:45:44 -07:00
Sara Golemon
05849a242a
Bugfix #74598 ftp:// ignores context
2017-05-27 21:12:49 -07:00
Xinchen Hui
60912e66c8
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
2017-05-27 22:42:27 +08:00
Xinchen Hui
ece7d223e8
Correct the location
2017-05-27 12:11:53 +08:00
Xinchen Hui
5269c4cacb
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:06:43 +08:00
David Caldwell
49d1cdc393
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
2017-05-25 21:27:11 +00:00
David Caldwell
d51b8f915f
ext/ldap: Allow default host from ldap.conf to work.
...
This fixes an regression introduced in
e7af0fe1eb . Previously, calling
ldap_connect() with no parameters would pass NULL to ldap_init(),
which causes it to use the default host specified in
/etc/ldap/ldap.conf (on Ubuntu).
When the code changed to use ldap_initialize(), it initialized a uri,
even if there were no parameters passed to ldap_connect(). Because of
this, there's no way to pass a NULL into ldap_initialize(), making it
impossible to use the default uri from ldap.conf.
This commit bypasses the uri creation when there is no host argument,
passing on a NULL to ldap_initialize() which restores the old PHP 5.5
behavior.
2017-05-25 00:47:11 +00:00
jhdxr
872e43d6e5
Fixed bug #74478
2017-05-24 18:01:41 +02:00
Anatol Belski
fff1cab367
time to move next
2017-05-23 12:31:03 +02:00
Anatol Belski
c4ae856912
move to the next sdk version for AppVeyor
2017-05-20 13:48:35 +02:00
Anatol Belski
464c1639ae
follow up fix on bug #74022
2017-05-18 12:03:13 +02:00
Xinchen Hui
0954ea8d6d
Added cleanup
2017-05-17 23:24:58 +08:00
Xinchen Hui
ef09bc0645
Added test for bug #74600
2017-05-17 23:21:18 +08:00
Xinchen Hui
e347b2ded6
Added test for bug #74596
2017-05-17 22:42:18 +08:00
Xinchen Hui
8a1713e39c
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
variation of icu libraries causes failure
2017-05-16 19:32:33 +08:00
Xinchen Hui
9f49ebb5ba
Fixed bug #74600 (crash (SIGSEGV) in _zend_hash_add_or_update_i)
2017-05-16 19:32:13 +08:00
Steve Walk
d74fbfb38f
variation of icu libraries causes failure
2017-05-16 12:46:27 +02:00
Xinchen Hui
89dd7fb328
Fixed bug #74596 (SIGSEGV with opcache.revalidate_path enabled)
...
Yeah, no test script is provided.. I got some troubles to make a one
2017-05-16 13:22:08 +08:00
Anatol Belski
777929b1ae
switch to Postgres 9.6 for appveyor
2017-05-15 17:47:41 +02:00
Sara Golemon
b8e0351978
Remove typo from test header
2017-05-10 16:50:19 -07:00
Xinchen Hui
1b22e9dc2e
Fixed tests when using cumstom php.ini(session.save_handler)
2017-05-09 11:13:41 +08:00
Xinchen Hui
d40a852919
Merge branch 'fix_74541' of https://github.com/villfa/php-src into PHP-7.0
...
* 'fix_74541' of https://github.com/villfa/php-src :
Fix Bug #74541 Wrong reflection on session_start()
2017-05-09 11:04:39 +08:00
Xinchen Hui
99549ce79c
Merge branch 'patch-1' of https://github.com/ifdattic/php-src into PHP-7.0
...
* 'patch-1' of https://github.com/ifdattic/php-src :
Fix typo: exectute => execute
2017-05-09 11:01:33 +08:00
Fabien Villepinte
b39c70b4a7
Fix Bug #74541 Wrong reflection on session_start()
2017-05-08 22:42:09 +02:00
Anatol Belski
1a06fae543
sync bin sdk version
2017-05-08 19:38:48 +02:00
Anatol Belski
ca870dfee7
[ci skip] update libs versions file
2017-05-08 13:10:13 +02:00
Andrew Marcinkevičius
abad134681
Fix typo: exectute => execute
2017-05-08 13:59:05 +03:00
Xinchen Hui
b966a8b5fa
Fixed another potential dangling pointer
2017-05-08 11:36:07 +08:00
Xinchen Hui
87d56a3d07
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:32:08 +08:00
Anatol Belski
5c957b502e
[ci skip] update NEWS
2017-05-07 13:04:21 +02:00
Anatol Belski
561f1afe6e
Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
2017-05-06 15:06:34 +02:00
Anatol Belski
622dc2a611
[ci skip] update NEWS
2017-05-02 14:53:32 +02:00
Christian Weiske
c0c0871911
Fixed bug #51918 Phar::webPhar() does not handle requests sent through PUT and DELETE method
...
phar: Support DELETE, HEAD and PUT HTTP methods in Phar::webPhar
Up to now only GET and POST requests could be handled with Phar::webPhar(),
which is insufficient for today's REST APIs.
This patch expands the list of supported HTTP methods.
2017-05-02 14:44:47 +02:00
Anatol Belski
36c53036e7
[ci skip] update NEWS
2017-05-02 12:38:04 +02:00
Anatol Belski
20a608d9da
Fixed bug #74510 win32/sendmail.c anchors CC header but not BCC
2017-05-02 12:31:00 +02:00
Fabien Villepinte
4c0e50c88a
Fix bug #74457 Wrong reflection on XMLReader::expand
2017-05-02 06:24:46 +01:00
Fabien Villepinte
f50df1d0e3
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
2017-05-02 06:20:40 +01:00
Anatol Belski
a581e64199
Tests to ensure BC with undocumented behavior used in hacks
...
Should become obsolete, once behaviors change.
2017-05-01 18:01:05 +02:00
Nikita Popov
1967950dc3
Fix typo in SplFixedArray has_dimension implementation
2017-05-01 12:15:26 +02:00
Michael Heimpold
d9dfac90bf
Fix compiler warnings when compiled against musl libc
...
musl libc is complaining when <sys/poll.h> is used instead of <poll.h>
so change this.
This issue was reported for OpenWrt/LEDE where musl libc is the standard
C library instead of e.g. glibc, see the following link for the original PR:
https://github.com/openwrt/packages/pull/4263
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com >
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
--
v3: refined checks/fallback paths as suggested by @bukka
v2: rebased to resolve merge conflict in main/php_network.h
v1: initial PR
2017-04-30 20:24:56 +01:00
Jakub Zelenka
a0b9554f94
Fix possible memory leak in openssl_encrypt and openssl_decrypt
2017-04-27 15:44:26 +01:00
Jakub Zelenka
7b392c7154
Prefer using DIRECTORY_SEPARATOR in OpenSSL config path
2017-04-27 15:10:55 +01:00
Jakub Zelenka
e7166ea9be
Add oid_section to the testing openssl.cnf
...
It tests repeated OID addition
2017-04-27 15:09:58 +01:00
Anatol Belski
e67096dbbb
[ci skip] update NEWS
2017-04-27 11:35:00 +02:00
Anatol Belski
09ef61e3ca
Revert "Detect invalid port in xp_socket parse ip address"
...
This reverts commit bab0b99f37 .
2017-04-27 02:49:12 +02:00
Anatol Belski
bf3e2dce7b
Revert "Follow up patch regarding bug #74216 , see bug #74429 "
...
This reverts commit cda7dcf4ca .
2017-04-27 02:49:01 +02:00
Anatol Belski
36301bd615
sync bin sdk version
2017-04-26 17:04:29 +02:00
Jakub Zelenka
c0203c0ceb
Do not add already added object to the internal OpenSSL table
...
This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.
2017-04-26 14:59:15 +01:00
Remi Collet
f639b64dca
rely on bundle config, instead of system one
2017-04-26 14:41:40 +02:00
Anatol Belski
8cfaea656c
skip the test on OpenSSL < 1.1 for now
2017-04-26 14:39:03 +02:00