]> granicus.if.org Git - php/log
php
5 years agoFixed bug #77873
Nikita Popov [Tue, 9 Apr 2019 15:27:02 +0000 (17:27 +0200)]
Fixed bug #77873

5 years agoFix leak on error in new serialization mechanism
Nikita Popov [Tue, 9 Apr 2019 15:18:49 +0000 (17:18 +0200)]
Fix leak on error in new serialization mechanism

5 years agoFixed ext/ffi/tests/044.phpt failure on 32-bit Linux
Dmitry Stogov [Tue, 9 Apr 2019 13:12:13 +0000 (16:12 +0300)]
Fixed ext/ffi/tests/044.phpt failure on 32-bit Linux

5 years agoEliminated check for assignment to itself
Dmitry Stogov [Tue, 9 Apr 2019 12:37:19 +0000 (15:37 +0300)]
Eliminated check for assignment to itself

5 years agoMicro-optimization
Dmitry Stogov [Tue, 9 Apr 2019 11:38:49 +0000 (14:38 +0300)]
Micro-optimization

5 years agoRemove duplicated substitude for Makefile
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.

5 years agoMerge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoRepare SWITCH VM
Dmitry Stogov [Mon, 8 Apr 2019 21:41:11 +0000 (00:41 +0300)]
Repare SWITCH VM

5 years agoRemove HAVE_STRERROR
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

