svn commit: samba r16598 - in trunk/source/printing: .

jra at samba.org jra at samba.org
Wed Jun 28 02:02:21 GMT 2006


Author: jra
Date: 2006-06-28 02:02:21 +0000 (Wed, 28 Jun 2006)
New Revision: 16598

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

Log:
Make it clear to Klocwork we're not dereferencing. Issue #2026.
Jeremy.

Modified:
   trunk/source/printing/printing.c


Changeset:
Modified: trunk/source/printing/printing.c
===================================================================
--- trunk/source/printing/printing.c	2006-06-28 01:59:04 UTC (rev 16597)
+++ trunk/source/printing/printing.c	2006-06-28 02:02:21 UTC (rev 16598)
@@ -1490,7 +1490,7 @@
 	
 	/* get the length */
 
-	len = tdb_pack( buffer, len, "fdPP",
+	len = tdb_pack( NULL, 0, "fdPP",
 		sharename,
 		type,
 		lpqcommand, 



More information about the samba-cvs mailing list