s3-dcerpc: make auth context opaque
authorSimo Sorce <idra@samba.org>
Fri, 3 Sep 2010 20:27:47 +0000 (16:27 -0400)
committerSimo Sorce <idra@samba.org>
Fri, 17 Sep 2010 14:55:37 +0000 (10:55 -0400)
commit18e12c6442596947c07064cf4e8a0b328e0f522e
treee3dc862651e497f16ca5d876287639c84e41fe23
parent3ec75003ab2f18ad1fb3a6baf665836be3780d58
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.
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