From: [EMAIL PROTECTED] Operating system: Windows 2000 SP2 PHP version: 4.2.1 PHP Bug Type: Reproducible crash Bug description: stripslashes crashes with magic_quotes_sybase = On
The following code crashes PHP on a clean Win2k SP2 installation, at least version 4.2.1 and 4.2.0 The problem seems to be any stripslashes with a string length of 23 characters (???) Other string length seems to work fine. ini_set ("magic_quotes_sybase",true); echo stripslashes ("xxxxxxxxxxxxxxxxxxxxxxx"); echo stripslashes ("xxxxxxxxxxxxxxxxxxxxxx"); echo stripslashes ("xxxxxxxxxxxxxxxxxxxxxxxx"); -- Edit bug report at http://bugs.php.net/?id=17271&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17271&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17271&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17271&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17271&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17271&r=support Expected behavior: http://bugs.php.net/fix.php?id=17271&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17271&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17271&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17271&r=globals