svn commit: samba r13841 - in branches/SAMBA_3_0/source/rpc_parse: .

vlendec at samba.org vlendec at samba.org
Sun Mar 5 17:39:22 GMT 2006


Author: vlendec
Date: 2006-03-05 17:39:21 +0000 (Sun, 05 Mar 2006)
New Revision: 13841

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

Log:
Fix an uninitialized variable warning.

Jerry, this just fixes the warning. This routine does not seem to cope well
with !UNMARSHALLING. You might want to look...

Volker

Modified:
   branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c	2006-03-05 17:15:19 UTC (rev 13840)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_spoolss.c	2006-03-05 17:39:21 UTC (rev 13841)
@@ -7495,7 +7495,7 @@
 static BOOL smb_io_port_data_1( const char *desc, RPC_BUFFER *buf, int depth, SPOOL_PORT_DATA_1 *p1 )
 {
 	prs_struct *ps = &buf->prs;
-	uint8 *fodder;
+	uint8 *fodder = NULL;
 
 	prs_debug(ps, depth, desc, "smb_io_port_data_1");
 	depth++;



More information about the samba-cvs mailing list