| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit a62154564d7caffc80b5917ce1962cea4f3d184a)
|
|
|
|
|
|
|
|
| |
* PHP-7.2:
Fix test
Fix bug #78793
(cherry picked from commit 5cb4686753a853cb07844feb2b082b409fd7e880)
|
|
|
|
| |
(cherry picked from commit b74a300edf9ee1cd33edbafd9f3aec37ff4bf004)
|
|
|
|
|
|
|
|
|
|
|
| |
* PHP-7.2:
Fixed bug #78910
Fix #78878: Buffer underflow in bc_shift_addsub
Fix test
Fix #78862: link() silently truncates after a null byte on Windows
Fix #78863: DirectoryIterator class silently truncates after a null byte
(cherry picked from commit a65b8abf2c9702503591d894ddac0b2f046950b6)
|
|
|
|
|
|
|
|
|
|
|
| |
Since we need `headers_lc` as well as `headers_trim` in the following,
we do not release the former even if they are the same string, to avoid
complicating the release logic even more.
A new test case is not necessary, since we already have
mail_basic_alt2-win32.phpt and others.
(cherry picked from commit 518a160b65fe1c535dc7e78972ba7428c2a4e197)
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
next is 7.2.27
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #78814: strip_tags allows / in tag name => whitelist bypass
|
| |
| |
| |
| |
| |
| |
| | |
When normalizing tags to check whether they are contained in the set
of allowable tags, we must not strip slashes, unless they come
immediately after the opening `<`, or immediately before the closing
`>`.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If we're constructing extended-length paths (i.e. paths prefixed with
`\\?\`), we have to replace all forward slashes with backward slashes,
because the former are not supported by Windows for extended-length
paths.
The more efficient and likely cleaner alternative solution would be to
cater to this in `php_win32_ioutil_normalize_path_w()` by always
replacing forward slashes, but that might break existing code. It
might be sensible to change that for `master`, though.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #78833: Integer overflow in pack causes out-of-bound access
|
| |
| |
| |
| |
| | |
We check for potential signed integer overflow, and bail out
gracefully, in that case.
|
| |
| |
| |
| | |
Oniguruma 6.9.4 fixes several CVEs.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This partially reverts commit c55d09c2f547634b577aa5aeaa1438d772bc29d1,
because `MB_ONIGURUMA_VERSION` is only available as of PHP 7.4.0, so
that change made no sense for PHP-7.3; we keep it for PHP-7.4, though.
We also stick with the modification to bug78633.phpt.
|
| |
| |
| |
| |
| |
| | |
Apparently, bug 78633 has now really been fixed; the former fix only
catered to the buffer overflow, but yielded a wrong result. Also,
the order of the named captures has been fixed.
|
| |
| |
| |
| | |
We add support for IS_INDIRECT zvals to implode().
|
| |
| |
| |
| |
| |
| | |
If objects return immutable property hash tables (typically,
`zend_empty_array`), we must not try to apply recursion protection on
those.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Commit 54ebebd[1] optimized the match loop, but for this case it has
been overlooked, that we must only loop if we're doing global matching.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=54ebebd686255c5f124af718c966edb392782d4a>
|
|\ \
| |/ |
|
| |
| |
| |
| | |
SAPI version to LiteSpeed v7.6 .
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #78849: GD build broken with -D SIGNED_COMPARE_SLOW
|
| |
| |
| |
| |
| |
| | |
Apparently, this has not been tested for a long time, and might be a
refactoring relict. Anyhow, we have to pass the context to
`GIFNextPixel` as well.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Update NEWS
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix $x = (bool)$x; for undefined with opcache
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And `$x = !$x`
Noticed while working on GH-4912
The included test would not emit undefined variable errors in php 8.0
with opcache enabled. The command used:
```
php -d zend_extension=opcache.so --no-php-ini -d error_reporting=E_ALL \
-d opcache.file_cache= -d opcache.enable_cli=1 test.php
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Opcache stores `opline->handler`s in shared memory. These pointers are
invalid, if the main PHP DLL is loaded at another base address due to
ASLR. We therefore store the address of `execute_ex` in the mmap base
file, and check on startup whether it matches its current address. If
not, we fall back on the file cache if enabled, and bail out otherwise.
This still does not address cases where the opline handler is located
inside of another DLL (e.g. for some profilers, debuggers), but there
seems to be no general solution for now.
(cherry picked from commit 8ba10b8fbc020dc225d3b19d8f088f1351a3e304)
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix bug #78804 - Segmentation fault in Locale::filterMatches
|
| | |
|
| |
| |
| |
| |
| | |
Also remove portability headers. This goes against the existing
conventions of these files.
|
| |
| |
| |
| |
| |
| | |
This allows it to be used by C++ extensions without them having to do their own forward declares.
Closes GH-4890.
|
| |
| |
| |
| |
| |
| | |
We should only set the mutex to NULL if we actually freed it.
Due to missing braces non-main threads may currently set it to
NULL first.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Remove outdated comments in test
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fixed bug #78759
|
| |
| |
| |
| | |
Handle INDIRECT values in array.
|
| |
| |
| |
| |
| | |
Not the first time inheritance of shadow properties causes an issue,
thankfully this whole concept is gone in PHP 7.4.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Bump for 7.2.26-dev
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fixed bug #78775
|
| |
| |
| |
| |
| |
| | |
Clear the OpenSSL error queue before performing SSL stream operations.
As we don't control all code that could possibly be using OpenSSL,
we can't rely on the error queue being empty.
|
| |
| |
| |
| |
| | |
The proper `SIZEOF_SIZE_T` definitions are available as of Oniguruma
6.9.1; no more need to patch.
|