bluetooth: Fix SVACE defect (DEREF_OF_NULL.RET.STAT)
[platform/upstream/pulseaudio.git] / src / modules / bluetooth / bluez5-util.c
index 7c7ee9f..b5f86e1 100644 (file)
@@ -1905,6 +1905,10 @@ static DBusHandlerResult endpoint_handler(DBusConnection *c, DBusMessage *m, voi
 
     pa_log_debug("dbus: path=%s, interface=%s, member=%s", path, interface, member);
 
+#ifdef __TIZEN_BT__
+    pa_assert_se(path);
+#endif
+
 #ifdef BLUETOOTH_APTX_SUPPORT
 #ifdef TIZEN_BT_A2DP_MULTISTREAM
     if (!pa_streq(path, A2DP_SOURCE_ENDPOINT) && !pa_streq(path, A2DP_SINK_ENDPOINT) && !pa_streq(path, A2DP_SINK_ENDPOINT2)