s3-dcerpc: Break memory hierarchy for shared structure
authorSimo Sorce <idra@samba.org>
Wed, 14 Jul 2010 12:57:47 +0000 (08:57 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 14 Jul 2010 13:03:02 +0000 (15:03 +0200)
commit23ad6919a1e5f16d02e22adcf36ea7f039a9eeea
tree30970f5e3728b9a1e1c80ab887602c5bf05419c1
parentd35e9008a78ed8303dad97296455faf6d0302805
s3-dcerpc: Break memory hierarchy for shared structure

Handles are shared among multiple pipes_struct. We cannot allocate
them on any specific pipes_struct or it will vanish for all others
as soon as that pipes_struct is freed, leaving back dangling
pointers.

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/rpc_handles.c