summaryrefslogtreecommitdiffstats
path: root/src/providers/proxy
diff options
context:
space:
mode:
authorAriel Barria <arielb@fedoraproject.org>2012-05-12 11:00:51 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-05-14 11:25:30 -0400
commitc5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d (patch)
treee80c9d2a08bf2f557c1dc4663fe6dc4100c28719 /src/providers/proxy
parentdf4f1f0ec734dc0f1a5c48912516c6be33026e37 (diff)
downloadsssd-c5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d.tar.gz
sssd-c5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d.tar.xz
sssd-c5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d.zip
Potential NULL dereference in proxy provider
Diffstat (limited to 'src/providers/proxy')
-rw-r--r--src/providers/proxy/proxy_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c
index 8a8c7ca80..e7d9206e5 100644
--- a/src/providers/proxy/proxy_id.c
+++ b/src/providers/proxy/proxy_id.c
@@ -215,7 +215,7 @@ static int save_user(struct sysdb_ctx *sysdb, bool lowercase,
shell = NULL;
}
- if (!lowercase || alias) {
+ if (lowercase || alias) {
attrs = sysdb_new_attrs(NULL);
if (!attrs) {
DEBUG(SSSDBG_CRIT_FAILURE, ("Allocation error ?!\n"));