mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
@- Fix crash resulting from IMAP's error handling (Stanislav)
This commit is contained in:
@@ -287,7 +287,7 @@ PHP_RSHUTDOWN_FUNCTION(imap)
|
||||
/* output any remaining errors at their original error level */
|
||||
ecur = IMAPG(imap_errorstack);
|
||||
while (ecur != NIL) {
|
||||
php_error(ecur->errflg, ecur->LTEXT);
|
||||
php_error(E_NOTICE, "%s (errflg=%d)", ecur->LTEXT, ecur->errflg);
|
||||
ecur = ecur->next;
|
||||
}
|
||||
mail_free_errorlist(&IMAPG(imap_errorstack));
|
||||
|
||||
Reference in New Issue
Block a user