summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2018-12-031-1/+0
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: 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 Don't need interactive progress on git clones in Travis Fix TSRM signature - php_stream_stat macro has it's own TSRM Regenerate certificates for openssl tests Improve test for bug77022
| | * Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-12-031-1/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: 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
| | | * Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-12-031-1/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: 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
| | | | * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-12-031-1/+0
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix bug #77143 - add more checks to buffer reads Fix #77020: null pointer dereference in imap_mail
| | | | | * Fix #77020: null pointer dereference in imap_mailStanislav Malyshev2018-12-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an empty $message is passed to imap_mail(), we must not set message to NULL, since _php_imap_mail() is not supposed to handle NULL pointers (opposed to pointers to NUL).
* | | | | | Clean up unnecessary ternary expressions and simplify some returnsGabriel Caruso2018-12-031-5/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop sign in favor of ZEND_NORMALIZE_BOOL
* | | | | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2018-11-281-0/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.2: Add DISPLAY_INI_ENTRIES for imap Disable rsh/ssh functionality in imap by default (bug #77153) Disable rsh/ssh functionality in imap by default (bug #77153)
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2018-11-281-0/+2
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Add DISPLAY_INI_ENTRIES for imap Disable rsh/ssh functionality in imap by default (bug #77153) Disable rsh/ssh functionality in imap by default (bug #77153)
| | * | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-11-281-0/+2
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Add DISPLAY_INI_ENTRIES for imap Disable rsh/ssh functionality in imap by default (bug #77153) Disable rsh/ssh functionality in imap by default (bug #77153)
| | | * | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-11-281-0/+2
| | | |\ \ | | | | |/ | | | | | | | | | | | | | | | * PHP-5.6: Add DISPLAY_INI_ENTRIES for imap
| | | | * Add DISPLAY_INI_ENTRIES for imapStanislav Malyshev2018-11-281-0/+2
| | | | |
| | | | * Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-201-0/+17
| | | | |
| | | | * Merge remote-tracking branch 'phpsec/PHP-5.6.28' into PHP-5.6Anatol Belski2016-11-081-1/+1
| | | | |\
| | | | | * Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crashAnatol Belski2016-11-031-1/+1
| | | | | |
| | | | * | More string length checks & fixesStanislav Malyshev2016-11-031-1/+1
| | | | |/
| | | * | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-201-0/+17
| | | | |
| | | * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | | | |
| | * | | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-201-0/+17
| | | | |
| * | | | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-201-0/+17
| | | | |
* | | | | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-201-0/+17
| | | | |
* | | | | Future-proof email addressesZeev Suraski2018-11-011-1/+1
| | | | |
* | | | | Remove unused Git attributes identPeter Kokot2018-07-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | | | Use zval_ptr_dtor() instead of zval_dtor() in internal functions that ↵Dmitry Stogov2018-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | destroy new created object (This is safer and produces less code)
* | | | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | | | | Merge branch 'PHP-7.2'Nikita Popov2018-04-141-0/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-04-141-0/+1
| |\ \ \ \ | | |/ / /
| | * | | reset imap_errorstack after outputting itAron Rotteveel2018-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | This happens in `imap_errors` as well, but seems to be omitted in the `shutdown` routine.
* | | | | Merge branch 'PHP-7.2'Anatol Belski2018-01-121-6/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Fixed bug #75774 imap_append HeapCorruction
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-01-121-6/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.1: Fixed bug #75774 imap_append HeapCorruction
| | * | | Fixed bug #75774 imap_append HeapCorructionAnatol Belski2018-01-121-6/+5
| | | | |
| | * | | year++Xinchen Hui2018-01-021-1/+1
| | | | |
| | * | | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| | | | |
| * | | | year++Xinchen Hui2018-01-021-1/+1
| | | | |
* | | | | year++Xinchen Hui2018-01-021-1/+1
| | | | |
* | | | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | | | |
* | | | | Cleanup type conversionDmitry Stogov2017-12-071-16/+8
|/ / / /
* | | | Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)Kalle Sommer Nielsen2017-07-071-5/+2
| | | |
* | | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|/ / /
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-11-081-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash Fix #72696: imagefilltoborder stackoverflow on truecolor images Fix #72482: Ilegal write/read access caused by gdImageAALine overflow Fix bug #73144 and bug #73341 - remove extra dtor remove unreferenced var came in with merge Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle Fix #72696: imagefilltoborder stackoverflow on truecolor images Fix #72482: Ilegal write/read access caused by gdImageAALine overflow fix version set versions Fix bug #73144 and bug #73341 - remove extra dtor Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle
| * | Merge remote-tracking branch 'phpsec/PHP-7.0.13' into PHP-7.0Anatol Belski2016-11-081-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * phpsec/PHP-7.0.13: Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crash Fix #72696: imagefilltoborder stackoverflow on truecolor images Fix #72482: Ilegal write/read access caused by gdImageAALine overflow Fix bug #73144 and bug #73341 - remove extra dtor remove unreferenced var came in with merge Fix bug #73331 - do not try to serialize/unserialize objects wddx can not handle fix version set versions
| | * | Fixed bug #73418 Integer Overflow in "_php_imap_mail" leads to crashAnatol Belski2016-11-031-1/+1
| | | | | | | | | | | | | | | | (cherry picked from commit 99b242a6d093bca1f64084866b4491061de57553)
* | | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2016-11-031-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Add length check for bzcompress too - fix for bug #73356 More string length checks & fixes More string length checks & fixes
| * | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-11-031-1/+1
| |\ \ \ | | |/ / | |/| | | | | | | | | | * PHP-5.6: More string length checks & fixes
| | * | More string length checks & fixesStanislav Malyshev2016-11-031-1/+1
| | |/
| | * Fix bug #73208 - another missing length checkStanislav Malyshev2016-10-031-1/+1
| | |
| | * Fix various int size overflows.Stanislav Malyshev2016-09-121-11/+17
| | | | | | | | | | | | | | | Add function for detection of string zvals with length that does not fit INT_MAX.
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-09-131-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: pick up the safe alloc pieces from 19866fb76cf4c95d904ebb0e08592cf38303fae9
| * | pick up the safe alloc pieces fromAnatol Belski2016-09-131-1/+1
| | | | | | | | | | | | 19866fb76cf4c95d904ebb0e08592cf38303fae9
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-08-201-3/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | * PHP-7.0: update NEWS update NEWS Fixed bug #72852 imap_mail null dereference
| * | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-201-3/+3
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.6: update NEWS Fixed bug #72852 imap_mail null dereference