diff options
author | Ariel Barria <arielb@fedoraproject.org> | 2012-05-12 11:00:51 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-14 11:25:30 -0400 |
commit | c5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d (patch) | |
tree | e80c9d2a08bf2f557c1dc4663fe6dc4100c28719 /src/providers/proxy | |
parent | df4f1f0ec734dc0f1a5c48912516c6be33026e37 (diff) | |
download | sssd-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.c | 2 |
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")); |