diff --git a/modules/cache/cache_util.c b/modules/cache/cache_util.c index d8018c74f2..95a89837be 100644 --- a/modules/cache/cache_util.c +++ b/modules/cache/cache_util.c @@ -974,7 +974,7 @@ apr_status_t cache_strqtok(char *str, char **token, char **arg, char **last) if (*str == '=') { state = IN_BETWEEN; *wpos++ = '\0'; - *arg = wpos; + if (arg) *arg = wpos; continue; } break;