diff options
-rw-r--r-- | source3/libmsrpc/cac_lsarpc.c | 2 |
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; } |