commit | 487ba70126ddcde8f889e20617b927c9d716c792 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Thu Apr 26 12:58:42 2012 +0000 |
committer | Ruslan Ermilov <ru@nginx.com> | Thu Apr 26 12:58:42 2012 +0000 |
tree | f65b1792ca8fddac32765dbd5ac93006494aaa64 | |
parent | 6ad02389c3947f8af2ce295d83e4c27427c9b644 [diff] |
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.