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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mkatzenmayer at das-inserat dot de
New email:
PHP Version: OS:

 

 [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: Fri Jul 18 14:00:02 2025 UTC