mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
MFB: Fixed bug #44557 (Crash in imap_setacl when supplied integer as username)
This commit is contained in:
parent
f66f55edc5
commit
3946b1fd29
@ -1057,6 +1057,7 @@ PHP_FUNCTION(imap_setacl)
|
||||
ZEND_FETCH_RESOURCE(imap_le_struct, pils *, streamind, -1, "imap", le_imap);
|
||||
|
||||
convert_to_string_ex(mailbox);
|
||||
convert_to_string_ex(id);
|
||||
convert_to_string_ex(rights);
|
||||
|
||||
RETURN_BOOL(imap_setacl(imap_le_struct->imap_stream, Z_STRVAL_PP(mailbox), Z_STRVAL_PP(id), Z_STRVAL_PP(rights)));
|
||||
|
Loading…
Reference in New Issue
Block a user