summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-11 20:23:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:16 -0500
commitde106cf70277dc9516b15b2f3c847f993b11525f (patch)
treec30e3e762fdfb905d141ebd3bcc3dd1d1cc1e5ad
parenta62c0925e8b38e491fef7967fdca076895152d7e (diff)
downloadsamba-de106cf70277dc9516b15b2f3c847f993b11525f.tar.gz
samba-de106cf70277dc9516b15b2f3c847f993b11525f.tar.bz2
samba-de106cf70277dc9516b15b2f3c847f993b11525f.zip
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)
-rw-r--r--source3/libmsrpc/cac_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
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;
}