svn commit: samba r14310 - in branches/SAMBA_4_0/source/librpc/ndr: .

tridge at samba.org tridge at samba.org
Mon Mar 13 06:58:52 GMT 2006


Author: tridge
Date: 2006-03-13 06:58:51 +0000 (Mon, 13 Mar 2006)
New Revision: 14310

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

Log:

length needs to be initialised






Modified:
   branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c	2006-03-13 06:58:32 UTC (rev 14309)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c	2006-03-13 06:58:51 UTC (rev 14310)
@@ -817,7 +817,7 @@
 */
 _PUBLIC_ NTSTATUS ndr_pull_DATA_BLOB(struct ndr_pull *ndr, int ndr_flags, DATA_BLOB *blob)
 {
-	uint32_t length;
+	uint32_t length = 0;
 
 	if (ndr->flags & LIBNDR_ALIGN_FLAGS) {
 		if (ndr->flags & LIBNDR_FLAG_ALIGN2) {



More information about the samba-cvs mailing list