diff options
Diffstat (limited to 'execute.c')
| -rw-r--r-- | execute.c | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -364,6 +364,15 @@ static void suhosin_execute_ex(zend_op_array *op_array, int zo, long dummy TSRML | |||
| 364 | zend_uint orig_code_type; | 364 | zend_uint orig_code_type; |
| 365 | unsigned long *suhosin_flags = NULL; | 365 | unsigned long *suhosin_flags = NULL; |
| 366 | 366 | ||
| 367 | /* log variable dropping statistics */ | ||
| 368 | if (SUHOSIN_G(att_request_variables)-SUHOSIN_G(cur_request_variables) > 0) { | ||
| 369 | suhosin_log(S_VARS, "dropped %u request variables - (%u in GET, %u in POST, %u in COOKIE)", | ||
| 370 | SUHOSIN_G(att_request_variables)-SUHOSIN_G(cur_request_variables), | ||
| 371 | SUHOSIN_G(att_get_vars)-SUHOSIN_G(cur_get_vars), | ||
| 372 | SUHOSIN_G(att_post_vars)-SUHOSIN_G(cur_post_vars), | ||
| 373 | SUHOSIN_G(att_cookie_vars)-SUHOSIN_G(cur_cookie_vars)); | ||
| 374 | } | ||
| 375 | |||
| 367 | if (SUHOSIN_G(abort_request) && !SUHOSIN_G(simulation) && SUHOSIN_G(filter_action)) { | 376 | if (SUHOSIN_G(abort_request) && !SUHOSIN_G(simulation) && SUHOSIN_G(filter_action)) { |
| 368 | 377 | ||
| 369 | char *action = SUHOSIN_G(filter_action); | 378 | char *action = SUHOSIN_G(filter_action); |
