bluetooth: Fix SVACE defect (DEREF_OF_NULL.RET.STAT) 03/201603/2 accepted/tizen/unified/20190320.082257 submit/tizen/20190319.052937
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 18 Mar 2019 06:42:51 +0000 (15:42 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Tue, 19 Mar 2019 05:27:46 +0000 (14:27 +0900)
[Version] 11.1.64
[Issue type] SVACE

Change-Id: Ie197b18b2ebb19a6dd38db442f3b61e7e78886df

packaging/pulseaudio.spec
src/modules/bluetooth/bluez5-util.c

index 374e9f1..2823343 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          63
+Release:          64
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
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)