#40241 [Opn->Fbk]: PHP crashes sometimes, when first parameter of strcspn is empty

From: Date: Thu, 25 Jan 2007 20:51:54 +0000
Subject: #40241 [Opn->Fbk]: PHP crashes sometimes, when first parameter of strcspn is empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108068@lists.php.net to get a copy of this message
ID: 40241 Updated by: tony2001@php.net Reported By: markus at dix dot at -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Linux PHP Version: 5.2.0 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2007-01-25 20:48:27] markus at dix dot at Description: ------------ PHP crashes sometimes, when first parameter of strcspn is empty (string with length zero). Example: see http://bugs.typo3.org/view.php?id=4678 Maybe this bug is related to bug #39032 (strcspn stops on null character)? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40241&edit=1

« previous php.bugs (#108068) next »