Commit 735e0dac authored by Mirsal Ennaime's avatar Mirsal Ennaime

dbus: Do not crash on method calls with a null interface

parent b2cfa07f
......@@ -770,7 +770,7 @@ MPRISEntryPoint ( DBusConnection *p_conn, DBusMessage *p_from, void *p_this )
DBusError error;
if( strcmp( psz_interface, DBUS_INTERFACE_PROPERTIES ) )
if( psz_interface && strcmp( psz_interface, DBUS_INTERFACE_PROPERTIES ) )
psz_target_interface = psz_interface;
else
......
Markdown is supported
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