Bug #13641 Updated: Erroneous code makes PHP.EXE crash

From: Date: Fri, 12 Oct 2001 11:28:42 +0000
Subject: Bug #13641 Updated: Erroneous code makes PHP.EXE crash
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67845@lists.php.net to get a copy of this message
ID: 13641 Updated by: derick Reported By: rune@strand.gs Old Status: Critical Status: Feedback Bug Type: Reproducible crash Operating System: Win32 (W2K) PHP Version: 4.0.6 Assigned To: derick New Comment: There were a lot of changes to this file since PHP 4.0.6. Can you test it with a snapshot from (http://www.php4win.com/builds/latest-build.php) ? Derick Previous Comments: ------------------------------------------------------------------------ [2001-10-12 07:23:25] jmoore@php.net Works fine here on Win 2k, 4.0.6 and latest CVS. - James ------------------------------------------------------------------------ [2001-10-12 06:50:53] derick@php.net Marked as critcal, and checking this out. Derick ------------------------------------------------------------------------ [2001-10-12 06:50:15] mfischer@php.net FYI: couldn't reproduce with current CVS under W2K ------------------------------------------------------------------------ [2001-10-12 06:47:42] sander@php.net Reproduced with PHP-4.0.6 on Win98. You can even simplify the code: <?php strtok('foo'); ?> The problem is that you may not call strtok the first time without the second argument. If you do, it will crash, no matter what the first argument is. This should really be fixed before 4.0.7 comes out (if it's not already fixed in CVS, I can't test it right now). ------------------------------------------------------------------------ [2001-10-11 06:48:32] derick@php.net FYI: I could not reproduce this with Linux/4.0.6. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=13641 Edit this bug report at http://bugs.php.net/?id=13641&edit=1

« previous php.dev (#67845) next »