summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--execute.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index 7793afb..e0f4f54 100644
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,7 @@
12012-02-12 - 0.9.34 12012-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
diff --git a/execute.c b/execute.c
index c1b2d36..f0038fb 100644
--- a/execute.c
+++ b/execute.c
@@ -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