mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-15 08:08:28 +02:00
core: fix crash in impl_settings_get_connection_by_uuid() when requesing non-existing uuid
Regression introduced by commit8ab8990938. 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> (cherry picked from commit7665585d4d)
This commit is contained in:
parent
398038ec1b
commit
ce0c8f29c6
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