From: dmitrysp at yandex dot ru
Operating system: Windows XP sp2
PHP version: 5.1.0RC1
PHP Bug Type: WDDX related
Bug description: Crash Apache2 on wddx_serialize_value()
Description:
------------
Apache2 crash.
Try Apache2 + PHP 5.1.0RC1,
Apache2 + PHP 5.1.0-dev (built: Aug 30 2005 08:42:21),
php.exe 4.3.0 console.
szAppName : Apache.exe szAppVer : 2.0.54.0 szModName : php5ts.dll
szModVer : 5.1.0.0 offset : 001e144d
Reproduce code:
---------------
$str='';
for ($i=1; $i<255; $i++) $str.=chr($i);
$mix=array($str=>1);
$buf=wddx_serialize_value($mix, 'name'); // apache crash here
echo "ok";
--
Edit bug report at http://bugs.php.net/?id=34306&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34306&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34306&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34306&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34306&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34306&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34306&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34306&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34306&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34306&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34306&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34306&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34306&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34306&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34306&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34306&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34306&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34306&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34306&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34306&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34306&r=mysqlcfg