From aa885488bc2caea2e166dd1dc8ff089b1961a85c Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 23 May 2019 14:29:10 +0000 Subject: [PATCH] Addendum to r1856493: check NULLness of new arg parameter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1859791 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/cache_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.0