5 years agoAdded range options to the float validation filter
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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 11:00:20 +0000 (13:00 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 8 Apr 2019 11:00:05 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoPreserve keys in emulate_read_fd_set()
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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 09:41:53 +0000 (11:41 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 8 Apr 2019 09:41:26 +0000 (11:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #77853
Nikita Popov [Mon, 8 Apr 2019 09:40:50 +0000 (11:40 +0200)]
Fixed bug #77853

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 8 Apr 2019 09:13:10 +0000 (11:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 8 Apr 2019 09:12:42 +0000 (11:12 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #77844
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.

5 years agoFix invalid function by-ref prop assign handling
Nikita Popov [Mon, 8 Apr 2019 08:18:26 +0000 (10:18 +0200)]
Fix invalid function by-ref prop assign handling

5 years agoAvoid time(NULL) call if explicit timestamp given
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.

5 years agoAdd AS_HELP_STRING to phpdbg options
Peter Kokot [Sun, 7 Apr 2019 21:24:10 +0000 (23:24 +0200)]
Add AS_HELP_STRING to phpdbg options

5 years ago[ci skip] Mention docs dir
Peter Kokot [Sun, 7 Apr 2019 21:16:08 +0000 (23:16 +0200)]
[ci skip] Mention docs dir

5 years agoRemove checks for locale.h, setlocale, localeconv
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

5 years agoRemove HAVE_SIGNAL_H
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

5 years agoRemove HAVE_LIMITS_H
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

5 years agoRefactor AC_INIT in configure.ac and PHP versions
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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agoAlways use ZEND_SECURE_ZERO() when cleaning up data
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.

5 years ago[ci skip] Update release process docs to Markdown
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

5 years agoFix ASAN configuration
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>

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoFollow 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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoFix 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

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoUpdate 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

5 years ago[ci skip] Bring release process docs up 2 date
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.

5 years agoAdd opcache.lockfile_path and opcache.lockfile_path to ini settings
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.

5 years agotypo
Markus Staab [Fri, 5 Apr 2019 05:51:30 +0000 (07:51 +0200)]
typo

5 years agoOptimized "smart branch" instructions
Dmitry Stogov [Thu, 4 Apr 2019 21:25:45 +0000 (00:25 +0300)]
Optimized "smart branch" instructions

5 years agoMake is_identical() functions return zend_bool (instead of int)
Dmitry Stogov [Thu, 4 Apr 2019 15:18:12 +0000 (18:18 +0300)]
Make is_identical() functions return zend_bool (instead of int)

5 years agounused variable
Dmitry Stogov [Thu, 4 Apr 2019 14:52:17 +0000 (17:52 +0300)]
unused variable

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoFix typos
Christoph M. Becker [Thu, 4 Apr 2019 12:22:36 +0000 (14:22 +0200)]
Fix typos

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoRef #76801 remove old file source from file_sources hash in case of file included...
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

5 years agoRemove RC1 and RCN from scalar types.
Dmitry Stogov [Wed, 3 Apr 2019 09:38:25 +0000 (12:38 +0300)]
Remove RC1 and RCN from scalar types.

5 years agoFixed SCCP support for ZEND_ASSIGN_OBJ_REF
Dmitry Stogov [Wed, 3 Apr 2019 08:22:59 +0000 (11:22 +0300)]
Fixed SCCP support for ZEND_ASSIGN_OBJ_REF

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoFixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:03 +0000 (03:09 +0300)]
Fixed CFG construction for SWITCH opcodes

5 years agoarray_merge() may return argument with incremented reference counter
Dmitry Stogov [Tue, 2 Apr 2019 21:44:31 +0000 (00:44 +0300)]
array_merge() may return argument with incremented reference counter

5 years agoClean ext/spl/tests/bug42364.phpt files after tests
Peter Kokot [Tue, 2 Apr 2019 21:24:21 +0000 (23:24 +0200)]
Clean ext/spl/tests/bug42364.phpt files after tests

5 years agoUse fastcall calling convention
Dmitry Stogov [Tue, 2 Apr 2019 20:49:13 +0000 (23:49 +0300)]
Use fastcall calling convention

5 years agoImproved comparison opcode handlers
Dmitry Stogov [Tue, 2 Apr 2019 20:46:21 +0000 (23:46 +0300)]
Improved comparison opcode handlers

5 years agoRemove dead JPEG2000 code
Kalle Sommer Nielsen [Tue, 2 Apr 2019 18:18:06 +0000 (21:18 +0300)]
Remove dead JPEG2000 code

5 years agoUpdate NEWS
Christoph M. Becker [Tue, 2 Apr 2019 14:54:15 +0000 (16:54 +0200)]
Update NEWS

5 years agobump versions after release
Joe Watkins [Tue, 2 Apr 2019 14:50:20 +0000 (16:50 +0200)]
bump versions after release

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agofix paste issue
Remi Collet [Tue, 2 Apr 2019 09:03:40 +0000 (11:03 +0200)]
fix paste issue

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agoPointer 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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agoFixed 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

5 years agoUpdated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)

5 years agoEmpty merge
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Empty merge

5 years agoUpdated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:40 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)

5 years agoUnfortunately, travis CI has old oniguruma library
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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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.

5 years agoUpdate NEWS & UPGRADING
Stanislav Malyshev [Mon, 1 Apr 2019 07:03:49 +0000 (00:03 -0700)]
Update NEWS & UPGRADING

5 years agoMerge branch 'mb-limit-73' into PHP-7.3
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.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agoUpdate NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:15 +0000 (23:11 -0700)]
Update NEWS

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

5 years agoMerge branch 'PHP-7.1' into PHP-7.2
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

5 years agoFix 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

5 years agoImprove ascii check
Anatol Belski [Mon, 1 Apr 2019 00:16:52 +0000 (02:16 +0200)]
Improve ascii check

5 years agoRework conditions and make them more future proof
Anatol Belski [Sun, 31 Mar 2019 20:10:56 +0000 (22:10 +0200)]
Rework conditions and make them more future proof

5 years agoImplement stricter CRT check
Anatol Belski [Sun, 31 Mar 2019 15:28:50 +0000 (17:28 +0200)]
Implement stricter CRT check

This aligns with the recommendations about VS2015, VS2017 and VS2019
compatibility.

More info below
https://devblogs.microsoft.com/cppblog/cpp-binary-compatibility-and-pain-free-upgrades-to-visual-studio-2019/

5 years agoFix return
Anatol Belski [Sun, 31 Mar 2019 12:31:57 +0000 (14:31 +0200)]
Fix return

5 years agoRework the VS version evaluation
Anatol Belski [Sun, 31 Mar 2019 12:18:12 +0000 (14:18 +0200)]
Rework the VS version evaluation

For the latest versions, refer also to the Visual Studio version, not to
the exact toolset version. The latest Visual Studio versions are moving
fast and the method existed previously is not sutable to keep up
anymore. Instead of refering to the exact toolset, it refers to the
Visual Studio version and implies the latest toolset available there.
That is still not ideal, another situation can arise where VS version is
not changed, but the toolset version is. It might be better to refer to
it a generic way in the future or even omit at all, and improve the
internal compatibility checks instead.

5 years agoImplement stricter extension compatibility check
Anatol Belski [Sun, 31 Mar 2019 12:01:36 +0000 (14:01 +0200)]
Implement stricter extension compatibility check

This hardens the dynamic module loading by checking the linker compatibility
between the core and the dynamic module. This likely should be extended
for the CRT as well, as 2015, 2017 and 2019 versions of Visual Studio
all have same DLL name for the CRT.