[BUG] zero-length cname response not handled

lanshun zhou zls.sogou at gmail.com
Wed Apr 25 07:48:47 UTC 2012

We found a zero-length cname response in dns reply for the domain
"www.czcsgl.com", and
this will cause core dump. We have no idea where this domain comes
from and why this kind
of setting ..

Not sure whether it's always safe to print the rn->name in the patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolver.patch
Type: application/octet-stream
Size: 680 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120425/5b410028/attachment.obj>

More information about the nginx-devel mailing list