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

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

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

Modified:
   branches/SAMBA_3_0/source/printing/printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/printing.c       2006-06-28 02:02:21 UTC 
(rev 16598)
+++ branches/SAMBA_3_0/source/printing/printing.c       2006-06-28 02:02:26 UTC 
(rev 16599)
@@ -1480,7 +1480,7 @@
        
        /* get the length */
 
-       len = tdb_pack( buffer, len, "fdPP",
+       len = tdb_pack( NULL, 0, "fdPP",
                sharename,
                type,
                lpqcommand, 

Reply via email to