aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_gzip_static_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-04-26 12:58:42 +0000
committerRuslan Ermilov <ru@nginx.com>2012-04-26 12:58:42 +0000
commit487ba70126ddcde8f889e20617b927c9d716c792 (patch)
treef65b1792ca8fddac32765dbd5ac93006494aaa64 /src/http/modules/ngx_http_gzip_static_module.c
parent6ad02389c3947f8af2ce295d83e4c27427c9b644 (diff)
downloadnginx-487ba70126ddcde8f889e20617b927c9d716c792.tar.gz
nginx-487ba70126ddcde8f889e20617b927c9d716c792.zip
Fixed segmentation fault in ngx_resolver_create_name_query().
If name passed for resolution was { 0, NULL } (e.g. as a result of name server returning CNAME pointing to ".") pointer wrapped to (void *) -1 resulting in segmentation fault on an attempt to dereference it. Reported by Lanshun Zhou.
Diffstat (limited to 'src/http/modules/ngx_http_gzip_static_module.c')
0 files changed, 0 insertions, 0 deletions