History log of /PHP-8.2/ext/imap/php_imap.c (Results 1 – 25 of 536)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 52a891ae 13-Dec-2022 George Peter Banyard

Add a new imap_is_open() function to check that a connection object is still valid

# e8858316 12-Aug-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix GH-9309: Segfault when connection is used after imap_close()


# 71c22efa 12-Aug-2022 Christoph M. Becker

Fix GH-9309: Segfault when connection is used after imap_close()

We actually need to check whether `php_imap_object.imap_stream` is
`NULL` to detect that the connection has already been

Fix GH-9309: Segfault when connection is used after imap_close()

We actually need to check whether `php_imap_object.imap_stream` is
`NULL` to detect that the connection has already been closed.

Closes GH-9313.

show more ...

# 176a484d 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/imap as sensitive

# e7d482d8 06-Jun-2022 Máté Kocsis

Declare ext/imap constants in stubs (#8715)

# 90b7bde6 03-Nov-2021 Dmitry Stogov

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[

Use more compact representation for packed arrays.

- for packed arrays we store just an array of zvals without keys.
- the elements of packed array are accessible throuf as ht->arPacked[i]
instead of ht->arData[i]
- in addition to general ZEND_HASH_FOREACH_* macros, we introduced similar
familied for packed (ZEND_HASH_PACKED_FORECH_*) and real hashes
(ZEND_HASH_MAP_FOREACH_*)
- introduced an additional family of macros to access elements of array
(packed or real hashes) ZEND_ARRAY_ELEMET_SIZE, ZEND_ARRAY_ELEMET_EX,
ZEND_ARRAY_ELEMET, ZEND_ARRAY_NEXT_ELEMENT, ZEND_ARRAY_PREV_ELEMENT
- zend_hash_minmax() prototype was changed to compare only values

Because of smaller data set, this patch may show performance improvement
on some apps and benchmarks that use packed arrays. (~1% on PHP-Parser)

TODO:
- sapi/phpdbg needs special support for packed arrays (WATCH_ON_BUCKET).
- zend_hash_sort_ex() may require converting packed arrays to hash.

show more ...

# 2a4dba7b 17-Aug-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix maybe-uninitialized warning


# b66168e8 17-Aug-2021 Nikita Popov

Fix maybe-uninitialized warning

Some GCC versions don't like zend_try in loop. Avoid the issue
by pulling it out of the loop, we don't particularly care about
skipping further warnin

Fix maybe-uninitialized warning

Some GCC versions don't like zend_try in loop. Avoid the issue
by pulling it out of the loop, we don't particularly care about
skipping further warnings if a bailout occurs, just that it
does not interrupt shutdown.

Closes GH-7380.

show more ...

# f603934a 17-Aug-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Prevent bailout during imap shutdown error reporting


# 85eafc31 17-Aug-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Prevent bailout during imap shutdown error reporting


# bcc2f070 17-Aug-2021 Nikita Popov

Prevent bailout during imap shutdown error reporting

This is a non-intrusive, minimal fix for bug #81316, which prevents
a bailout during imap RSHUTDOWN and prevents the basic shutdown

Prevent bailout during imap shutdown error reporting

This is a non-intrusive, minimal fix for bug #81316, which prevents
a bailout during imap RSHUTDOWN and prevents the basic shutdown
handler from being skipped.

I wasn't able to make the issue reproduce in a small test.

show more ...

# cd0cd3d3 01-Aug-2021 Kamil Tekiela

Fix typos (#7327)

# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

# 2bc23cc6 08-Jul-2021 Nikita Popov

Deprecate imap NIL constant

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

# ceb6fa6d 18-Jun-2021 Patrick Allaert

Convert some recently introduced zend_bool to bool

As well as `scripts/dev/check_parameters.php` utility.

Cfr. 3e01f5afb1b52fe26a956190296de0192eedeec1

# bc8aa7d0 09-Jun-2021 Nikita Popov

Use free_obj in IMAP\Connection

Looks like this incorrect pattern was copied from the FTP
implementation.

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# 27d40da9 28-Apr-2021 George Peter Banyard

Convert IMAPConnection to IMAP\Connection

# b74f5ee4 27-Apr-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix build warning


# 7544f66d 27-Apr-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix build warning


# 310c0561 27-Apr-2021 Nikita Popov

Fix build warning

This causes the build to fail on PHP-8.0 and higher.

# 3d2c810e 27-Apr-2021 Stanislav Malyshev

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix #80710: imap_mail_compose() header injection


# a4d9ccbc 27-Apr-2021 Stanislav Malyshev

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #80710: imap_mail_compose() header injection


# 568df316 27-Apr-2021 Stanislav Malyshev

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #80710: imap_mail_compose() header injection


# 37962c61 05-Feb-2021 Christoph M. Becker

Fix #80710: imap_mail_compose() header injection

Like `mail()` and `mb_send_mail()`, `imap_mail_compose()` must prevent
header injection. For maximum backward compatibility, we still al

Fix #80710: imap_mail_compose() header injection

Like `mail()` and `mb_send_mail()`, `imap_mail_compose()` must prevent
header injection. For maximum backward compatibility, we still allow
header folding for general headers, and still accept trailing line
breaks for address lists.

show more ...

12345678910>>...22