You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
376 B

--- a/modules/http/mod_mime.c 2017/06/05 12:10:05 1797652
+++ b/modules/http/mod_mime.c 2017/06/05 12:12:31 1797653
@@ -528,9 +528,9 @@
int res = -1;
int c;
- if (((s + 1) != NULL) && (*s == '\\')) {
+ if (*s == '\\') {
c = (int) *(s + 1);
- if (apr_isascii(c)) {
+ if (c && apr_isascii(c)) {
res = 1;
}
}