]>
granicus.if.org Git - php/log
Anatol Belski [Tue, 27 Mar 2018 12:28:20 +0000 (14:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
[ci skip] Update NEWS
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:27:44 +0000 (14:27 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:26:36 +0000 (14:26 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Update NEWS
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:26:06 +0000 (14:26 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:25:24 +0000 (14:25 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:24:43 +0000 (14:24 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:20:53 +0000 (14:20 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Do not set PR_SET_DUMPABLE by default
Do not set PR_SET_DUMPABLE by default
Anatol Belski [Tue, 27 Mar 2018 12:20:10 +0000 (14:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Do not set PR_SET_DUMPABLE by default
Do not set PR_SET_DUMPABLE by default
Jakub Zelenka [Fri, 16 Mar 2018 20:23:24 +0000 (20:23 +0000)]
Do not set PR_SET_DUMPABLE by default
Anatol Belski [Tue, 27 Mar 2018 12:19:22 +0000 (14:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Do not set PR_SET_DUMPABLE by default
Jakub Zelenka [Wed, 7 Mar 2018 18:12:56 +0000 (18:12 +0000)]
Do not set PR_SET_DUMPABLE by default
Anatol Belski [Mon, 26 Mar 2018 11:38:55 +0000 (13:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix phpize build when DEFINE() is involved
Anatol Belski [Mon, 26 Mar 2018 11:33:55 +0000 (13:33 +0200)]
Fix phpize build when DEFINE() is involved
Anatol Belski [Sun, 25 Mar 2018 10:59:59 +0000 (12:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Sync version for VC++ 15.7
Anatol Belski [Sun, 25 Mar 2018 10:58:00 +0000 (12:58 +0200)]
Sync version for VC++ 15.7
Nikita Popov [Sat, 24 Mar 2018 12:15:59 +0000 (13:15 +0100)]
Followup fix for bug #75729
The case of overloaded substr() with 3 arguments was not handled.
Derick Rethans [Sat, 24 Mar 2018 11:26:16 +0000 (11:26 +0000)]
Updated to version 2018.4 (2018d)
Derick Rethans [Sat, 24 Mar 2018 11:26:16 +0000 (11:26 +0000)]
Empty merge
Derick Rethans [Sat, 24 Mar 2018 11:26:15 +0000 (11:26 +0000)]
Updated to version 2018.4 (2018d)
Michael Heimpold [Wed, 14 Feb 2018 13:46:17 +0000 (14:46 +0100)]
Fixed bug #75722: Rework valgrind detection
As described in bug report #75722, the configure script (acinclude.m4)
currently searches for the valgrind header file and enables valgrind
support if found.
When cross-compiling the searched paths are invalid for the target
platform because they belong to the host system. At the moment, there is
no way to tell the build system a dedicated path where to look for the
header file.
This leads to the issue, that when cross-compiling eg. for ARMv5 platform,
that valgrind header file is detected - e.g. because host system is amd64 -
and support is enabled - but target platform will never support valgrind
(valgrind requires e.g. at least ARMv7).
This change reworks the detection so that user could manually opt-in
valgrind support and optionally specify a directory where the build system
should look for the header file using the --with-valgrind option.
Tom Van Looy [Tue, 20 Feb 2018 18:57:48 +0000 (19:57 +0100)]
Fix expat_compat.h path used in #include
Using ext/xml/expat_compat.h does not work if the extension is
compiled out-of-tree.
Thomas Petazzoni [Mon, 26 Feb 2018 18:30:55 +0000 (19:30 +0100)]
main/php_ini.c: build empty php_load_zend_extension_cb() when !HAVE_LIBDL
Commit
0782a7fc6314c8bd3cbfd57f12d0479bf9cc8dc7 ("Fixed bug #74866
extension_dir = "./ext" now use current directory for base") modified
the php_load_zend_extension_cb() function to use php_load_shlib(), and
pass a handle to the newly introduced zend_load_extension_handle()
function instead of passing the extension path to
zend_load_extension().
While doing so, it introduced a call to php_load_shlib() from code
that is built even when HAVE_LIBDL is not defined. However,
php_load_shlib() is not implemented when HAVE_LIBDL is not defined,
for obvious reasons.
It turns out that zend_load_extension_handle() anyway doesn't do
anything when ZEND_EXTENSIONS_SUPPORT is defined to 0, and
ZEND_EXTENSIONS_SUPPORT is not defined when HAVE_LIBDL is not defined
(Zend/zend_portability.h).
Fixes the following build failure when building on a system that
doesn't have libdl:
main/php_ini.o: In function `php_load_zend_extension_cb':
php_ini.c:(.text+0x478): undefined reference to `php_load_shlib'
php_ini.c:(.text+0x4b0): undefined reference to `php_load_shlib'
collect2: error: ld returned 1 exit status
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
atvoicu [Wed, 21 Mar 2018 21:45:14 +0000 (14:45 -0700)]
Add missing skip prefix for some SKIPIF messages
Anatol Belski [Wed, 21 Mar 2018 12:17:44 +0000 (13:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update SDK version for AppVeyor
Anatol Belski [Wed, 21 Mar 2018 12:15:29 +0000 (13:15 +0100)]
Update SDK version for AppVeyor
Christoph M. Becker [Tue, 20 Mar 2018 15:52:42 +0000 (16:52 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #76113: mbstring does not build with Oniguruma 6.8.1
Christoph M. Becker [Tue, 20 Mar 2018 15:35:39 +0000 (16:35 +0100)]
Fix #76113: mbstring does not build with Oniguruma 6.8.1
As of Oniguruma 6.8.1, the regex structure has been moved from the
public `oniguruma.h` to the private `regint.h`. Thus, it is no longer
possible to directly access the struct's members, and actually, there
is no need to, since there are respective accessor functions available
at least of 2.3.1.
Christoph M. Becker [Mon, 19 Mar 2018 13:25:44 +0000 (14:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #75944: Wrong cp1251 detection
Christoph M. Becker [Mon, 19 Mar 2018 12:51:40 +0000 (13:51 +0100)]
Fix #75944: Wrong cp1251 detection
`\xFF` is a valid character of CP-1251.
Stanislav Malyshev [Mon, 19 Mar 2018 08:17:36 +0000 (01:17 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Set tests exit status by defaul - also in other instance.
Stanislav Malyshev [Mon, 19 Mar 2018 08:17:14 +0000 (01:17 -0700)]
Set tests exit status by defaul - also in other instance.
Stanislav Malyshev [Sun, 18 Mar 2018 22:06:08 +0000 (15:06 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Set tests exit status by default.
Stanislav Malyshev [Sun, 18 Mar 2018 22:04:50 +0000 (15:04 -0700)]
Set tests exit status by default.
Use REPORT_EXIT_STATUS=0 or REPORT_EXIT_STATUS=no to prevent it.
Based on discussion in https://www.mail-archive.com/internals@lists.php.net/msg94141.html
Anatol Belski [Fri, 16 Mar 2018 17:56:08 +0000 (18:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Sync test with newer output
Anatol Belski [Fri, 16 Mar 2018 17:54:55 +0000 (18:54 +0100)]
Sync test with newer output
Czech Republic vs. newer Czechia
Xinchen Hui [Thu, 15 Mar 2018 03:17:00 +0000 (11:17 +0800)]
Fixed bug #76094 (Access violation when using opcache)
Anatol Belski [Wed, 14 Mar 2018 22:10:24 +0000 (23:10 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Reduce var scope
Anatol Belski [Wed, 14 Mar 2018 21:59:54 +0000 (22:59 +0100)]
Reduce var scope
Anatol Belski [Wed, 14 Mar 2018 21:23:04 +0000 (22:23 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix stack use after scope
Anatol Belski [Wed, 14 Mar 2018 21:21:43 +0000 (22:21 +0100)]
Fix stack use after scope
Anatol Belski [Wed, 14 Mar 2018 11:01:01 +0000 (12:01 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Upgrade binary SDK version for AppVeyor
Anatol Belski [Wed, 14 Mar 2018 10:59:37 +0000 (11:59 +0100)]
Upgrade binary SDK version for AppVeyor
Dmitry Stogov [Wed, 14 Mar 2018 06:41:25 +0000 (09:41 +0300)]
Fixed user-opcode support
Dmitry Stogov [Wed, 14 Mar 2018 06:14:16 +0000 (09:14 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed use-after-free
Dmitry Stogov [Wed, 14 Mar 2018 06:11:48 +0000 (09:11 +0300)]
Fixed use-after-free
Joe Watkins [Wed, 14 Mar 2018 04:59:18 +0000 (05:59 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
bump versions
Joe Watkins [Wed, 14 Mar 2018 04:58:42 +0000 (05:58 +0100)]
bump versions
Christoph M. Becker [Tue, 13 Mar 2018 22:55:26 +0000 (23:55 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #74139: mail.add_x_header default inconsistent with docs [ci skip]
Christoph M. Becker [Tue, 13 Mar 2018 22:54:42 +0000 (23:54 +0100)]
Fix #74139: mail.add_x_header default inconsistent with docs [ci skip]
mail.add_x_header actually defaults to `Off`, so we should use this
default in the provided `php.ini`s.
Christoph M. Becker [Tue, 13 Mar 2018 13:33:20 +0000 (14:33 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #76088: ODBC functions are not available by default on Windows
Christoph M. Becker [Tue, 13 Mar 2018 13:16:20 +0000 (14:16 +0100)]
Fix #76088: ODBC functions are not available by default on Windows
Remi Collet [Tue, 13 Mar 2018 11:49:25 +0000 (12:49 +0100)]
next is 7.2.5
Dmitry Stogov [Tue, 13 Mar 2018 08:03:57 +0000 (11:03 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074)."
Dmitry Stogov [Tue, 13 Mar 2018 08:03:45 +0000 (11:03 +0300)]
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074)."
This reverts commit
44ba557de5c0d767ff6ccfcc2c8bde7d7c0746fe .
Dmitry Stogov [Tue, 13 Mar 2018 07:45:53 +0000 (10:45 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074).
Dmitry Stogov [Tue, 13 Mar 2018 07:44:53 +0000 (10:44 +0300)]
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074).
Xinchen Hui [Tue, 13 Mar 2018 05:01:33 +0000 (13:01 +0800)]
Forgot NEWs
Xinchen Hui [Tue, 13 Mar 2018 05:00:59 +0000 (13:00 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Forgot NEWS
Xinchen Hui [Tue, 13 Mar 2018 05:00:47 +0000 (13:00 +0800)]
Forgot NEWS
Xinchen Hui [Tue, 13 Mar 2018 04:52:07 +0000 (12:52 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
Xinchen Hui [Tue, 13 Mar 2018 04:51:26 +0000 (12:51 +0800)]
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
Anatol Belski [Mon, 12 Mar 2018 20:02:40 +0000 (21:02 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix heap use after free
Anatol Belski [Mon, 12 Mar 2018 19:57:21 +0000 (20:57 +0100)]
Fix heap use after free
The value may only be used until PGresult was destroyed, thus it needs
to be copied.
Anatol Belski [Mon, 12 Mar 2018 15:00:24 +0000 (16:00 +0100)]
Use literal as format
Anatol Belski [Mon, 12 Mar 2018 14:18:11 +0000 (15:18 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use string literal as format
Anatol Belski [Mon, 12 Mar 2018 14:17:08 +0000 (15:17 +0100)]
Use string literal as format
Anatol Belski [Mon, 12 Mar 2018 13:16:08 +0000 (14:16 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Provide core includes for the resource compiler by default
Anatol Belski [Mon, 12 Mar 2018 13:14:34 +0000 (14:14 +0100)]
Provide core includes for the resource compiler by default
Dmitry Stogov [Mon, 12 Mar 2018 08:18:33 +0000 (11:18 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference
Dmitry Stogov [Mon, 12 Mar 2018 08:18:12 +0000 (11:18 +0300)]
Replaced usafe reference from SHM to process memory with SHM to SHM reference
Christoph M. Becker [Sun, 11 Mar 2018 16:53:48 +0000 (17:53 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #62545: wrong unicode mapping in some charsets
Christoph M. Becker [Sat, 24 Feb 2018 21:34:32 +0000 (22:34 +0100)]
Fix #62545: wrong unicode mapping in some charsets
Undefined characters are best mapped to Unicode REPLACEMENT characters.
Thomas Petazzoni [Mon, 26 Feb 2018 18:06:40 +0000 (19:06 +0100)]
ext/sockets: make AI_IDN usage optional
AI_IDN is not supported by all C libraries (uClibc, musl), so make it
optional, like AI_ALL.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Anatol Belski [Sat, 10 Mar 2018 19:08:43 +0000 (20:08 +0100)]
[ci skip] Update NEWS
Anatol Belski [Sat, 10 Mar 2018 19:08:03 +0000 (20:08 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Anatol Belski [Sat, 10 Mar 2018 19:07:23 +0000 (20:07 +0100)]
[ci skip] Update NEWS
Bob Weinand [Sat, 10 Mar 2018 14:29:07 +0000 (15:29 +0100)]
Fixup mess in NEWS file (mixed 7.2.3 and 7.2.4 NEWS)
Bob Weinand [Sat, 10 Mar 2018 14:21:16 +0000 (15:21 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Bob Weinand [Fri, 9 Mar 2018 14:08:14 +0000 (15:08 +0100)]
Fix bug #76074 (opcache corrupts variable in for-loop)
Anatol Belski [Sat, 10 Mar 2018 10:20:11 +0000 (11:20 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
Anatol Belski [Sat, 10 Mar 2018 10:18:21 +0000 (11:18 +0100)]
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
Anatol Belski [Sat, 10 Mar 2018 08:40:50 +0000 (09:40 +0100)]
[ci skip] Update link
Christoph M. Becker [Fri, 9 Mar 2018 23:18:14 +0000 (00:18 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #73957: signed integer conversion in imagescale()
Christoph M. Becker [Fri, 9 Mar 2018 23:17:09 +0000 (00:17 +0100)]
Fix #73957: signed integer conversion in imagescale()
We must not pass values to `gdImageScale()` which cannot be represented
by an `unsigned int`. Instead we return FALSE, according to what we
already did for negative integers.
Anatol Belski [Thu, 8 Mar 2018 10:49:25 +0000 (11:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Disable PGO for phpdbg
Anatol Belski [Thu, 8 Mar 2018 10:38:02 +0000 (11:38 +0100)]
Disable PGO for phpdbg
For executable files, the linker seems to have issues dealing with the
empty profiling database. As PGO is unlikely to bring any benefit in
this case, the easiest is to disable it.
Anatol Belski [Wed, 7 Mar 2018 14:23:03 +0000 (15:23 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Exclude /Qspectre for clang analyzer
Anatol Belski [Wed, 7 Mar 2018 11:34:16 +0000 (12:34 +0100)]
Exclude /Qspectre for clang analyzer
Anatol Belski [Wed, 7 Mar 2018 11:29:22 +0000 (12:29 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Guard platform dependent code
Anatol Belski [Wed, 7 Mar 2018 11:28:29 +0000 (12:28 +0100)]
Guard platform dependent code
Anatol Belski [Tue, 6 Mar 2018 21:07:58 +0000 (22:07 +0100)]
[ci skip] Update NEWS
Anatol Belski [Tue, 6 Mar 2018 21:07:31 +0000 (22:07 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Anatol Belski [Tue, 6 Mar 2018 21:06:52 +0000 (22:06 +0100)]
[ci skip] Update NEWS
Dmitry Stogov [Mon, 5 Mar 2018 23:47:01 +0000 (02:47 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference.
Dmitry Stogov [Mon, 5 Mar 2018 23:43:26 +0000 (02:43 +0300)]
Replaced usafe reference from SHM to process memory with SHM to SHM reference.
Dmitry Stogov [Mon, 5 Mar 2018 22:00:14 +0000 (01:00 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup(). Keeping pointer to a function in SHM is not safe because of ASLR.
Dmitry Stogov [Mon, 5 Mar 2018 21:56:16 +0000 (00:56 +0300)]
Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup().
Keeping pointer to a function in SHM is not safe because of ASLR.
Dmitry Stogov [Mon, 5 Mar 2018 21:47:40 +0000 (00:47 +0300)]
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:php-src:
Fixed bug #76044 'date: illegal option -- -' in ./configure on FreeBSD
Dmitry Stogov [Mon, 5 Mar 2018 21:46:40 +0000 (00:46 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed invalid destructor
Dmitry Stogov [Mon, 5 Mar 2018 21:46:19 +0000 (00:46 +0300)]
Fixed invalid destructor