From de106cf70277dc9516b15b2f3c847f993b11525f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 11 Mar 2006 20:23:50 +0000 Subject: r14212: Definately fixes a coverity issue but I've lost track of the coverity id.... Oh well - definately needs a fix. Jeremy. (This used to be commit 54c899ef3b82af612bc2dad450140c5f47d2332e) --- source3/libmsrpc/cac_lsarpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libmsrpc/cac_lsarpc.c b/source3/libmsrpc/cac_lsarpc.c index 13aaa01754..83d147c025 100644 --- a/source3/libmsrpc/cac_lsarpc.c +++ b/source3/libmsrpc/cac_lsarpc.c @@ -481,7 +481,7 @@ int cac_LsaQueryInfoPolicy(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct Lsa return CAC_FAILURE; } - if(!op->in.pol) { + if(!op || !op->in.pol) { hnd->status = NT_STATUS_INVALID_PARAMETER; return CAC_FAILURE; } -- cgit