| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.2:
Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix test case
|
| |
| |
| |
| |
| | |
stderr is supposed to be redirected to NUL (which is roughly equivalent
to /dev/null on POSIX), but actually was redirected to a file.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
A refactoring of the strip tags state machine[1] missed the special
treatment of `depth > 0` when a `>` is encountered in state 2 or 3. We
re-add it for BC reasons.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=5cf64742773ddbf9af69d962a4d12b567fcf0084>
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a PHP file contains an invalid hex literal such as `0x_10`, the expected error
is `Parse error: syntax error, unexpected 'x_10' (T_STRING) in %s on line %d`.
This already worked correctly on Linux, but on Windows prior to this patch a different
error was produced: `Parse error: Invalid numeric literal in %s on line %d`.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Convert CRLF to LF
|
| |
| |
| |
| |
| | |
These files are tracked with CRLF line endings in Git and can be
converted to LF. Neither are parts of tests or code itself.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Convert CRLF to LF in *.wsdl files
|
| |
| |
| |
| |
| | |
These EOL types are part of different environments and not part of the
tests themselves.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix typo
|
| |
| |
| |
| |
| | |
Since opcache.enable defaults to 1 anyway, this change is only
cosmetic.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix erroneous assertions
|
| |
| |
| |
| |
| |
| |
| | |
Since PHP strings are binary safe (i.e. they may contain NUL bytes), we
must not assume that strlen()/wcslen() actually return the length of
the string. Only if the given in_len is zero, it is safe to assert
this.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix log_verbosity_bug.phpt
|
| |
| |
| |
| |
| | |
This test may fail on Windows due to the file cache fallback. We
ensure that this will not happen.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Add {TMP} placeholder for PHPT INI sections
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Several tests use `/tmp` in the `--INI--` section, but this is not
portable. We therefore introduce the `{TMP}` placeholder which
evaluates to the system's temporary directory using
`sys_get_temp_dir()`.
We also remove the doubtful `strpos()` optimization.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
We can't assume that the method we're checking against is part of
the parent class...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch simplifies line endings tracked in the Git repository and
syncs them to all include the LF style instead of the CRLF files.
Newline characters:
- LF (\n) (*nix and Mac)
- CRLF (\r\n) (Windows)
- CR (\r) (old Mac, obsolete)
To see which line endings are in the index and in the working copy the
following command can be used:
`git ls-files --eol`
Git additionally provides `.gitattributes` file to specify if some files
need to have specific line endings on all platforms (either CRLF or LF).
Changed files shouldn't cause issues on modern Windows platforms because
also Git can do output conversion is core.autocrlf=true is set on
Windows and use CRLF newlines in all files in the working tree.
Unless CRLF files are tracked specifically, Git by default tracks all
files in the index using LF newlines.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
The php.net is redirected to https so use nginx.org
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
And also check for CURL_VERSION_* constants in the sync-constants.php
script.
Related to request #72189: Add missing `CURL_VERSION_*` constants.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Update NEWS wrt. sec fixes
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
|
| | |
| | |
| | |
| | |
| | |
| | | |
I do not completely understand what is going on there, but I am pretty
sure dir_entry <= offset_base if not a normal situation, so we better not
to rely on such dir_entry.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix #77821: Potential heap corruption in TSendMail()
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fix #77821: Potential heap corruption in TSendMail()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`zend_string_tolower()` returns a copy (not a duplicate) of the given
string, if it is already in lower case. In this case we must not not
`zend_string_free()` both strings. The cleanest solution is to call
` zend_string_release()` on both strings, which properly handles the
refcount.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix #77943: imageantialias($image, false); does not work
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the
color to anti-alias), but rather modify the `gdImage.AA` flag.
Furthermore, we have to actually use the supplied boolean value.
We also make sure that we don't attempt to enable anti-aliasing for
palette images.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Add tests for bug77943
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Fix #77943: imageantialias($image, false); does not work
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the
color to anti-alias), but rather modify the `gdImage.AA` flag.
Furthermore, we have to actually use the supplied boolean value.
We also make sure that we don't attempt to enable anti-aliasing for
palette images.
|
|\ \ \ \
| | |/ /
| |/| | |
|