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

From: Date: Tue, 25 Dec 2007 10:59:01 +0000
Subject: #43651 [Asn->Csd]: 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-120854@lists.php.net to get a copy of this message
ID: 43651 Updated by: dmitry@php.net Reported By: kubo at iteman dot jp -Status: Assigned +Status: Closed Bug Type: Reproducible crash Operating System: Windows XP SP2 PHP Version: 5.3CVS-2007-12-21 (snap) Assigned To: dmitry New Comment: 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 http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-12-22 10:15:31] johannes@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#120854) next »