]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Jul 2007 11:46:50 +0000 (11:46 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Jul 2007 11:46:50 +0000 (11:46 +0000)
main/php_variables.c

index 4a7c615fd6c341b27ef0224c063fb57b07c18c1e..ef6aa366933c1b056a92b82d03d4b5522c6fde05 100644 (file)
@@ -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));
                                }