mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-27 19:50:45 +01:00
libnm: don't initialize buffer for uuid_unparse_lower() with zeros
This commit is contained in:
parent
fedee13c37
commit
37bf643213
1 changed files with 1 additions and 1 deletions
|
|
@ -2212,7 +2212,7 @@ nm_utils_uuid_generate_from_string (const char *s, gssize slen, int uuid_type, g
|
|||
g_return_val_if_reached (NULL);
|
||||
}
|
||||
|
||||
buf = g_malloc0 (37);
|
||||
buf = g_malloc (37);
|
||||
uuid_unparse_lower (uuid, &buf[0]);
|
||||
|
||||
return buf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue