CVE-2016-0771: s4:librpc: python_dns and python_dcerpc_dnsp doesn't require client...
authorStefan Metzmacher <metze@samba.org>
Fri, 7 Aug 2015 09:36:47 +0000 (11:36 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:23 +0000 (06:52 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128

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/idl/dnsp.idl
source4/librpc/wscript_build

index d247e0e67d59f9fbc7069b801cebb673eaaa2e34..1183bd122993fb4d6f0e1fa9ea606552bcc6b710 100644 (file)
@@ -270,7 +270,7 @@ interface dns
         /*
           this is a convenience hook for ndrdump
        */
-       void decode_dns_name_packet(
+       [nopython] void decode_dns_name_packet(
                                    [in] dns_name_packet packet
                                   );
 }
index 4c49001c85679bec0cd93f1f76a326b2682ff5c0..d705cfcbfa31ff4c08f40e0f18776fa89dc3cf86 100644 (file)
@@ -263,11 +263,11 @@ interface dnsp
        /*
          these are convenience hooks for ndrdump
         */
-       void decode_DnssrvRpcRecord(
+       [nopython] void decode_DnssrvRpcRecord(
                [in] dnsp_DnssrvRpcRecord blob
                );
 
-       void decode_DnsProperty(
+       [nopython] void decode_DnsProperty(
                [in] dnsp_DnsProperty blob
                );
 }
index 5100ae80464d4c6f422a3c39db05c905b6c66e56..a28669ad061fa09ace0938e3969436e339625b97 100755 (executable)
@@ -153,7 +153,7 @@ bld.SAMBA_PYTHON('python_echo',
 
 bld.SAMBA_PYTHON('python_dns',
        source='../../librpc/gen_ndr/py_dns.c',
-       deps='RPC_NDR_DNS pytalloc-util pyrpc_util',
+       deps='NDR_DNS pytalloc-util pyrpc_util',
        realname='samba/dcerpc/dns.so'
        )
 
@@ -310,7 +310,7 @@ bld.SAMBA_PYTHON('python_dcerpc_drsblobs',
 
 bld.SAMBA_PYTHON('python_dcerpc_dnsp',
        source='../../librpc/gen_ndr/py_dnsp.c',
-       deps='pytalloc-util pyrpc_util NDR_SECURITY RPC_NDR_DNSP',
+       deps='pytalloc-util pyrpc_util NDR_SECURITY NDR_DNSP',
        realname='samba/dcerpc/dnsp.so'
        )