diff options
| author | Felipe Pena <felipe@php.net> | 2008-03-28 16:43:49 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-03-28 16:43:49 +0000 |
| commit | fd6f77d569962033261a6d6e6bb799b1a4cd09e2 (patch) | |
| tree | 0908f18d15227887a434db0ba3ac6615aa9f08c3 | |
| parent | dd040e75c36e8ca0285d12aa260832cfa0ed80fb (diff) | |
| download | php-git-fd6f77d569962033261a6d6e6bb799b1a4cd09e2.tar.gz | |
Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (patch by Thomas Jarosch)
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | ext/imap/php_imap.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? Apr 2008, PHP 5.2.6 +- Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) + (Thomas Jarosch) 27 Mar 2008, PHP 5.2.6RC3 - Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index ffad65cc6a..3d6f3c6c8f 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1051,6 +1051,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))); |
