svn commit: samba r6578 - in branches/SAMBA_4_0/source/lib/messaging: .

tridge at samba.org tridge at samba.org
Mon May 2 15:58:03 GMT 2005


Author: tridge
Date: 2005-05-02 15:58:03 +0000 (Mon, 02 May 2005)
New Revision: 6578

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6578

Log:
brown paper bag time with the new messaging code ....


Modified:
   branches/SAMBA_4_0/source/lib/messaging/messaging.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/messaging/messaging.c
===================================================================
--- branches/SAMBA_4_0/source/lib/messaging/messaging.c	2005-05-02 15:19:25 UTC (rev 6577)
+++ branches/SAMBA_4_0/source/lib/messaging/messaging.c	2005-05-02 15:58:03 UTC (rev 6578)
@@ -156,7 +156,7 @@
 		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;



More information about the samba-cvs mailing list