mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 14:10:08 +01:00
keyfile: fix crash due to uninitialized variable when reading invalid connection
Fixes: 2bfccab710
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
83479263c4
commit
722712b0df
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue