From c5eb0dc6c5ce2940f329c477aeecb57e2d8ec38d Mon Sep 17 00:00:00 2001 From: Ariel Barria Date: Sat, 12 May 2012 11:00:51 -0500 Subject: Potential NULL dereference in proxy provider --- src/providers/proxy/proxy_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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")); -- cgit