CVE-2016-0771: tests/dns: restore formerly segfaulting test
authorGarming Sam <garming@catalyst.net.nz>
Tue, 15 Dec 2015 04:22:32 +0000 (17:22 +1300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2016 10:43:58 +0000 (11:43 +0100)
commit83d94cbaceaae0bc305330dc827f31368c8e3191
tree7c8ce82e12579f466f330c7fe5756dd0d98e9ebf
parenta76db395d06c762a5f5527944215752865af1e54
CVE-2016-0771: tests/dns: restore formerly segfaulting test

This was on the client side, due the a strlen(NULL) on the previously
DOS-encoded TXT field. With a new IDL structure, this segfault no longer exists.
Note that both Samba and Windows return NXRRSET instead of FORMERR.

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