Commit 722712b0 authored by Thomas Haller's avatar Thomas Haller
Browse files

keyfile: fix crash due to uninitialized variable when reading invalid connection

Fixes: 2bfccab7

Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
parent 83479263
......@@ -1163,7 +1163,7 @@ read_one_setting_value (NMSetting *setting,
static NMSetting *
read_setting (GKeyFile *file, const char *keyfile_path, const char *group)
{
NMSetting *setting;
NMSetting *setting = NULL;
ReadInfo info = { file, keyfile_path };
const char *alias;
GType type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment