Commit 34519a21 authored by Mirsal Ennaime's avatar Mirsal Ennaime Committed by Jean-Baptiste Kempf

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

(cherry picked from commit 735e0dac1990eb9ba7f1882ee2d0ad40739e1d68)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4567283d
......@@ -779,7 +779,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