diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-04-26 12:58:42 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-04-26 12:58:42 +0000 |
commit | 487ba70126ddcde8f889e20617b927c9d716c792 (patch) | |
tree | f65b1792ca8fddac32765dbd5ac93006494aaa64 /src/http/modules/ngx_http_gzip_static_module.c | |
parent | 6ad02389c3947f8af2ce295d83e4c27427c9b644 (diff) | |
download | nginx-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