diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index 1eb56e10cf..568422011e 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -5483,6 +5483,10 @@ nm_utils_parse_variant_attributes (const char *string, return NULL; } + /* The attribute and key/value separators are the same. Look for the next one. */ + if (ptr == sep) + goto next; + name = attribute_unescape (start, sep); value = attribute_unescape (sep + 1, ptr);