ID: 33605 Updated by: [EMAIL PROTECTED] Reported By: tomas_matousek at hotmail dot com -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: WinXP PHP Version: 5.1.0b2 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: ------------------------------------------------------------------------ [2005-07-07 16:39:16] tomas_matousek at hotmail dot com substr_count($var, 'a', -7, -1); crashes as well. ------------------------------------------------------------------------ [2005-07-07 16:37:32] tomas_matousek at hotmail dot com Description: ------------ substr_compare can crash. Reproduce code: --------------- substr_compare("abcde", "abc", -PHP_INT_MAX, 0) Expected result: ---------------- ? Actual result: -------------- crash ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33605&edit=1