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
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: alex at zend dot com
New email:
PHP Version: OS:

 

 [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: Mon May 20 11:01:34 2024 UTC