summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 13aaa017548..83d147c0254 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;
}