| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix #77565: Incorrect locator detection in ZIP-based phars
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We must not assume that the first end of central dir signature in a ZIP
archive actually designates the end of central directory record, since
the data in the archive may contain arbitrary byte patterns. Thus, we
better search from the end of the data, what is also slightly more
efficient.
There is, however, no way to detect the end of central directory
signature by searching from the end of the ZIP archive with absolute
certainty, since the signature could be part of the trailing comment.
To mitigate, we check that the comment length fits to the found
position, but that might still not be the correct position in rare
cases.
Closes GH-6507.
|
| |
| |
| |
| |
| |
| |
| | |
We must not alias the closed stream to `phar_archive_data.fp`, and use
PHAR_ZIP_FAIL() for consistency with the rest of this function.
Closes GH-6578.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Fix memory leak in Phar::webPhar() on Windows
|
| |
| |
| |
| | |
Closes GH-6574.
|
| |
| |
| |
| |
| |
| |
| | |
I suspect this is only a partial fix for the issue, it's probably
possible to recurse through a more complex pathway as well.
Fixes oss-fuzz #28961.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
gdbinit: use ____print_str to print htable keys
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I noticed this problem while dumping the contents of EG(function_table),
where keys for closures start with a null byte. printf interprets this
as a zero-length string and emits nothing. This allows the key to be
rendered properly in readable form.
Closes GH-6577.
|
| | |
|
| |
| |
| |
| | |
Closes GH-6573
|
| |
| |
| |
| |
| |
| | |
Based on the patch provided by david at bamsoftware.
Closes GH-6517.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
gmp_cmp() doesn't return false anymore in PHP 8 but will throw
an Error if compared to a non numeric string or another type of object.
Closes GH-6553
|
| |
| |
| |
| | |
Make sure the server has started up before we try to connect to it.
|
| |
| |
| |
| |
| |
| |
| | |
If the passed argument has correct type (string) but does not
have a well-formed value, throw ValueError instead of TypeError.
Closes GH-6572.
|
| | |
|
| |
| |
| |
| | |
Closes GH-6556.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Disable non-cron travis jobs
|
| |
| |
| |
| |
| | |
This was already done for PHP-8.0 and master, do it for PHP-7.4
as well.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* PHP-7.4:
[ci skip] Update NEWS
[ci skip] Fix order
[ci skip] Unpdate NEWS
Fix #77423: parse_url() will deliver a wrong host to user
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
[ci skip] Fix order
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
[ci skip] Unpdate NEWS
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #77423: parse_url() will deliver a wrong host to user
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Fix #77423: parse_url() will deliver a wrong host to user
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To avoid that `parse_url()` returns an erroneous host, which would be
valid for `FILTER_VALIDATE_URL`, we make sure that only userinfo which
is valid according to RFC 3986 is treated as such.
For consistency with the existing url parsing code, we use ctype
functions, although that is not necessarily correct.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To avoid that `parse_url()` returns an erroneous host, which would be
valid for `FILTER_VALIDATE_URL`, we make sure that only userinfo which
is valid according to RFC 3986 is treated as such.
For consistency with the existing url parsing code, we use ctype
functions, although that is not necessarily correct.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6559.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6563.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Levenshtein is about insertion, replacement and deletion.
Closes GH-6560.
|
| | | |
| | | |
| | | |
| | | | |
We cannot `RETURN_THROWS()` here, since `return_value` is not defined.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If `zval_update_constant_ex()` fails, an exception has already been
thrown, so we clarify that in the implementation as well.
Closes GH-6557.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6549.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6543.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6367
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6516.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6542.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Replace sort() function calls with ksort() in basic ksort test
|