CVE-2016-0771: tests/dns: FORMERR can simply timeout against Windows
authorGarming Sam <garming@catalyst.net.nz>
Thu, 21 Jan 2016 02:43:55 +0000 (15:43 +1300)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:24 +0000 (06:52 +0100)
commita988dc7b2de0ec9beb64b4c0b00794fb56bb6155
treeba1cfc42035201ec631d5a950fca49599b9440f7
parent2ad53d1c075b9ad0dae80deed4f6551f78e16c6d
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