summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-01-21 10:25:44 +1300
committerKarolin Seeger <kseeger@samba.org>2016-02-24 11:43:42 +0100
commit3bca5fcee8d8847297d96795054c2c0696419846 (patch)
treea234109630a8bc0d126cb18b01596c9a8f296b54
parent4011a52e1645ef00c21ba27a0204de08b7ec2108 (diff)
downloadsamba-3bca5fcee8d8847297d96795054c2c0696419846.tar.gz
CVE-2016-0771: tests/dns: Correct error code for formerly unrun test
Both Samba and Windows returned NXRRSET 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>
-rw-r--r--python/samba/tests/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py
index f05ab051a67..d8c488e5a40 100644
--- a/python/samba/tests/dns.py
+++ b/python/samba/tests/dns.py
@@ -411,7 +411,7 @@ class TestDNSUpdates(DNSTest):
p.answers = prereqs
response = self.dns_transaction_udp(p)
- self.assert_dns_rcode_equals(response, dns.DNS_RCODE_FORMERR)
+ self.assert_dns_rcode_equals(response, dns.DNS_RCODE_NXRRSET)
def test_update_prereq_nonexisting_name(self):
"test update with a nonexisting name"