aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-06-18 12:30:45 +0000
committerRuslan Ermilov <ru@nginx.com>2012-06-18 12:30:45 +0000
commitda8bb22634e9cf5419b839c9ba7a359efc62c7b1 (patch)
treed04633c7105e8e0d73e0eb6ee5408b6e5441b7b4 /src/http/ngx_http_variables.c
parentb9feaa8dd944e7d715b481474ccb08096bdb190c (diff)
downloadnginx-da8bb22634e9cf5419b839c9ba7a359efc62c7b1.tar.gz
nginx-da8bb22634e9cf5419b839c9ba7a359efc62c7b1.zip
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.
Diffstat (limited to 'src/http/ngx_http_variables.c')
0 files changed, 0 insertions, 0 deletions