Commit 5613c344 authored by Mark Andrews's avatar Mark Andrews Committed by Ondřej Surý
Browse files

if _headers is NULL don't process If-Modified-Since

parent 8801c65a
Pipeline #1470 passed with stages
in 6 minutes and 48 seconds
......@@ -3122,6 +3122,10 @@ render_xsl(const char *url, isc_httpdurl_t *urlinfo,
const char *if_modified_since = "If-Modified-Since: ";
_headers = strdup(headers);
if (_headers == NULL) {
goto send;
}
saveptr = NULL;
for (line = strtok_r(_headers, "\n", &saveptr);
line;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment