Joe Watkins
599b94ff14
export php_time
2019-06-19 12:39:51 +02:00
Joe Watkins
65067dff01
Resolve discrepencies between second value yielded by gettimeofday and time, fixes #69044
2019-06-19 08:56:20 +02:00
Asher Baker
d54220bc79
Fix #78173 : XML-RPC mutates immutable objects during encoding
...
With opcache.protect_memory=1 enabled, the XML-RPC extension causes a
segfault on PHP 7.2 as it is modifying the recursion counter of objects
it touches, without first checking if they are immutable or not.
This doesn't affect 7.3+
2019-06-18 17:08:11 +02:00
Remi Collet
e59b986fa7
move NEWS entry
2019-06-18 07:50:44 +02:00
Nikita Popov
03db04c3ab
Accept null for preg_quote delimiter argument
...
Related to bug #78163 .
2019-06-17 13:30:15 +02:00
Dmitry Stogov
28808ca96d
Backport 96a12578c1
2019-06-14 13:29:13 +03:00
Dmitry Stogov
40f463b560
Backport 91a6cdbff5
2019-06-14 13:24:47 +03:00
Nikita Popov
f1a8138055
Fixed bug #78106
...
When disabling opcache during the request via opcache.enable ini
setting, make sure we also disable ZCG(accelerator_enabled).
2019-06-13 12:51:35 +02:00
Nikita Popov
f8a68fd935
Add test for bug #78106
...
Also add PHP_TEST_EXTRA_ARGS environment variable, which allows
to pass on -c, -d etc flags provided by run-tests.php. Otherwise
we won't get the built-in server to run with opcache.
2019-06-13 12:35:29 +02:00
Remi Collet
feb92adc5c
next is 7.2.21
2019-06-11 12:20:26 +02:00
Christoph M. Becker
f3ff72e54b
Fix #77937 : preg_match failed
...
On some recent Windows systems, ext\pcre\tests\locales.phpt fails,
because 'pt_PT' is accepted by `setlocale()`, but not properly
supported by the ctype functions, which are used internally by PCRE2 to
build the localized character tables.
Since there appears to be no way to properly check whether a given
locale is fully supported, but we want to minimize BC impact, we filter
out typical Unix locale names, except for a few cases which have
already been properly supported on Windows. This way code like
setlocale(LC_ALL, 'de_DE.UTF-8', 'de_DE', 'German_Germany.1252');
should work like on older Windows systems.
It should be noted that the locale names causing trouble are not (yet)
documented as valid names anyway, see
<https://docs.microsoft.com/en-us/cpp/c-runtime-library/locale-names-languages-and-country-region-strings?view=vs-2019 >.
2019-06-11 08:42:32 +02:00
Dmitry Stogov
199eb2b110
Fixed possible misalignment in 32-bit build.
2019-06-10 12:51:59 +03:00
Peter Kokot
65ada39360
Extend wildcard files section in EditorConfig [ci skip]
...
Changes:
- Trim trailing whitespace for all files except patches. There isn't
really any practical reason to not trim the trailing whitespace in all
other files. Binary files or phpt files that include trailing
whitespace as part of the test should be manually set in editors/IDEs
or by disabling the editorconfig for particular editing.
- Add *.ac, *.d, *.l, *.skl, *.re, *.wsdl, *.dtd, *.html, *.rng, *.xml,
*.xsd, *.xsl, buildconf, and Makefile* files settings.
Closes #4156
2019-06-09 22:53:58 +02:00
Dmitry Stogov
10b208f28d
Restored NEWS entry
2019-06-07 12:37:49 +03:00
Nikita Popov
d7c7522be9
Enable STRICT_TRANS_TABLES in new test
...
The part testing error cases relies on this.
2019-06-07 10:57:09 +02:00
Dmitry Stogov
83cdb89f8a
Fixed bug #77135 (Extract with EXTR_SKIP should skip $this)
2019-06-07 11:36:39 +03:00
Cameron Porter
7d1aa7534d
Fixed bug #38546
...
Properly support binding boolean parameters with emulated prepared
statements disabled. Also add the necessary mysqlnd support for
MYSQL_TYPE_TINY.
2019-06-07 09:48:43 +02:00
Christoph M. Becker
2df32942d3
Fix test regarding Unix Domain Sockets on Windows
...
Recent Windows versions actually support Unix Domain Sockets. Cf.
<https://github.com/curl/curl/pull/3939 >.
2019-06-06 14:59:58 +02:00
Joe Watkins
f4474e5724
fix flaky posix test
2019-06-05 16:34:50 +02:00
Nikita Popov
a3e6b50442
Fixed bug #78050
...
This is a backport of a982125561 .
2019-06-04 16:26:34 +02:00
Nikita Popov
2d3bc71e89
Reload tsrmls_id in release builds as well
...
If TSRM is shut down and started again (something that phpdbg does),
then tsrmls_id needs to be reloaded everywhere. As tsrmls_id
update is a rare operation, doing that shouldn't be a problem.
2019-06-04 16:12:59 +02:00
Nikita Popov
ac60007bec
Clear errors after SSL_CTX_load_verify_locations()
...
We report our own errors here. Make sure these don't clog up the
error queue.
2019-06-03 15:14:01 +02:00
Jakub Zelenka
2e02579474
Fix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c)
...
It also fixes invalid setting of tag length
2019-06-02 19:10:56 +01:00
Anatol Belski
59b0b38d3c
Update SDK version for AppVeyor
2019-06-01 13:43:31 +02:00
Anatol Belski
ee153deb1f
Change ZPP only if compiled with ICU >= 64
2019-06-01 02:18:56 +02:00
Nikita Popov
b01d9fdab1
Update tests for ICU 64
...
(cherry picked from commit 8a8bc5c452 )
2019-06-01 02:17:16 +02:00
Anatol Belski
d293f6dcff
Fix var name
2019-05-31 20:49:42 +02:00
Craig Duncan
8b53c7232e
Add a test for bug #65672
2019-05-30 18:55:42 +01:00
Craig Duncan
dc586bff36
Ensure the internal properties cannot be overwritten
2019-05-30 18:55:36 +01:00
Craig Duncan
5d67271db0
Add tests for DatePeriod properties
2019-05-29 09:47:10 +02:00
Remi Collet
3051147019
add NEWS entries for sec fix
2019-05-29 08:53:23 +02:00
Joe Watkins
7821cc3b9f
disabled functions must not have return type
2019-05-29 08:30:08 +02:00
Nikita Popov
59dfaa3f99
Fix type inference of SEND_UNPACK with empty array
...
An empty array will not be turned into an array of references.
This violated the invariant than an array has values iff it has
keys.
2019-05-28 16:40:56 +02:00
Joe Watkins
d661a75d54
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump version after release
2019-05-28 09:53:32 +02:00
Joe Watkins
5533f2490a
bump version after release
2019-05-28 09:52:52 +02:00
Stanislav Malyshev
fbb6a27212
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
2019-05-27 21:36:00 -07:00
Stanislav Malyshev
c34895e837
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
2019-05-27 18:48:48 -07:00
Stanislav Malyshev
dc1d99e772
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
2019-05-27 17:28:20 -07:00
Stanislav Malyshev
73ff4193be
Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
2019-05-27 17:28:09 -07:00
Stanislav Malyshev
9bca9ef6cf
Fix function name
2019-05-27 17:20:56 -07:00
Stanislav Malyshev
e77c8e45ba
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fix bug #78069 - Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow
Fix #77973 : Uninitialized read in gdImageCreateFromXbm
2019-05-27 16:49:19 -07:00
Stanislav Malyshev
16e037bd46
Update NEWS
2019-05-27 16:48:32 -07:00
Stanislav Malyshev
7cf7148a8f
Fix bug #78069 - Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow
2019-05-27 16:32:42 -07:00
Christoph M. Becker
ed6dee9a19
Fix #77973 : Uninitialized read in gdImageCreateFromXbm
...
We have to ensure that `sscanf()` does indeed read a hex value here,
and bail out otherwise.
2019-05-27 16:11:32 -07:00
Michael Maroszek
a0c9d0849a
Fixed bug #76345
2019-05-27 17:42:20 +02:00
Jakub Zelenka
8baf3ffde6
Add fpmi to the opcache supported sapis
2019-05-26 18:47:22 +01:00
Nikita Popov
9a74b23297
Fixed bug #78038 socket_select with references
2019-05-23 11:12:15 +02:00
Dmitry Stogov
fa6a4483e6
Fixed race condition in opcache restart
2019-05-23 00:20:35 +03:00
Sjon Hortensius
96404eb8e2
Fix #77956 - When mysqli.allow_local_infile = Off, return a client error
2019-05-22 12:44:55 +02:00
Christoph M. Becker
62fe6ba20c
Fix test case for cURL 7.65.0
...
Reported and patch provided by @Jan-E.
2019-05-22 12:01:23 +02:00