|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13341 Seffault in outputbuffers
Submitted: 2001-09-17 06:14 UTC Modified: 2002-06-18 18:52 UTC
From: wico at cnh dot nl Assigned: yohgaki (profile)
Status: Closed Package: Output Control
PHP Version: 4.0.6 OS: linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: wico at cnh dot nl
New email:
PHP Version: OS:


 [2001-09-17 06:14 UTC] wico at cnh dot nl

Using the same var from the function and changing will sefault, copying it first to another var will work... but should not happen, see examples

	// works
	function Segfault_Me ($data) {
		$data2 = $data . "I didn't segfault :) :) :)";

	// segfaults
	function Segfault_Me ($data) {
		$data = "I didn't segfault :) :) :)";

	// segfaults 2
	function Segfault_Me ($data) {
		$data = str_replace('a', 'b', $data);
I segfaulted :( :( :(


Wico de Leeuw


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-17 06:20 UTC] wico at cnh dot nl
Fixed typo;

Btw where did the bug reporters stats go? It looks good to be on top ;)
 [2002-01-06 07:41 UTC]
Does this problem still occur with 4.1.1 and/or the latest CVS?
 [2002-01-06 09:26 UTC] wico at cnh dot nl
yup still segfaults with 4.1.0
 [2002-01-06 16:54 UTC] wico at cnh dot nl
also true for 4.1.1


 [2002-01-06 19:22 UTC]
Assign to me so that I don't forget about this.
Zeev may want to fix this, though :)
 [2002-02-05 18:29 UTC]
Dup 12227
 [2002-06-18 18:52 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 00:01:03 2024 UTC