[PHP-DEV] PHP 4.0 Bug #6549: trigger_error() core dumps From: alex <email protected>
Date: 09/05/00

From: alex <email protected>
Operating system: linux-glibc21
PHP version: 4.0.2
PHP Bug Type: Reproduceable crash
Bug description: trigger_error() core dumps

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();

?>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>