You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2019/05/23 14:29:10 UTC
svn commit: r1859791 - /httpd/httpd/trunk/modules/cache/cache_util.c
Author: icing
Date: Thu May 23 14:29:10 2019
New Revision: 1859791
URL: http://svn.apache.org/viewvc?rev=1859791&view=rev
Log:
Addendum to r1856493: check NULLness of new arg parameter.
Modified:
httpd/httpd/trunk/modules/cache/cache_util.c
Modified: httpd/httpd/trunk/modules/cache/cache_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/cache_util.c?rev=1859791&r1=1859790&r2=1859791&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/cache_util.c (original)
+++ httpd/httpd/trunk/modules/cache/cache_util.c Thu May 23 14:29:10 2019
@@ -974,7 +974,7 @@ apr_status_t cache_strqtok(char *str, ch
if (*str == '=') {
state = IN_BETWEEN;
*wpos++ = '\0';
- *arg = wpos;
+ if (arg) *arg = wpos;
continue;
}
break;