1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

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
This commit is contained in:
Stefan Eissing
2019-05-23 14:29:10 +00:00
parent d5767ac605
commit aa885488bc

View File

@@ -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;