#20087 [Fbk]: mb_parse_string crashes with non-encoded data
| From: | derick@php.net | Date: | Fri, 25 Oct 2002 17:09:47 +0000 |
| Subject: | #20087 [Fbk]: mb_parse_string crashes with non-encoded data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23328@lists.php.net to get a copy of this message | ||
ID: 20087
Updated by: derick@php.net
Reported By: grangeway@hotmail.com
Status: Feedback
Bug Type: mbstring related
Operating System: w2k
PHP Version: 4CVS-2002-10-25
New Comment:
I can reproduce this on Windows with some CVS version (of a few weeks
ago). But it does not really crash, it gives the following assertion
error:
Assertion failed: strval != NULL, d:\php4\main\php_variables.c, line 42
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 10:51:21] moriyoshi@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Reclassified...
Anyway I can't reproduce this yet. What version of PHP do you really
use?
------------------------------------------------------------------------
[2002-10-25 10:25:40] grangeway@hotmail.com
assertion failed: strval != NULL, file
c:\php\src420\php4\main\php_variables.c line 45
Test code:
<? echo mb_parse_str("testmoo"); ?> --> crash
<? echo mb_parse_str("test=moo"); ?> --> works fine
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20087&edit=1