diff options
author | Antony Dovgal <tony2001@php.net> | 2007-07-18 11:46:50 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-07-18 11:46:50 +0000 |
commit | 521917bdfae969769a5e358e320f0cea110d107c (patch) | |
tree | 580318a34ba9a6a3fe96af3123146b114efb664d /main/php_variables.c | |
parent | 741c74a25eb06a5695721612e27d7d565d69eae4 (diff) | |
download | php-git-521917bdfae969769a5e358e320f0cea110d107c.tar.gz |
MFH
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 4a7c615fd6..ef6aa36693 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -137,6 +137,8 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra zend_hash_del(ht, var, var_len + 1); zval_dtor(val); + /* do not output the error message to the screen, + this helps us to to avoid "information disclosure" */ if (!PG(display_errors)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variable nesting level exceeded %ld. To increase the limit change max_input_nesting_level in php.ini.", PG(max_input_nesting_level)); } |