git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5429c49
)
r14212: Definately fixes a coverity issue but I've lost track
author
Jeremy Allison
<jra@samba.org>
Sat, 11 Mar 2006 20:23:50 +0000
(20:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:16 +0000
(11:15 -0500)
of the coverity id.... Oh well - definately needs a fix.
Jeremy.
source/libmsrpc/cac_lsarpc.c
patch
|
blob
|
history
diff --git
a/source/libmsrpc/cac_lsarpc.c
b/source/libmsrpc/cac_lsarpc.c
index 13aaa017548202d7acfcbcf631e4a4678cdf5b8a..83d147c0254e3a008eae740347f85ce7b9950c98 100644
(file)
--- a/
source/libmsrpc/cac_lsarpc.c
+++ b/
source/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;
}