Skip to content
Commit ca0632ca authored by Philip Withnall's avatar Philip Withnall 🚫 Committed by Philip Withnall
Browse files

gio: Handle NULL cached properties in NetworkManager monitor

g_dbus_proxy_get_cached_property() and
g_dbus_proxy_get_cached_property_names() can both return NULL if the
property cache is empty. Avoid a crash if this situation arises (which
it looks like it could, from reading the code) by gracefully bailing out
on NULL return values.

Coverity issues: #1257044, #1257045

https://bugzilla.gnome.org/show_bug.cgi?id=741229
parent 1f396fd7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment