php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17553 Memleak in set_error_handle() when using empty string
Submitted: 2002-06-01 11:24 UTC Modified: 2002-06-17 09:21 UTC
From: mfischer@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0CVS-2002-06-01 OS: Any
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: mfischer@php.net
New email:
PHP Version: OS:

 

 [2002-06-01 11:24 UTC] mfischer@php.net
<?
	set_error_handler('baz');
	set_error_handler('');
?>

$ php error_reporting.php 
/home/mfischer/isrc/cvs/php4/Zend/zend_builtin_functions.c(864) :  Freeing 0x0822A1E4 (4 bytes), script=-
/home/mfischer/isrc/cvs/php4/Zend/zend_variables.c(106) : Actual location (location was relayed)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 11:25 UTC] mfischer@php.net
Configured with --enable-debug, nothing else.
 [2002-06-17 09:21 UTC] hholzgra@php.net
set_error_handler() now checks for its argument to be a valid callback function, no more leaks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 10:01:28 2024 UTC