dns: validate arguments in resolve
authorKenan Sulayman <kenan@sly.mn>
Fri, 7 Feb 2014 17:50:29 +0000 (18:50 +0100)
committerFedor Indutny <fedor.indutny@gmail.com>
Fri, 7 Feb 2014 22:08:28 +0000 (02:08 +0400)
commit56e80a37e0df0d131d3a3ad6426d52f887ef8e94
treeb583978d93567b3c288dfa66a3f6c749f8f9aa48
parente3d835902161eab536a1913a3edaa2bb0da9542c
dns: validate arguments in resolve

Mitigat  C++-land assertion error, add test accordingly.

fix #7070
lib/dns.js
test/simple/test-dns-regress-7070.js [new file with mode: 0644]