From d9861a272a99a343203ae2be768363f5973e8583 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Mon, 25 Mar 2019 11:30:59 +0900 Subject: [PATCH] fixup! bluetooth: Fix SVACE defect (DEREF_OF_NULL.RET.STAT) [Version] 11.1.65 [Issue type] SVACE Change-Id: Ide53fd07d0fc228dab410164b7d82f933ee9692d --- packaging/pulseaudio.spec | 2 +- src/modules/bluetooth/bluez5-util.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index 2823343..5b10f5c 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -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 diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index b5f86e1..7f83fc6 100644 --- a/src/modules/bluetooth/bluez5-util.c +++ b/src/modules/bluetooth/bluez5-util.c @@ -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)) { -- 2.7.4