dnsmasq: fix CVE-2013-0198

Integrate community fix for the issue CVE-2013-0198

Signed-off-by: Priyanka Shobhan <priyanka_shobhan@mentor.com>
zlib: obey LDFLAGS for tests

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Merge pull request #280 from kergoth/pending-pull-reqs

dnsmasq, zlib: merge pending pull reqs #213, #195