|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 10:01:26 2023 UTC