From: marie_bw at web dot de Operating system: Linux (Gentoo) PHP version: 4.3.10 PHP Bug Type: *Programming Data Structures Bug description: serialized object can't be unserialized
Description: ------------ On complex objects the serialize() function produced output in which string members of an object would be stored together with a wrong string size, e.g. the string length ist 60 bytes but serialize() notes only 58. The data can't be processed by unserialize(). This would only happen if characters like single or double quote were present in the string (this string came from HTTP_POST_VAR). But also a substitution of quotation character by '"' or 'x' would not bother serialize() to produce the right output. This is not reproducible with small objects. The objects in question where rather complex and came from the application "phpopenchat". -- Edit bug report at http://bugs.php.net/?id=31970&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31970&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31970&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31970&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31970&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31970&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31970&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31970&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31970&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31970&r=support Expected behavior: http://bugs.php.net/fix.php?id=31970&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31970&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31970&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31970&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31970&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31970&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31970&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31970&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31970&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31970&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31970&r=mysqlcfg
