From 2f6b38151c6dd21cbe0cf2579c20f8c5a358d956 Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Tue, 21 May 2013 10:31:00 +0200 Subject: DB: Fix segfault when configuration file cannot be parsed https://fedorahosted.org/sssd/ticket/1934 --- src/util/sss_ini.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index 1af5d2ae..6d93b16e 100644 --- a/src/util/sss_ini.c +++ b/src/util/sss_ini.c @@ -241,6 +241,7 @@ int sss_ini_get_config(struct sss_ini_initdata *init_data, ini_config_free_errors(init_data->error_list); } ini_config_destroy(init_data->sssd_config); + init_data->sssd_config = NULL; return ret; } -- cgit