dns: validate arguments in resolver
authorKenan Sulayman <kenan@sly.mn>
Fri, 7 Feb 2014 17:50:29 +0000 (18:50 +0100)
committerFedor Indutny <fedor.indutny@gmail.com>
Sun, 9 Feb 2014 09:38:23 +0000 (13:38 +0400)
commit28dbc96a6cd4c995a36b38874ef9fdacb01ffa16
tree1bee9becfddf340fbf7f99c5707dc99fb38377e7
parentabe4c34c86ccbe06ff4ecd50774c0205009d4620
dns: validate arguments in resolver

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

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