svn commit: samba r10872 - in branches/SAMBA_4_0/source/librpc/ndr:
.
metze at samba.org
metze at samba.org
Mon Oct 10 13:25:12 GMT 2005
Author: metze
Date: 2005-10-10 13:25:11 +0000 (Mon, 10 Oct 2005)
New Revision: 10872
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10872
Log:
fix the length of the dummy XPRESS decompressed buffer
metze
Modified:
branches/SAMBA_4_0/source/librpc/ndr/ndr_compression.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_compression.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_compression.c 2005-10-10 12:31:05 UTC (rev 10871)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_compression.c 2005-10-10 13:25:11 UTC (rev 10872)
@@ -161,7 +161,7 @@
NDR_CHECK(ndr_pull_uint32(ndrpull, NDR_SCALARS, &comp_chunk_size));
NDR_CHECK(ndr_pull_advance(ndrpull, comp_chunk_size));
- comp_chunk.length = comp_chunk_size;
+ comp_chunk.length = comp_chunk_size + 8;
comp_chunk.data = ndrpull->data + comp_chunk_offset;
DEBUG(10,("XPRESS plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
More information about the samba-cvs
mailing list