#44511 [Opn->Asn]: missing exception check in spl_filesystem_dir_open
| From: | colder@php.net | Date: | Sun, 23 Mar 2008 23:31:36 +0000 |
| Subject: | #44511 [Opn->Asn]: missing exception check in spl_filesystem_dir_open | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123566@lists.php.net to get a copy of this message | ||
ID: 44511
Updated by: colder@php.net
Reported By: cellog@php.net
-Status: Open
+Status: Assigned
Bug Type: SPL related
PHP Version: 5.3CVS-2008-03-23 (CVS)
-Assigned To: helly
+Assigned To: colder
New Comment:
Could you pleas provide a reproduce case so I can build a test from it?
Previous Comments:
------------------------------------------------------------------------
[2008-03-23 06:51:39] cellog@php.net
Description:
------------
because spl_filesystem_dir_open sets error handling to EH_THROW, it
should return if an exception has been thrown, but after the opendir()
call right at the front, no check is made on EG(exception) and so it is
possible to throw 2 exceptions, which results in nothing being printed
due to zend_bailout().
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44511&edit=1