| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
If we have an undefined variable and null is not accepted by the
return type, we want to throw just the undef var error.
In this case this lead to an infinite loop, because we overwrite
the exception opline in SAVE_OPLINE and it does not get reset
when chaining into a previous exception. Add an assertiong to
catch this case earlier.
|
|
|
|
| |
Closes GH-6279.
|
| |
|
|
|
|
| |
Closes GH-6307.
|
|\
| |
| |
| |
| | |
* PHP-7.4:
7.3.25 is next
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
7.3.25 is next
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80226: imap_sort() leaks sortpgm memory
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80226: imap_sort() leaks sortpgm memory
|
| | |
| | |
| | |
| | |
| | |
| | | |
We need to free what we have allocated.
Closes GH-6327.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are typical boolean parameters, so we shouldn't advertize them as
integers. For the `$reverse` parameter that even fixes expectations,
because the `reverse` member is a bitfield of 1 bit, so assigning any
even integer would not set it.
Closes GH-6328.
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-6309
|
| | |
| | |
| | |
| | | |
Closes GH-6310
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
intl: report more information about message pattern parse errors
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The message patterns can be pretty complex, so reporting a generic
U_PARSE_ERROR without any additional information makes it needlessly
hard to fix erroneous patterns.
This commit makes use of the additional UParseError* parameter to
umsg_open to retrieve more details about the parse error to report that
to the user via intl_get_error_message()
Additional improve error reporting from the IntlMessage constructor.
Previously, all possible failures when calling IntlMessage::__construct()
would be masked away with a generic "Constructor failed" message.
This would include invalid patterns.
This commit makes sure that the underlying error that caused the
constructor failure is reported as part of the IntlException error
message.
Closes GH-6325.
|
| | |
| | |
| | |
| | |
| | | |
Namespaced and declares have a different interpretation of what
"first statement" means.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80216: imap_mail_compose() does not validate types/encodings
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80216: imap_mail_compose() does not validate types/encodings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to check whether the given `type`s and `encoding`s are within
bounds to avoid segfaults and out-of-bound reads.
Closes GH-6323.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80223: imap_mail_compose() leaks envelope on malformed bodies
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80223: imap_mail_compose() leaks envelope on malformed bodies
|
| | |
| | |
| | |
| | |
| | |
| | | |
We have to clean up even on failure.
Closes GH-6322.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80220: imap_mail_compose() may leak memory
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80220: imap_mail_compose() may leak memory
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Unless `topbod` is of `TYPEMULTIPART`, `mail_free_body()` does not free
the `nested.part`; while we could do this ourselves, instead we just
ignore additional bodies in this case, i.e. we don't attach them in the
first place.
Closes GH-6321.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Revert "Add missing X509 purpose constants"
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 1e53e14bc31aec98a408e517c7c8493ef4bf80cd.
This fails on Travis.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add missing X509 purpose constants
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
X509_PURPOSE_OCSP_HELPER, X509_PURPOSE_TIMESTAMP_SIGN are available
from OpenSSL for many years:
- X509_PURPOSE_OCSP_HELPER, since 2001
- X509_PURPOSE_TIMESTAMP_SIGN, since 2006
Also drop the ifdef check for X509_PURPOSE_ANY, as it is always
available in supported OpenSSL versions.
Closes GH-6312.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Detect self-addition of array more accurately
Deindirect source elements in zend_hash_merge
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.3:
Detect self-addition of array more accurately
Deindirect source elements in zend_hash_merge
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While the zvals may be different, they may still point to the
same array.
Fixes oss-fuzz #26245.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the RHS has INDIRECT elements, we do not those to be added to
the LHS verbatim. As we're using UPDATE_INDIRECT, we might even
create a nested INDIRECT that way.
This is a side-quest of oss-fuzz #26245.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Backport schedule in yaml
|
| | |
| | |
| | |
| | |
| | | |
I'm not sure it's needed, but let's try it: Add the scheduled
builds on PHP-7.4 and PHP-8.0 as well, rather than just master.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Avoid non-object in FE_FREE
|
| | |
| | |
| | |
| | |
| | |
| | | |
Even if the properties HT is empty, make sure we still leave an
object in the FE_RESET result, so our type inference results
stay correct.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
These break BC, and as such we have to stick with docblock annotations.
Closes GH-6319.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80215: imap_mail_compose() may modify by-val parameters
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80215: imap_mail_compose() may modify by-val parameters
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We separate the input arrays and all sub-arrays to avoid modification
of the passed parameters.
This should be rewritten to use `zend_string`s for the "master" branch.
Closes GH-6316.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #80213: imap_mail_compose() segfaults on certain $bodies
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #80213: imap_mail_compose() segfaults on certain $bodies
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We have to cater to non-associative arrays where the key may be `NULL`;
we just skip these elements.
Closes GH-6315.
|