diff options
author | Ondrej Kos <okos@redhat.com> | 2013-05-21 10:31:00 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-21 13:16:39 +0200 |
commit | 2f6b38151c6dd21cbe0cf2579c20f8c5a358d956 (patch) | |
tree | 387f6bbc52ae4875c3b289d4f1b1771191537ccf /src/util | |
parent | eb64d3406c15dcc5cb42c94488737bdbb9a15655 (diff) | |
download | sssd-2f6b38151c6dd21cbe0cf2579c20f8c5a358d956.tar.gz sssd-2f6b38151c6dd21cbe0cf2579c20f8c5a358d956.tar.xz sssd-2f6b38151c6dd21cbe0cf2579c20f8c5a358d956.zip |
DB: Fix segfault when configuration file cannot be parsed
https://fedorahosted.org/sssd/ticket/1934
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sss_ini.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c index 1af5d2ae9..6d93b16e3 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; } |