Stanislav Malyshev
ffc15e913c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
2019-05-27 21:36:10 -07:00
Stanislav Malyshev
9d473f1eac
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
2019-05-27 21:36:05 -07: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
670c2ee685
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
2019-05-27 17:28:29 -07:00
Stanislav Malyshev
13dffa9d32
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
2019-05-27 17:28:25 -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
892a188fc9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix function name
2019-05-27 17:21:28 -07:00
Stanislav Malyshev
e63b2ba310
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix function name
2019-05-27 17:21:23 -07:00
Stanislav Malyshev
9bca9ef6cf
Fix function name
2019-05-27 17:20:56 -07:00
Stanislav Malyshev
5e3dc08826
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
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:31 -07:00
Stanislav Malyshev
c7eb0feed8
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
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:25 -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
Christoph M. Becker
c12d474653
Prevent parallel test conflicts
...
These ports are already used by another test, so we change them.
2019-05-27 18:42:52 +02:00
Nikita Popov
adec208bdb
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-27 17:44:11 +02:00
Nikita Popov
0cb43ec51c
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-27 17:43:13 +02:00
Michael Maroszek
a0c9d0849a
Fixed bug #76345
2019-05-27 17:42:20 +02:00
Nikita Popov
fd23f9104a
BIND_STATIC of implicit binding may be undef
...
Even though we don't need it at runtime, add the BIND_IMPLICIT
flag to BIND_STATIC as well, so we can distinguish this case in
type inference.
This fixes a JIT miscompile in arrow_functions/002.phpt.
2019-05-27 17:12:20 +02:00
Nikita Popov
070f877b76
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-27 16:15:03 +02:00
Nikita Popov
31ce1cbbb9
Func info: Fix calls to zero-arg varargs
...
The num_args does not include variadics, so a "zero-arg" function
may accept additional arguments through that. No functions seem
to be affected right now, but they will be after #4175 .
2019-05-27 16:14:51 +02:00
Nikita Popov
7cc17c4aac
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-27 16:14:16 +02:00
Nikita Popov
62f339c8d5
Func info: Fix calls to zero-arg varargs
...
The num_args does not include variadics, so a "zero-arg" function
may accept additional arguments through that. No functions seem
to be affected right now, but they will be after #4175 .
2019-05-27 16:12:42 +02:00
Dmitry Stogov
6a4ec6c7e4
Enable pcre valgrind support only in DEBUG build (it affects performance)
2019-05-27 16:20:20 +03:00
Hugh McMaster
a8f4e8fe73
ext/xml: Use PKG_CHECK_MODULES to detect the Expat library
2019-05-27 15:16:42 +02:00
Dmitry Stogov
62ded6efbc
Align .text segment for better huge pages usage
2019-05-27 13:37:19 +03:00
Gabriel Caruso
4bb6f9ba99
Make more tests run on Windows
2019-05-27 10:51:53 +02:00
Nikita Popov
e6fac86dc3
Accept flags argument in zend_lookup_class_ex()
...
Instead of a single boolean, so we have space for extension here.
2019-05-27 09:36:25 +02:00
Jakub Zelenka
cd6b7ebb68
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-26 18:51:10 +01:00
Jakub Zelenka
209b12e064
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-26 18:49:52 +01:00
Jakub Zelenka
8baf3ffde6
Add fpmi to the opcache supported sapis
2019-05-26 18:47:22 +01:00
Anatol Belski
aa9433e928
Upgrade bundled PCRE2 to 10.33
2019-05-25 11:37:30 +02:00
Hugh McMaster
ef34e00df3
Use PKG_CHECK_MODULES to detect valgrind, and share build config with pcre
2019-05-25 09:04:22 +02:00
Peter Kokot
e7a1409fe1
Define minimum required libffi version
2019-05-25 08:12:15 +02:00
Nikita Popov
32f87bb575
Add UPGRADING/NEWS entries
2019-05-24 11:00:13 +02:00
Nikita Popov
d7f3844c87
Deprecate use of parent where no parent exists
...
This deprecation is part of the covariance RFC.
2019-05-24 10:58:46 +02:00
David Carlier
d9747c23a2
list net/interfaces, trying to get the error on windows when possible
2019-05-24 10:22:39 +02:00
Nikita Popov
49a3b03e9f
Implement basic variance support
...
This is a minimal variance implementation: It does not support any
cyclic type dependencies. Additionally the preloading requirements
are much more restrictive than necessary. Hopefully we can relax
these in the future.
2019-05-24 09:30:37 +02:00
Nikita Popov
afec3a9208
Avoid early-binding on unresolved types
...
Fixes bug #76451 , and more importantly lays necessary groundwork for
covariant/contravariant types. Bug #76451 is just an edge case, but
once covariance is introduced this will become a common problem instead.
2019-05-24 09:30:13 +02:00
Nikita Popov
71ce7d32ea
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-23 13:41:17 +02:00
Nikita Popov
6f9dfd9473
Fix bug #77955
...
Free metadata before freeing the arena. I don't have a repro script,
but the added assertion fails for many existing tests prior to this
change.
2019-05-23 13:40:52 +02:00
Christoph M. Becker
c70975e0a5
Prevent further potential test conflicts
...
These tests partially use the same resource names; as a quick-fix we're
marking them all as conflicting.
2019-05-23 13:14:04 +02:00
Joe Watkins
979e7d0fee
fix notice in run-tests
2019-05-23 13:09:18 +02:00
Christoph M. Becker
ced8760ca8
Prevent potential test conflict
...
bug48746_tmp.lnk is also created by bug48746_2.phpt which might clash,
if both are run simultaneouly.
2019-05-23 11:40:39 +02:00
Nikita Popov
fc8fb77262
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-23 11:13:14 +02:00
Nikita Popov
b394654c1e
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-23 11:12:59 +02:00
Nikita Popov
9a74b23297
Fixed bug #78038 socket_select with references
2019-05-23 11:12:15 +02:00