Bug #17271: stripslashes crashes with magic_quotes_sybase = On
| From: | mkatzenmayer at das-inserat dot de | Date: | Thu, 16 May 2002 14:14:47 +0000 |
| Subject: | Bug #17271: stripslashes crashes with magic_quotes_sybase = On | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7840@lists.php.net to get a copy of this message | ||
From: mkatzenmayer@das-inserat.de
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