httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1859791 - /httpd/httpd/trunk/modules/cache/cache_util.c
Date Thu, 23 May 2019 14:29:10 GMT
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;



Mime
View raw message