Bug #17271 Updated: stripslashes crashes with magic_quotes_sybase = On

From: Date: Thu, 16 May 2002 14:43:32 +0000
Subject: Bug #17271 Updated: stripslashes crashes with magic_quotes_sybase = On
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7845@lists.php.net to get a copy of this message
ID: 17271 Updated by: rasmus@php.net Reported By: mkatzenmayer@das-inserat.de -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: Windows 2000 SP2 PHP Version: 4.2.1 New Comment: Fixed in CVS Previous Comments: ------------------------------------------------------------------------ [2002-05-16 10:14:46] mkatzenmayer@das-inserat.de 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 this bug report at http://bugs.php.net/?id=17271&edit=1

« previous php.bugs (#7845) next »