php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4831 str_replace under certain conditions will crash Roxen webserver 2.0.x
Submitted: 2000-06-05 23:37 UTC Modified: 2000-08-31 21:14 UTC
From: emils at dot dot lv Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: SuSE Linux 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: emils at dot dot lv
New email:
PHP Version: OS:

 

 [2000-06-05 23:37 UTC] emils at dot dot lv
PHP4.0.0 compiled with:
./configure --with-roxen=/usr/local/roxen/server --without-mysql --without-msql --with-pgsql=/usr/local/pgsql --enable-roxen-zts

The following line causes Roxen webserver to crash, if the variables used are empty:
<?

$search_text=$search_text.'&s_title='.str_replace(' ','%20',$s_title).'&s_text='.str_replace(' ','%20',$s_text);

?>

The above happens for the Roxen 2.0.46/2.0.50 . It will make the garbagecollector process do a coredump.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-08 22:41 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-31 21:14 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jul 04 13:00:01 2026 UTC