s4-librpc: Ensure we do not call call the decrpc timeout handler during gensec_update()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 Jul 2012 04:37:28 +0000 (14:37 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 18 Jul 2012 07:32:53 +0000 (09:32 +0200)
commit02a356ea775a3ba589cb50af3c861ab86aaffa0b
tree315544ffb45cc6f2c5ccc2ef59500e057fd0855a
parentfc36ebfa7861cf7e86aa3c2110a6ab213424e8c1
s4-librpc: Ensure we do not call call the decrpc timeout handler during gensec_update()

This avoids a situation where we could destroy pointers on the stack due to
a nested event loop.

This is certainly not a final, generic solution, but it is a minimal change
while we work to make gensec and gensec_gssapi async.

Andrew Bartlett
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_auth.c
source4/librpc/rpc/dcerpc_connect.c