svn commit: samba r14213 - in trunk/source/libmsrpc: .

jra at samba.org jra at samba.org
Sat Mar 11 20:23:52 GMT 2006


Author: jra
Date: 2006-03-11 20:23:51 +0000 (Sat, 11 Mar 2006)
New Revision: 14213

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

Log:
Definately fixes a coverity issue but I've lost track
of the coverity id.... Oh well - definately needs a fix.
Jeremy.

Modified:
   trunk/source/libmsrpc/cac_lsarpc.c


Changeset:
Modified: trunk/source/libmsrpc/cac_lsarpc.c
===================================================================
--- trunk/source/libmsrpc/cac_lsarpc.c	2006-03-11 20:23:50 UTC (rev 14212)
+++ trunk/source/libmsrpc/cac_lsarpc.c	2006-03-11 20:23:51 UTC (rev 14213)
@@ -481,7 +481,7 @@
       return CAC_FAILURE;
    }
 
-   if(!op->in.pol) {
+   if(!op || !op->in.pol) {
       hnd->status = NT_STATUS_INVALID_PARAMETER;
       return CAC_FAILURE;
    }



More information about the samba-cvs mailing list