diff options
| author | jvoisin | 2018-07-09 07:37:58 +0000 |
|---|---|---|
| committer | xXx-caillou-xXx | 2018-07-09 09:37:58 +0200 |
| commit | 5da3a92492bf169e62367d954cfa7432bee51fed (patch) | |
| tree | 2e094ed1a5a8400269c48c520539b7dac28ced27 /src/sp_config_keywords.c | |
| parent | ca3be84076521c4bb053511775c94c0b195aeac8 (diff) | |
Trying to fix sloppy comparison (#186)
* Trying to fix sloppy comparison https://github.com/nbs-system/snuffleupagus/issues/10 by
modifying php's opcode
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index cc1f0f9..2a570cd 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c | |||
| @@ -105,6 +105,11 @@ int parse_random(char *line) { | |||
| 105 | NULL); | 105 | NULL); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | int parse_sloppy_comparison(char *line) { | ||
| 109 | return parse_enable(line, &(SNUFFLEUPAGUS_G(config).config_sloppy->enable), | ||
| 110 | NULL); | ||
| 111 | } | ||
| 112 | |||
| 108 | int parse_disable_xxe(char *line) { | 113 | int parse_disable_xxe(char *line) { |
| 109 | return parse_enable( | 114 | return parse_enable( |
| 110 | line, &(SNUFFLEUPAGUS_G(config).config_disable_xxe->enable), NULL); | 115 | line, &(SNUFFLEUPAGUS_G(config).config_disable_xxe->enable), NULL); |
