php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17271 stripslashes crashes with magic_quotes_sybase = On
Submitted: 2002-05-16 10:14 UTC Modified: 2002-05-16 10:43 UTC
From: mkatzenmayer at das-inserat dot de Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.2.1 OS: Windows 2000 SP2
Private report: No CVE-ID: None
 [2002-05-16 10:14 UTC] mkatzenmayer at das-inserat dot 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");

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-16 10:43 UTC] rasmus@php.net
Fixed in CVS
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC