nginx/src
Sergey Kandaurov 4cd1dd28dd Resolver: fixed possible use-after-free while resolving PTR.
Previously, if a response to the PTR request was cached, and ngx_resolver_dup()
failed to allocate memory for the resulting name, then the original node was
freed but left in expire_queue.  A subsequent address resolving would end up
in a use-after-free memory access of the node either in ngx_resolver_expire()
or ngx_resolver_process_ptr(), when accessing it through expire_queue.

The fix is to leave the resolver node intact.
2019-09-10 15:42:34 +03:00
..
core Resolver: fixed possible use-after-free while resolving PTR. 2019-09-10 15:42:34 +03:00
event SSL: lowered log level for WSAECONNABORTED errors on Windows. 2019-08-16 18:16:21 +03:00
http HTTP/2: close connection on zero WINDOW_UPDATE. 2019-09-10 15:33:38 +03:00
mail Mail: fixed duplicate resolving. 2019-08-01 13:50:07 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Fixed portability issues with union sigval. 2019-01-28 14:33:31 +00:00
stream Upstream hash: fall back to round-robin if hash key is empty. 2019-05-23 16:49:22 +03:00