php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1135 When using str_replace() to insert "-" or "." it crashes.
Submitted: 1999-02-10 05:13 UTC Modified: 1999-02-21 16:05 UTC
From: enjenco at tutus dot se Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.6 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enjenco at tutus dot se
New email:
PHP Version: OS:

 

 [1999-02-10 05:13 UTC] enjenco at tutus dot se
<script language="php">

$Alias = "This.is.a.test";
$Alias = str_replace("004712",".",str_replace(".","004712",$Alias));
</script>

Apache 1.3.4 error_log:
httpd in realloc(): warning: chunk is already free.
httpd: [Wed Feb 10 10:41:07 1999] [notice] child pid 6585 exit signal Segmentation fault (11)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-21 16:05 UTC] jim
Fixed in latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC