ID:               34311
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marco at storm dot ee
-Status:           Assigned
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: *
 PHP Version:      5CVS, 4CVS (2005-08-31)
 Assigned To:      derick
 New Comment:

Forget it, this stuff is written in such a way I don't want to debug it
:)


Previous Comments:
------------------------------------------------------------------------

[2005-09-02 10:24:00] [EMAIL PROTECTED]

I'll have a look.

------------------------------------------------------------------------

[2005-09-02 10:14:10] [EMAIL PROTECTED]

I am not able to fix this. Probably this is re2c bug.

------------------------------------------------------------------------

[2005-09-02 09:57:46] [EMAIL PROTECTED]

Dmitry, can you see if you can do anything about this?
(the serializer crashes with any char outside US-ASCII :)


------------------------------------------------------------------------

[2005-08-31 16:41:08] [EMAIL PROTECTED]

Short reproducing script:

# php -r 'unserialize("å");'

(that's a with ring above it :)



------------------------------------------------------------------------

[2005-08-31 14:54:34] [EMAIL PROTECTED]

0x08339834 in php_var_unserialize (rval=0xbfffce64, p=0xbfffce44,
max=0x89d8e4d "", var_hash=0xbfffce48) at <stdout>:449
449     <stdout>: No such file or directory.
        in <stdout>
(gdb) bt
#0  0x08339834 in php_var_unserialize (rval=0xbfffce64, p=0xbfffce44,
max=0x89d8e4d "", var_hash=0xbfffce48) at <stdout>:449
#1  0x0832d916 in zif_unserialize (ht=1, return_value=0x89d2ddc,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /usr/src/php/php_5_1/ext/standard/var.c:866
#2  0x083d9c7f in zend_do_fcall_common_helper_SPEC
(execute_data=0xbfffcfa0) at zend_vm_execute.h:184
#3  0x083de12e in ZEND_DO_FCALL_SPEC_CONST_HANDLER
(execute_data=0xbfffcfa0) at zend_vm_execute.h:1588
#4  0x083d9960 in execute (op_array=0x89d361c) at zend_vm_execute.h:87
#5  0x083b32c5 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /usr/src/php/php_5_1/Zend/zend.c:1078
#6  0x083719a9 in php_execute_script (primary_file=0xbffff3e0) at
/usr/src/php/php_5_1/main/main.c:1682
#7  0x08428f36 in main (argc=2, argv=0xbffff4b4) at
/usr/src/php/php_5_1/sapi/cli/php_cli.c:1039


------------------------------------------------------------------------

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/34311

-- 
Edit this bug report at http://bugs.php.net/?id=34311&edit=1

Reply via email to