php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6549 trigger_error() core dumps
Submitted: 2000-09-05 07:58 UTC Modified: 2000-09-05 08:07 UTC
From: alex at zend dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.2 OS: linux-glibc21
Private report: No CVE-ID: None
 [2000-09-05 07:58 UTC] alex at zend dot com
Argument count validation should be performed in trigger_error (Zend/zend_buitin_functions.c) because when you call trigger_error() with no arguments convert_to_string_ex in this function is called with uninitialized variable as an argument.

<?

	trigger_error();

?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-05 08:07 UTC] stas@php.net
Well, I guess it just triggered a wrong kind of error ;)
Anyway, it's fixed now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 22:01:31 2024 UTC