CVE-2016-0771: tests/dns: FORMERR can simply timeout against Windows
commit51ac36e014cfbf5f7d0efdb65490d66e6edc3d6f
authorGarming Sam <garming@catalyst.net.nz>
Thu, 21 Jan 2016 02:43:55 +0000 (21 15:43 +1300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2016 10:43:41 +0000 (24 11:43 +0100)
tree463307911c3c248564809fd20ff7cc1549073e0d
parent18faca0c946d51370e973726cc929c00814fc9f7
CVE-2016-0771: tests/dns: FORMERR can simply timeout against Windows

Two requests with identical parameters which are poorly formatted, can
non-deterministically return FORMERR or simply fail to give a response.

Setting the timeout to a number allows Windows to succeed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dns.py