fixup! bluetooth: Fix SVACE defect (DEREF_OF_NULL.RET.STAT) 20/202120/1 accepted/tizen/unified/20190328.012829 submit/tizen/20190327.122548
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 25 Mar 2019 02:30:59 +0000 (11:30 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 25 Mar 2019 02:31:30 +0000 (11:31 +0900)
[Version] 11.1.65
[Issue type] SVACE

Change-Id: Ide53fd07d0fc228dab410164b7d82f933ee9692d

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

index 2823343..5b10f5c 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          64
+Release:          65
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
index b5f86e1..7f83fc6 100644 (file)
@@ -1552,6 +1552,10 @@ static DBusMessage *endpoint_set_configuration(DBusConnection *conn, DBusMessage
             dbus_message_iter_get_basic(&value, &uuid);
 
             endpoint_path = dbus_message_get_path(m);
+#ifdef __TIZEN_BT__
+            pa_assert_se(endpoint_path);
+#endif
+
 #ifdef BLUETOOTH_APTX_SUPPORT
             if (pa_streq(endpoint_path, A2DP_SOURCE_ENDPOINT) ||
                 pa_streq(endpoint_path, A2DP_APTX_SOURCE_ENDPOINT)) {