summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-01-28 12:36:43 +1300
committerKarolin Seeger <kseeger@samba.org>2016-02-24 11:43:42 +0100
commit2b4c7dbc15465911be35a1bdb1f10e396118fb1c (patch)
treef97cdb90c342059a348843667b4956318241c05c
parenteb4684895c347bfb6675e11ef8bf2e737db71657 (diff)
downloadsamba-2b4c7dbc15465911be35a1bdb1f10e396118fb1c.tar.gz
CVE-2016-0771: dnsserver: don't force UTF-8 for TXT
While using a charset is not entirely logical, it allows testing of non UTF-8 data (like inserting 0xFF into the TXT string). 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--librpc/idl/dnsserver.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/dnsserver.idl b/librpc/idl/dnsserver.idl
index ca9c3714100..c7742e7d270 100644
--- a/librpc/idl/dnsserver.idl
+++ b/librpc/idl/dnsserver.idl
@@ -73,7 +73,7 @@ import "misc.idl", "dnsp.idl";
typedef [public,gensize] struct {
[value(strlen(str))] uint8 len;
- [charset(UTF8)] uint8 str[len];
+ [charset(UNIX)] uint8 str[len];
}
DNS_RPC_NAME;