s3-dcerpc: make auth context opaque
authorSimo Sorce <idra@samba.org>
Fri, 3 Sep 2010 20:27:47 +0000 (16:27 -0400)
committerGünther Deschner <gd@samba.org>
Thu, 23 Sep 2010 17:54:24 +0000 (10:54 -0700)
commit3453bc7b1108390354c0825ee6b2b0bb28fca2f3
tree06f22ad97f196db708495b459ca5a5a5546bc8b4
parent0ec372057308198cd2f1742c4a56868e6dab7213
s3-dcerpc: make auth context opaque

This way we always double check in advance that the context
is of the right type with talloc_get_type_abort instead of
potentially accessing random memory by addressing the wrong
structure in the union.

Signed-off-by: Günther Deschner <gd@samba.org>
source3/include/ntdomain.h
source3/librpc/rpc/dcerpc_helpers.c
source3/rpc_client/cli_pipe.c
source3/rpc_server/srv_netlog_nt.c
source3/rpc_server/srv_pipe.c