diff options
| -rw-r--r-- | Changelog | 1 | ||||
| -rw-r--r-- | execute.c | 4 |
2 files changed, 3 insertions, 2 deletions
| @@ -1,6 +1,7 @@ | |||
| 1 | 2012-02-12 - 0.9.34 | 1 | 2012-02-12 - 0.9.34 |
| 2 | 2 | ||
| 3 | - Added initial support for PHP 5.4.0 | 3 | - Added initial support for PHP 5.4.0 |
| 4 | - Fix include whitelist and blacklist to support shemes with dots in their names | ||
| 4 | - Fix read after efree() that lets function_exists() malfunction | 5 | - Fix read after efree() that lets function_exists() malfunction |
| 5 | - Fix build with clang compiler | 6 | - Fix build with clang compiler |
| 6 | - Added a request variable drop statistic log message | 7 | - Added a request variable drop statistic log message |
| @@ -152,7 +152,7 @@ SDEBUG("xxx %08x %08x",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist) | |||
| 152 | t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); | 152 | t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); |
| 153 | if (h == NULL) break; | 153 | if (h == NULL) break; |
| 154 | 154 | ||
| 155 | while (t > s && (isalnum(t[-1]) || t[-1]=='_')) { | 155 | while (t > s && (isalnum(t[-1]) || t[-1]=='_') || t[-1]=='.')) { |
| 156 | t--; | 156 | t--; |
| 157 | } | 157 | } |
| 158 | 158 | ||
| @@ -195,7 +195,7 @@ SDEBUG("xxx %08x %08x",SUHOSIN_G(include_whitelist),SUHOSIN_G(include_blacklist) | |||
| 195 | t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); | 195 | t = h = (h == NULL) ? h2 : ( (h2 == NULL) ? h : ( (h < h2) ? h : h2 ) ); |
| 196 | if (h == NULL) break; | 196 | if (h == NULL) break; |
| 197 | 197 | ||
| 198 | while (t > s && (isalnum(t[-1]) || t[-1]=='_')) { | 198 | while (t > s && (isalnum(t[-1]) || t[-1]=='_') || t[-1]=='.')) { |
| 199 | t--; | 199 | t--; |
| 200 | } | 200 | } |
| 201 | 201 | ||
