[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha3-1970-g7598c83
Andrew Tridgell
tridge at samba.org
Fri May 30 06:11:25 GMT 2008
The branch, v4-0-test has been updated
via 7598c8389745fcc77da341b4af2dcef6a01db700 (commit)
from 2b5acb5e95b46dd39c6f54b5bb7e15ddb180f7ec (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit 7598c8389745fcc77da341b4af2dcef6a01db700
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 30 16:11:07 2008 +1000
fixed a segv in the python messaging code on 64 bit systems
-----------------------------------------------------------------------
Summary of changes:
source/lib/messaging/pymessaging.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/messaging/pymessaging.c b/source/lib/messaging/pymessaging.c
index 1c22fb4..869508f 100644
--- a/source/lib/messaging/pymessaging.c
+++ b/source/lib/messaging/pymessaging.c
@@ -127,12 +127,15 @@ static PyObject *py_messaging_send(PyObject *self, PyObject *args, PyObject *kwa
NTSTATUS status;
struct server_id server;
const char *kwnames[] = { "target", "msg_type", "data", NULL };
+ int length;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "Ois#|:send",
- discard_const_p(char *, kwnames), &target, &msg_type, &data.data, &data.length)) {
+ discard_const_p(char *, kwnames), &target, &msg_type, &data.data, &length)) {
return NULL;
}
+ data.length = length;
+
if (!server_id_from_py(target, &server))
return NULL;
--
Samba Shared Repository
More information about the samba-cvs
mailing list