hi,
the following code breaks php:
<?php
class tubu { }
$thies = unserialize('O:1:"a":0:{}');
?>
X-Powered-By: PHP/4.0.7-dev
Content-type: text/html
../../php4/Zend/zend_hash.c(176) : Freeing 0x084B3A54 (64 bytes), script=../ser2.php
Last leak repeated 1 time
../../php4/Zend/zend_compile.c(1532) : Freeing 0x084B39AC (4 bytes),
script=../ser2.php
../../php4/Zend/zend_language_scanner.l(1144) : Freeing 0x084B390C (5 bytes),
script=../ser2.php
[Sun Aug 5 13:44:17 2001] Script: '../ser2.php'
---------------------------------------
../../php4/Zend/zend_opcode.c(117) : Block 0x084B3988 status:
Beginning: Overrun (magic=0x08450298, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Sun Aug 5 13:44:17 2001] Script: '../ser2.php'
---------------------------------------
../../php4/Zend/zend_hash.c(548) : Block 0x084B39C0 status:
Beginning: Overrun (magic=0x40B49080, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Sun Aug 5 13:44:17 2001] Script: '../ser2.php'
---------------------------------------
../../php4/Zend/zend_hash.c(548) : Block 0x084B3A30 status:
Beginning: Overrun (magic=0x40B49040, expected=0x7312F8DC)
End: Unknown
---------------------------------------
if you comment out the tubu class everything works. i'm not
too sure if this is due to saschas work in var.c or some
changes in the engine.
does anybody have a clue what might be wrong?
re,
tc
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]