From 8b319a687b17cf9dd91a36d9796654df20a8d7a6 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Wed, 2 Sep 2020 15:43:58 -0500 Subject: [PATCH] guri: Fix user passed to g_uri_split_with_user() not being NULL'd --- glib/guri.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/guri.c b/glib/guri.c index 5fe29f29d..ad467987b 100644 --- a/glib/guri.c +++ b/glib/guri.c @@ -696,6 +696,8 @@ g_uri_split_internal (const gchar *uri_string, *scheme = NULL; if (userinfo) *userinfo = NULL; + if (user) + *user = NULL; if (password) *password = NULL; if (auth_params)