From f0803de830d4f1a009b5ef2a06fd94e0f25b3ea8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 23 Aug 2010 12:07:56 +1000 Subject: s4-pyrpc: use s4_event_context_init() This fixes a crash when using kerberos and the python dcercpc interface, which requires event nesting Pair-Programmed-With: Andrew Bartlett --- source4/librpc/rpc/pyrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/rpc/pyrpc.c') diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 258e4584be..bcfe8cf795 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -339,7 +339,7 @@ PyObject *py_dcerpc_interface_init_helper(PyTypeObject *type, PyObject *args, Py ret = PyObject_New(dcerpc_InterfaceObject, type); ret->mem_ctx = mem_ctx; - event_ctx = event_context_init(ret->mem_ctx); + event_ctx = s4_event_context_init(ret->mem_ctx); if (py_basis != Py_None) { struct dcerpc_pipe *base_pipe; -- cgit