[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imap: Segfault when IMAP\Connection is used after imap_close() was called. #9309

Closed
konzelmann opened this issue Aug 12, 2022 · 0 comments
Closed

Comments

@konzelmann
Copy link

Description

Resulted in a segfault

PHP Version

PHP 8.1.9 (cli) (built: Aug 5 2022 11:22:59) (NTS)

Operating System

ARCH Linux

@cmb69 cmb69 self-assigned this Aug 12, 2022
cmb69 added a commit to cmb69/php-src that referenced this issue Aug 12, 2022
We actually need to check whether `php_imap_object.imap_stream` is
`NULL` to detect that the connection has already been closed.
@cmb69 cmb69 closed this as completed in 71c22ef Aug 12, 2022
cmb69 added a commit that referenced this issue Aug 12, 2022
* PHP-8.1:
  Fix GH-9309: Segfault when connection is used after imap_close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants