#43651 [Opn->Asn]: is_callable() with one or more nonconsecutive colons crashes in CLI
ID: 43651
Updated by: johannes@php.net
Reported By: kubo at iteman dot jp
-Status: Open
+Status: Assigned
Bug Type: Reproducible crash
Operating System: Windows XP SP2
PHP Version: 5.3CVS-2007-12-21 (snap)
-Assigned To:
+Assigned To: dmitry
New Comment:
Dmitry can you please check that I didn't miss a thing in this patch:
http://schlueters.de/~johannes/php/bug43651.diff
http://schlueters.de/~johannes/php/bug43651.phpt
Previous Comments:
------------------------------------------------------------------------
[2007-12-21 11:17:25] kubo at iteman dot jp
Description:
------------
is_callable() with any string containing one or more nonconsecutive
colons in second byte or larger (e.g. 'C:', 'C : :', not 'C ::') like
Windows-style paths crashes in CLI.
Reproduce code:
---------------
var_dump(is_callable('C:'));
Expected result:
----------------
bool(false)
Actual result:
--------------
No display. A Windows Error Reporting dialog box appears.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43651&edit=1
Thread (3 messages)