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
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.
Password:
Status:
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: Thu Jun 20 12:01:29 2024 UTC