#43651 [Opn->Asn]: is_callable() with one or more nonconsecutive colons crashes in CLI

From: Date: Sat, 22 Dec 2007 10:15:31 +0000
Subject: #43651 [Opn->Asn]: is_callable() with one or more nonconsecutive colons crashes in CLI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120807@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#120807) next »