]>
granicus.if.org Git - php/log
Nikita Popov [Wed, 10 Apr 2019 08:38:52 +0000 (10:38 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 10 Apr 2019 08:38:32 +0000 (10:38 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 10 Apr 2019 08:36:11 +0000 (10:36 +0200)]
Fix use after free on pg_close() of default connection
Nikita Popov [Wed, 10 Apr 2019 08:01:49 +0000 (10:01 +0200)]
Use release for regex in imap
The regex may be used as a cache key now.
Nikita Popov [Tue, 9 Apr 2019 12:57:06 +0000 (14:57 +0200)]
Fix bug #77866: Port Serializable SPL classes to use __unserialize()
Payloads created using Serializable are still supported.
Nikita Popov [Tue, 9 Apr 2019 15:27:02 +0000 (17:27 +0200)]
Fixed bug #77873
Nikita Popov [Tue, 9 Apr 2019 15:18:49 +0000 (17:18 +0200)]
Fix leak on error in new serialization mechanism
Dmitry Stogov [Tue, 9 Apr 2019 13:12:13 +0000 (16:12 +0300)]
Fixed ext/ffi/tests/044.phpt failure on 32-bit Linux
Dmitry Stogov [Tue, 9 Apr 2019 12:37:19 +0000 (15:37 +0300)]
Eliminated check for assignment to itself
Dmitry Stogov [Tue, 9 Apr 2019 11:38:49 +0000 (14:38 +0300)]
Micro-optimization
Peter Kokot [Tue, 9 Apr 2019 00:09:42 +0000 (02:09 +0200)]
Remove duplicated substitude for Makefile
The substitution is already done in the CLI's config.m4 file. Current
SAPIs only provide one PHP_EXECUTABLE variable, i.e. PHP CLI so the one
in the configure.ac can be removed.
Dmitry Stogov [Mon, 8 Apr 2019 22:18:44 +0000 (01:18 +0300)]
Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
* 'PHP-7.4' of git.php.net:php-src:
Remove HAVE_STRERROR
Dmitry Stogov [Mon, 8 Apr 2019 22:17:10 +0000 (01:17 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Repare SWITCH VM
Dmitry Stogov [Mon, 8 Apr 2019 22:11:02 +0000 (01:11 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Repare SWITCH VM
Dmitry Stogov [Mon, 8 Apr 2019 21:41:11 +0000 (00:41 +0300)]
Repare SWITCH VM
Peter Kokot [Mon, 8 Apr 2019 21:39:45 +0000 (23:39 +0200)]
Remove HAVE_STRERROR
Checking for the strerror function presence is no longer needed since it
is part of the C89 standard [1] and can be safely assumed that all
current systems have it.
Check in the configure.ac and Windows defined symbol are still left
until the file library (libmagic) will be updated.
[1]: https://port70.net/~nsz/c/c89/c89-draft.html
Florian Berberich [Fri, 29 Mar 2019 19:18:19 +0000 (20:18 +0100)]
Added range options to the float validation filter
php_filter_int (called via the constant FILTER_VALIDATE_INT) has the options min_range
and max_range. they allow the user to not only test if a value is a double but also if
the value is inside a specific range. php_filter_float (called via the constant
FILTER_VALIDATE_FLOAT) didn't provide this yet, making validation of numeric but
not-only-int values more complicated for the user.
this commits implements the options min_range and max_range for the function
php_filter_float to fix this inconsistency.
Nikita Popov [Mon, 8 Apr 2019 11:00:20 +0000 (13:00 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 11:00:05 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
twosee [Mon, 8 Apr 2019 10:58:46 +0000 (12:58 +0200)]
Preserve keys in emulate_read_fd_set()
Keys are already preserved in the non-emulated case.
Nikita Popov [Mon, 8 Apr 2019 09:41:53 +0000 (11:41 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 09:41:26 +0000 (11:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 8 Apr 2019 09:40:50 +0000 (11:40 +0200)]
Fixed bug #77853
Nikita Popov [Mon, 8 Apr 2019 09:13:10 +0000 (11:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 09:12:42 +0000 (11:12 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 8 Apr 2019 09:11:58 +0000 (11:11 +0200)]
Fixed bug #77844
We should probably return an integer result from the operation in
typed mode, right now the result is always a string.
Nikita Popov [Mon, 8 Apr 2019 08:18:26 +0000 (10:18 +0200)]
Fix invalid function by-ref prop assign handling
Nikita Popov [Mon, 8 Apr 2019 07:43:47 +0000 (09:43 +0200)]
Avoid time(NULL) call if explicit timestamp given
As suggested by Benjamin Coutu.
Peter Kokot [Sun, 7 Apr 2019 21:24:10 +0000 (23:24 +0200)]
Add AS_HELP_STRING to phpdbg options
Peter Kokot [Sun, 7 Apr 2019 21:16:08 +0000 (23:16 +0200)]
[ci skip] Mention docs dir
Peter Kokot [Sun, 24 Feb 2019 09:21:25 +0000 (10:21 +0100)]
Remove checks for locale.h, setlocale, localeconv
The `<loccale.h>` header file, setlocale, and localeconv are part of the
standard C89 [1] and on current systems can be used unconditionally.
Since PHP 7.4 requires at least C89 or greater, the `HAVE_LOCALE_H`,
`HAVE_SETLOCALE`, and `HAVE_LOCALECONV` symbols defined by Autoconf in
configure.ac [2] can be ommitted and simplifed.
The bundled libmagic (file) has also been patched already in version
5.35 and up in upstream location so when it will be patched also in
php-src the check for locale.h header is still left in the configure.ac
and in windows headers definition file.
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.4
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
Omit the bundled libmagic files
Peter Kokot [Sun, 7 Apr 2019 13:55:34 +0000 (15:55 +0200)]
Remove HAVE_SIGNAL_H
The `<signal.h>` header file is part of the standard C89 headers [1] and
on current systems can be included unconditionally.
Since file requires at least C89 or greater, the `HAVE_SIGNAL_H` symbol
defined by Autoconf in Zend.m4 [2] can be ommitted and simplifed.
The bundled libmagic (file) also ommits the usage of HAVE_SIGNAL_H since
5.35 however current version in PHP is very modified 5.34 version and
will be refactored separately. Check for HAVE_SIGNAL_H is therefore
still done in the configure.ac.
Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
Peter Kokot [Sun, 7 Apr 2019 13:20:02 +0000 (15:20 +0200)]
Remove HAVE_LIMITS_H
The `<limits.h>` header file is part of the standard C89 headers [1]
and on current systems can be included unconditionally.
Since PHP requires at least C89 or greater, the `HAVE_LIMITS_H` symbol
defined by Autoconf in configure.ac [2] can be ommitted and simplifed
however due to bundled file library (libmagic) and timelib still using
it, the removal there was omitted and done only in Zend.m4 file.
Current bundled libraries libtime, oniguruma, and libmagic still include
partial `HAVE_LIMITS_H` usage and will be more refactored when this is
possible.
Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
Peter Kokot [Tue, 19 Mar 2019 22:49:26 +0000 (23:49 +0100)]
Refactor AC_INIT in configure.ac and PHP versions
Since Autoconf 2.53 the AC_INIT call with only a single argument has
been made obsolete and now includes several other optional arguments to
make installation experience a bit better by providing program version
and links to the project in the `./configure -h` output. This patch also
updates win build version. The phpize.m4 AC_INIT has been updated with
the call without arguments.
Stanislav Malyshev [Sun, 7 Apr 2019 02:06:21 +0000 (19:06 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Always use ZEND_SECURE_ZERO() when cleaning up data
bump versions after release
Stanislav Malyshev [Sun, 7 Apr 2019 02:06:16 +0000 (19:06 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Always use ZEND_SECURE_ZERO() when cleaning up data
bump versions after release
Stanislav Malyshev [Sun, 7 Apr 2019 02:05:37 +0000 (19:05 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Always use ZEND_SECURE_ZERO() when cleaning up data
bump versions after release
Stanislav Malyshev [Sun, 7 Apr 2019 01:15:42 +0000 (18:15 -0700)]
Always use ZEND_SECURE_ZERO() when cleaning up data
Optimizing compilers have an annoying tendency to throw out
memsets over data that they think aren't used anymore. Apply secure
zero-out in cases where this has potential to happen.
Peter Kokot [Sat, 6 Apr 2019 22:57:41 +0000 (00:57 +0200)]
[ci skip] Update release process docs to Markdown
- Markdown
- CS syncs
- Some partial readability fixes
- The protocol hasn't been changed
Christoph M. Becker [Sat, 6 Apr 2019 15:38:18 +0000 (17:38 +0200)]
Fix ASAN configuration
Commit
6a624c1 [1] mostly replaced `COMPILER_NAME` with
`COMPILER_NAME_LONG` and `COMPILER_NAME_SHORT`, but not all
occurrences, what broke the Clang ASAN configuration. We fix this by
getting rid of `COMPILER_NAME` altogether.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
6a624c1dfda0dbfaaff3e453e6cb58de12748fb3 >
Joe Watkins [Fri, 5 Apr 2019 23:30:03 +0000 (01:30 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 23:27:58 +0000 (01:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 23:26:47 +0000 (01:26 +0200)]
Follow up #77849 PDOStatement objects in undefined state after clone
Joe Watkins [Fri, 5 Apr 2019 22:55:58 +0000 (00:55 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Joe Watkins [Fri, 5 Apr 2019 22:55:31 +0000 (00:55 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Cameron Porter [Fri, 5 Apr 2019 18:42:04 +0000 (13:42 -0500)]
Fix bug #77849 Disable cloning of PDO handle/connection objects to avoid segfault
Christoph M. Becker [Fri, 5 Apr 2019 21:16:12 +0000 (23:16 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update Appveyor CI to php-sdk-2.2.0beta4
Christoph M. Becker [Fri, 5 Apr 2019 21:15:50 +0000 (23:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update Appveyor CI to php-sdk-2.2.0beta4
Christoph M. Becker [Fri, 5 Apr 2019 21:15:22 +0000 (23:15 +0200)]
Update Appveyor CI to php-sdk-2.2.0beta4
Peter Kokot [Fri, 5 Apr 2019 20:37:01 +0000 (22:37 +0200)]
[ci skip] Bring release process docs up 2 date
This syncs the latest version and the PHP-7.4 version release process
docs.
Peter Kokot [Fri, 5 Apr 2019 17:44:56 +0000 (19:44 +0200)]
Add opcache.lockfile_path and opcache.lockfile_path to ini settings
Some default opcache settings were missing.
Markus Staab [Fri, 5 Apr 2019 05:51:30 +0000 (07:51 +0200)]
typo
Dmitry Stogov [Thu, 4 Apr 2019 21:25:45 +0000 (00:25 +0300)]
Optimized "smart branch" instructions
Dmitry Stogov [Thu, 4 Apr 2019 15:18:12 +0000 (18:18 +0300)]
Make is_identical() functions return zend_bool (instead of int)
Dmitry Stogov [Thu, 4 Apr 2019 14:52:17 +0000 (17:52 +0300)]
unused variable
Christoph M. Becker [Thu, 4 Apr 2019 12:24:56 +0000 (14:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix typos
Christoph M. Becker [Thu, 4 Apr 2019 12:22:36 +0000 (14:22 +0200)]
Fix typos
Matteo Beccati [Wed, 3 Apr 2019 12:36:20 +0000 (14:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Matteo Beccati [Wed, 3 Apr 2019 12:36:11 +0000 (14:36 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Alessandro Chitolina [Tue, 2 Apr 2019 12:36:59 +0000 (14:36 +0200)]
Ref #76801 remove old file source from file_sources hash in case of file included more than once
Dmitry Stogov [Wed, 3 Apr 2019 09:38:25 +0000 (12:38 +0300)]
Remove RC1 and RCN from scalar types.
Dmitry Stogov [Wed, 3 Apr 2019 08:22:59 +0000 (11:22 +0300)]
Fixed SCCP support for ZEND_ASSIGN_OBJ_REF
Dmitry Stogov [Wed, 3 Apr 2019 00:11:15 +0000 (03:11 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:47 +0000 (03:09 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:03 +0000 (03:09 +0300)]
Fixed CFG construction for SWITCH opcodes
Dmitry Stogov [Tue, 2 Apr 2019 21:44:31 +0000 (00:44 +0300)]
array_merge() may return argument with incremented reference counter
Peter Kokot [Tue, 2 Apr 2019 21:24:21 +0000 (23:24 +0200)]
Clean ext/spl/tests/bug42364.phpt files after tests
Dmitry Stogov [Tue, 2 Apr 2019 20:49:13 +0000 (23:49 +0300)]
Use fastcall calling convention
Dmitry Stogov [Tue, 2 Apr 2019 20:46:21 +0000 (23:46 +0300)]
Improved comparison opcode handlers
Kalle Sommer Nielsen [Tue, 2 Apr 2019 18:18:06 +0000 (21:18 +0300)]
Remove dead JPEG2000 code
Christoph M. Becker [Tue, 2 Apr 2019 14:54:15 +0000 (16:54 +0200)]
Update NEWS
Joe Watkins [Tue, 2 Apr 2019 14:50:20 +0000 (16:50 +0200)]
bump versions after release
Remi Collet [Tue, 2 Apr 2019 09:06:06 +0000 (11:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:05:54 +0000 (11:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:05:39 +0000 (11:05 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix paste issue
Remi Collet [Tue, 2 Apr 2019 09:03:40 +0000 (11:03 +0200)]
fix paste issue
Christoph M. Becker [Tue, 2 Apr 2019 08:42:35 +0000 (10:42 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:41:26 +0000 (10:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:40:56 +0000 (10:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Pointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:37:40 +0000 (10:37 +0200)]
Pointer arithmetic on void pointers is illegal
We quick-fix this by casting to char*; it might be more appropriate to
use char pointers in the first place.
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:06 +0000 (00:13 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:00 +0000 (00:13 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:54 +0000 (00:12 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:26 +0000 (00:12 -0700)]
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Empty merge
Derick Rethans [Mon, 1 Apr 2019 09:38:40 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)
Stanislav Malyshev [Mon, 1 Apr 2019 07:30:56 +0000 (00:30 -0700)]
Unfortunately, travis CI has old oniguruma library
So we can't test it there.
Stanislav Malyshev [Mon, 1 Apr 2019 07:05:36 +0000 (00:05 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update NEWS & UPGRADING
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
Stanislav Malyshev [Mon, 1 Apr 2019 07:03:49 +0000 (00:03 -0700)]
Update NEWS & UPGRADING
Stanislav Malyshev [Mon, 1 Apr 2019 07:00:14 +0000 (00:00 -0700)]
Merge branch 'mb-limit-73' into PHP-7.3
* mb-limit-73:
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:30 +0000 (23:11 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:27 +0000 (23:11 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:24 +0000 (23:11 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:15 +0000 (23:11 -0700)]
Update NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:10:04 +0000 (23:10 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:57 +0000 (23:09 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:18 +0000 (23:09 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 18 Mar 2019 05:54:46 +0000 (22:54 -0700)]
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Anatol Belski [Mon, 1 Apr 2019 00:16:52 +0000 (02:16 +0200)]
Improve ascii check