diff options
author | Stefan Eissing <icing@apache.org> | 2019-05-23 16:29:10 +0200 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2019-05-23 16:29:10 +0200 |
commit | aa885488bc2caea2e166dd1dc8ff089b1961a85c (patch) | |
tree | 3516c9867ef14f9605fdceb20814a32aa575f337 /modules | |
parent | *) mod_http2: internal code cleanups and simplifications. Common output cod... (diff) | |
download | apache2-aa885488bc2caea2e166dd1dc8ff089b1961a85c.tar.xz apache2-aa885488bc2caea2e166dd1dc8ff089b1961a85c.zip |
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
Diffstat (limited to 'modules')
-rw-r--r-- | modules/cache/cache_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |