From 907e32bfa2bc0c868e65f04c08b1e6da0c5a76ca Mon Sep 17 00:00:00 2001 From: Simon Pilkington Date: Tue, 19 Nov 2024 12:06:17 +0100 Subject: [PATCH] secret-service: guard against NULL paths in secret_service_signal --- libsecret/secret-service.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libsecret/secret-service.c b/libsecret/secret-service.c index 68d4ad7..63024a7 100644 --- a/libsecret/secret-service.c +++ b/libsecret/secret-service.c @@ -441,6 +441,7 @@ secret_service_signal (GDBusProxy *proxy, */ paths = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (self), "Collections"); + g_return_if_fail (paths != NULL); /* A new collection was added, add it to the Collections property */ if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) {