|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44557 Fix crash in imap_setacl
Submitted: 2008-03-28 13:20 UTC Modified: 2008-03-28 16:46 UTC
From: thomas dot jarosch at intra2net dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.2.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: thomas dot jarosch at intra2net dot com
New email:
PHP Version: OS:


 [2008-03-28 13:20 UTC] thomas dot jarosch at intra2net dot com
Hello together,

attached patch fixes a crash in imap_setacl if you
pass an integer as username.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-28 13:22 UTC] thomas dot jarosch at intra2net dot com
--- php-5.2.5/ext/imap/php_imap.c       Fri Mar 28 13:28:28 2008
+++   Fri Mar 28 13:58:18 2008
@@ -1080,6 +1101,7 @@
        ZEND_FETCH_RESOURCE(imap_le_struct, pils *, 
streamind, -1, "imap", le_imap);

+       convert_to_string_ex(id);

Z_STRVAL_PP(mailbox), Z_STRVAL_PP(id), Z_STRVAL_PP(rights)));
 [2008-03-28 16:46 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Thanks for patch!
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 15 14:01:24 2021 UTC