From: Stefan Metzmacher Date: Fri, 7 Aug 2015 09:36:47 +0000 (+0200) Subject: CVE-2016-0771: dns.idl: make use of dnsp_hinfo X-Git-Tag: samba-4.1.23~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24c5af7dde1ce5ff7a83d35a7da729008e5cede9;p=thirdparty%2Fsamba.git CVE-2016-0771: dns.idl: make use of dnsp_hinfo BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686 Signed-off-by: Stefan Metzmacher Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl index 918073ca9a8..5435fcf38e6 100644 --- a/librpc/idl/dns.idl +++ b/librpc/idl/dns.idl @@ -151,13 +151,6 @@ interface dns uint32 minimum; } dns_soa_record; - typedef [public] struct { - [value(strlen(cpu))] uint8 cpu_length; - [charset(DOS)] uint8 cpu[cpu_length]; - [value(strlen(os))] uint8 os_length; - [charset(DOS)] uint8 os[os_length]; - } dns_hinfo_record; - typedef [public] struct { uint16 preference; dns_string exchange; @@ -231,7 +224,7 @@ interface dns [case(DNS_QTYPE_CNAME)] dns_string cname_record; [case(DNS_QTYPE_SOA)] dns_soa_record soa_record; [case(DNS_QTYPE_PTR)] dns_string ptr_record; - [case(DNS_QTYPE_HINFO)] dns_hinfo_record hinfo_record; + [case(DNS_QTYPE_HINFO)] dnsp_hinfo hinfo_record; [case(DNS_QTYPE_MX)] dns_mx_record mx_record; [case(DNS_QTYPE_TXT)] dns_txt_record txt_record; [case(DNS_QTYPE_RP)] dns_rp_record rp_record;