| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Change parameters types from int to bool
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fix #80216: imap_mail_compose() does not validate types/encodings
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* 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-8.0:
Fix #80223: imap_mail_compose() leaks envelope on malformed bodies
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* 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-8.0:
Fix #80220: imap_mail_compose() may leak memory
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* 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-8.0:
Fix #80215: imap_mail_compose() may modify by-val parameters
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* 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-8.0:
Fix #80213: imap_mail_compose() segfaults on certain $bodies
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* 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.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
`rpath` may be `NULL` here, in which case we must not access its
members.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Drop some dependencies on argc at the same time
Closes GH-6164
|
| | |
| | |
| | |
| | | |
Closes GH-6179
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix memory leak in php_imap_mutf7()
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix memory leak in php_imap_mutf7()
|
| | |
| | |
| | |
| | | |
We have to free the string which has been allocated by libc-client.
|
| | |
| | |
| | |
| | | |
Closes GH-5758
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-5351
|
| | |
| | |
| | |
| | | |
Closes GH-5187
|
| | |
| | |
| | |
| | | |
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Except for some bigger ones: reflection, sodium, spl
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-4732.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
These are not really aliases, convert them to normal functions.
Closes GH-4725.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
|
| |
| |
| |
| | |
The regex may be used as a cache key now.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.
A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.
This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.
With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.
Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-7.3:
Fix bug #77143 - add more checks to buffer reads
Fix bug #77143 - add more checks to buffer reads
Fix #77020: null pointer dereference in imap_mail
|