ID: 46837 Updated by: [email protected] Reported By: zoe dot slattery at googlemail dot com Status: Open Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 5.3.0alpha3 -Assigned To: +Assigned To: zoe New Comment:
assigning to myself after discussion with ilia Previous Comments: ------------------------------------------------------------------------ [2008-12-11 14:58:36] zoe dot slattery at googlemail dot com Description: ------------ The value of CL_EXPUNGE is checked in imap_close() but the check just ensures that any value that ends in a 1 is treated as valid, this is a similar issue to #46731 and the fix is similar. The value of CL_EXPUNGE should be either 0 or 32768. The attached patches do an explicit check for 0 or 32768. php52: http://pastebin.ca/1282662 php53: http://pastebin.ca/1282664 php6: http://pastebin.ca/1282667 Reproduce code: --------------- This testcase: http://pastebin.ca/1282641 Expected result: ---------------- Th expected result is shown in the test case Actual result: -------------- The actual result from PHP52 is: http://pastebin.ca/1282656 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46837&edit=1
