summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-02 15:58:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:27 -0500
commitfc5c075cff223d36f25b79650c3f739e8d79a801 (patch)
treeb1816122684da070e8798935741e8db232d1bf71 /source4/lib/messaging
parentbd638ea71c91d8c0a37eb59343ae561a260461c3 (diff)
downloadsamba-fc5c075cff223d36f25b79650c3f739e8d79a801.tar.gz
samba-fc5c075cff223d36f25b79650c3f739e8d79a801.tar.bz2
samba-fc5c075cff223d36f25b79650c3f739e8d79a801.zip
r6578: brown paper bag time with the new messaging code ....
(This used to be commit d465ff67bd10340ecd46480039f483daa82c7ebe)
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/messaging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index c95028bea5..2130958b36 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -156,7 +156,7 @@ static void messaging_recv_handler(struct event_context *ev, struct fd_event *fd
return;
}
- rec->data = data_blob_talloc(rec, data, rec->header.length);
+ rec->data = data_blob_talloc(rec, data+sizeof(rec->header), rec->header.length);
if (rec->data.data == NULL) {
talloc_free(rec);
return;