mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
Merge branch 'master' into 'master'
secret-service: guard against NULL paths in secret_service_signal See merge request GNOME/libsecret!148
This commit is contained in:
commit
0be4d690e5
@ -441,6 +441,7 @@ secret_service_signal (GDBusProxy *proxy,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
paths = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (self), "Collections");
|
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 */
|
/* A new collection was added, add it to the Collections property */
|
||||||
if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) {
|
if (g_str_equal (signal_name, SECRET_SIGNAL_COLLECTION_CREATED)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user