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)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:24 +0000 (06:52 +0100)
commit5b10cc25be87978ad076b2dbf6e3dc6fdd4af140
treeec465d6de35243d4694e8355572323372cb60864
parent866bf51758efd1a63023440d33e202a3ff0876ba
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