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
 [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

Pull Requests

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: Sat Dec 21 13:01:31 2024 UTC