git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
053efc2
)
r13979: We've dereferenced my_methods already, so there's no point in checking for
author
Volker Lendecke
<vlendec@samba.org>
Tue, 7 Mar 2006 19:24:28 +0000
(19:24 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:11:02 +0000
(11:11 -0500)
!= NULL. Coverity #149.
Volker
source/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source/passdb/pdb_ldap.c
b/source/passdb/pdb_ldap.c
index 8429d50b3803f9f73a1a93642fab260f6e56627f..72ec883aca6f379e34ebd0c14a272a0f56d5b414 100644
(file)
--- a/
source/passdb/pdb_ldap.c
+++ b/
source/passdb/pdb_ldap.c
@@
-1516,7
+1516,7
@@
static NTSTATUS ldapsam_modify_entry(struct pdb_methods *my_methods,
struct ldapsam_privates *ldap_state = (struct ldapsam_privates *)my_methods->private_data;
int rc;
- if (!
my_methods || !
newpwd || !dn) {
+ if (!newpwd || !dn) {
return NT_STATUS_INVALID_PARAMETER;
}