mirror of
https://github.com/samba-team/samba.git
synced 2025-09-12 13:44:19 +03:00
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 <abartlet@samba.org>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user