summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-07-09 12:14:59 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-07-09 13:49:21 -0400
commited040c0d1ce0167ab0d9b413aa186c6d2eb0ed88 (patch)
tree8e9ab72c9bec7f6a99ae5eff54c98886567e4699 /src
parent84a4e4533b3af5b170e19827f428b7df76b69d71 (diff)
downloadsssd-ed040c0d1ce0167ab0d9b413aa186c6d2eb0ed88.tar.gz
sssd-ed040c0d1ce0167ab0d9b413aa186c6d2eb0ed88.tar.bz2
sssd-ed040c0d1ce0167ab0d9b413aa186c6d2eb0ed88.zip
Fix incorrect error-check
Coverity #12770
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index 858c8c90..1c651c1a 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -1007,7 +1007,7 @@ sdap_process_missing_member_2307(struct sdap_process_group_state *state,
goto done;
}
user_dn = sysdb_user_strdn(tmp_ctx, state->dom->name, username);
- if (username == NULL) {
+ if (user_dn == NULL) {
return ENOMEM;
}