diff options
author | Garming Sam <garming@catalyst.net.nz> | 2016-01-28 12:36:43 +1300 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-03-08 11:55:23 +0100 |
commit | 08e558c96ee4ac6366f9d8c889cc64e42074895f (patch) | |
tree | 93f77a23122ba789ed361d02bb53ddf558b25607 /librpc | |
parent | 111d035f54d89a66f8a81c6748d5f314d6b40e26 (diff) | |
download | samba-08e558c96ee4ac6366f9d8c889cc64e42074895f.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>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/dnsserver.idl | 2 |
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; |