Merge remote-tracking branch 'gvdb/master' into update-gvdb

Bring in uninitialised memory fixes from
https://gitlab.gnome.org/GNOME/gvdb/issues/2.
This commit is contained in:
Philip Withnall
2020-04-09 13:10:30 +01:00
3 changed files with 131 additions and 8 deletions

View File

@@ -351,10 +351,10 @@ gvdb_table_get_names (GvdbTable *table,
gsize *length)
{
gchar **names;
gint n_names;
gint filled;
gint total;
gint i;
guint n_names;
guint filled;
guint total;
guint i;
/* We generally proceed by iterating over the list of items in the
* hash table (in order of appearance) recording them into an array.