File apache2-CVE-2017-7679.patch of Package apache2.18661
--- 2.4.x/modules/http/mod_mime.c 2017/06/05 12:10:05 1797652
+++ 2.4.x/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;
}
}