CVE-2016-0771: s4:dns_server: fix idl for dns_txt_record
commit50972cc8f53045b38e58760c4c7b6c77fd7d2d5c
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Aug 2015 09:36:47 +0000 (7 11:36 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2016 10:43:49 +0000 (24 11:43 +0100)
treed93c4c786b80df87ecd0dd35313d61fb6a3b1d7b
parent69a4defe3e56030cc63b1e9b29c24f047c287bbf
CVE-2016-0771: s4:dns_server: fix idl for dns_txt_record

From RFC 1035:

    3.3.14. TXT RDATA format

        +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
        /                   TXT-DATA                    /
        +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

    where:

    TXT-DATA        One or more <character-string>s.

    TXT RRs are used to hold descriptive text.  The semantics of the text
    depends on the domain where it is found.

Each record contains an array of strings instead of just one string.

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 <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/dns.idl
librpc/ndr/ndr_dns.c
librpc/wscript_build
source4/dns_server/dns_query.c
source4/dns_server/dns_update.c