diff options
| author | Ben Fuhrmannek | 2014-07-17 14:12:25 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-07-17 14:12:25 +0200 |
| commit | fd00e0e1eedce6882632332774ab4fb278c2d5d3 (patch) | |
| tree | 3c7142bd4bb16bf8b254041a0d4e8db8806400c1 /execute.c | |
| parent | 02f527a6948558636ea04198a61e4a8d231f0484 (diff) | |
minor changes / no more compiler warnings
Diffstat (limited to 'execute.c')
| -rw-r--r-- | execute.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -150,7 +150,7 @@ static int suhosin_check_filename(char *s, int len TSRMLS_DC) | |||
| 150 | return SUHOSIN_CODE_TYPE_MANYDOTS; | 150 | return SUHOSIN_CODE_TYPE_MANYDOTS; |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | SDEBUG("xxx %08x %08x",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist)); | 153 | SDEBUG("xxx %p %p",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist)); |
| 154 | /* no black or whitelist then disallow all */ | 154 | /* no black or whitelist then disallow all */ |
| 155 | if (SUHOSIN_G(include_whitelist)==NULL && SUHOSIN_G(include_blacklist)==NULL) { | 155 | if (SUHOSIN_G(include_whitelist)==NULL && SUHOSIN_G(include_blacklist)==NULL) { |
| 156 | /* disallow all URLs */ | 156 | /* disallow all URLs */ |
| @@ -519,7 +519,7 @@ static void suhosin_execute_ex(zend_op_array *op_array, int zo, long dummy TSRML | |||
| 519 | } else { | 519 | } else { |
| 520 | if (suhosin_zend_extension_entry.resource_number != -1) { | 520 | if (suhosin_zend_extension_entry.resource_number != -1) { |
| 521 | suhosin_flags = (unsigned long *) &op_array->reserved[suhosin_zend_extension_entry.resource_number]; | 521 | suhosin_flags = (unsigned long *) &op_array->reserved[suhosin_zend_extension_entry.resource_number]; |
| 522 | SDEBUG("suhosin flags: %08x", *suhosin_flags); | 522 | SDEBUG("suhosin flags: %08lx", *suhosin_flags); |
| 523 | 523 | ||
| 524 | if (*suhosin_flags & SUHOSIN_FLAG_CREATED_BY_EVAL) { | 524 | if (*suhosin_flags & SUHOSIN_FLAG_CREATED_BY_EVAL) { |
| 525 | SUHOSIN_G(in_code_type) = SUHOSIN_EVAL; | 525 | SUHOSIN_G(in_code_type) = SUHOSIN_EVAL; |
