mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +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:
parent
470d87701b
commit
f0803de830
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user