mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
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>
This commit is contained in:
parent
111d035f54
commit
08e558c96e
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user