mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 05:10:36 +01:00
core: fix crash in impl_settings_get_connection_by_uuid() when requesing non-existing uuid
Regression introduced by commit 8ab8990938.
Found running
$ ./dfuzzer -v -n com.redhat.ifcfgrh1
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1113508
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
214f523f3f
commit
7665585d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ impl_settings_get_connection_by_uuid (NMSettings *self,
|
|||
DBusGMethodInvocation *context)
|
||||
{
|
||||
NMSettingsConnection *connection = NULL;
|
||||
NMAuthSubject *subject;
|
||||
NMAuthSubject *subject = NULL;
|
||||
GError *error = NULL;
|
||||
char *error_desc = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue