git.samba.org
/
nivanova
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470d877
)
s4-pyrpc: use s4_event_context_init()
author
Andrew Tridgell
<tridge@samba.org>
Mon, 23 Aug 2010 02:07:56 +0000
(12:07 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 23 Aug 2010 05:55:39 +0000
(15:55 +1000)
This fixes a crash when using kerberos and the python dcercpc
interface, which requires event nesting
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/librpc/rpc/pyrpc.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/pyrpc.c
b/source4/librpc/rpc/pyrpc.c
index 258e4584be961ad26007698b92433281f8d26e03..bcfe8cf7953ab68192c4fa017daa2397f0891d54 100644
(file)
--- 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;