diff options
| author | Ben Fuhrmannek | 2014-07-17 13:59:29 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-07-17 13:59:29 +0200 |
| commit | 02f527a6948558636ea04198a61e4a8d231f0484 (patch) | |
| tree | d9d2617dc25700ebf2609f4bdc404681400d49e7 /ifilter.c | |
| parent | 64d667b91a0f9c140383b8f74ea470fb8bd1da5e (diff) | |
some php_varname_check()s may be silent as we produce custom errors
Diffstat (limited to 'ifilter.c')
| -rw-r--r-- | ifilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -620,7 +620,7 @@ unsigned int suhosin_input_filter(int arg, char *var, char **val, unsigned int v | |||
| 620 | 620 | ||
| 621 | /* Drop this variable if it is one of GLOBALS, _GET, _POST, ... */ | 621 | /* Drop this variable if it is one of GLOBALS, _GET, _POST, ... */ |
| 622 | /* This is to protect several silly scripts that do globalizing themself */ | 622 | /* This is to protect several silly scripts that do globalizing themself */ |
| 623 | if (php_varname_check(var, var_len, 0 TSRMLS_CC) == FAILURE) { | 623 | if (php_varname_check(var, var_len, 1 TSRMLS_CC) == FAILURE) { |
| 624 | suhosin_log(S_VARS, "tried to register forbidden variable '%s' through %s variables", var, arg == PARSE_GET ? "GET" : arg == PARSE_POST ? "POST" : "COOKIE"); | 624 | suhosin_log(S_VARS, "tried to register forbidden variable '%s' through %s variables", var, arg == PARSE_GET ? "GET" : arg == PARSE_POST ? "POST" : "COOKIE"); |
| 625 | if (!SUHOSIN_G(simulation)) { | 625 | if (!SUHOSIN_G(simulation)) { |
| 626 | return 0; | 626 | return 0; |
