Hello,

In ngx_http_upstream_send_response() function there are a lot of
checks for r->cache pointer validity.
But it is absent for if (u->cacheable){}, which starts with dereferencing
    valid = r->cache->valid_sec;
straight away.

If this considered to be an issue - patch attempting to fix it is attached.

--
Best wishes,
Andrey

Attachment: 0001-Add-missing-check-for-r-cache-pointer-validity-in-ng.patch
Description: Binary data

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to