Mercurial > hg > nginx-quic
diff auto/cc/name @ 4683:84d8e60b65f0
Fixed crash in ngx_resolver_cleanup_tree().
If sending a DNS request fails with an error (e.g., when mistakenly trying
to send it to a local IP broadcast), such a request is not deleted if there
are clients waiting on it. However, it was still erroneously removed from
the queue. Later ngx_resolver_cleanup_tree() attempted to remove it from
the queue again that resulted in a NULL pointer dereference.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 18 Jun 2012 12:30:45 +0000 |
parents | 4871a7dc12a9 |
children | 1f908d2dde8d |