in performing dns lookups, check result from res_mkquery
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 25 May 2016 09:22:13 +0000 (11:22 +0200)
committerRich Felker <dalias@aerifal.cx>
Wed, 29 Jun 2016 15:57:53 +0000 (11:57 -0400)
commit04bced403dead13d20a46a1bd00ab1eb2c50b882
tree1f25de60512f672369ea219c98978742d634dd34
parent5c43e1dbc8716536551d392f834c6752a3e82cec
in performing dns lookups, check result from res_mkquery

don't send a query that may be malformed.
src/network/lookup_name.c