From 34a7ef22598f8692ef023b1bc4593ea5de8ed2eb Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Mon, 18 Mar 2019 15:42:51 +0900 Subject: [PATCH] bluetooth: Fix SVACE defect (DEREF_OF_NULL.RET.STAT) [Version] 11.1.64 [Issue type] SVACE Change-Id: Ie197b18b2ebb19a6dd38db442f3b61e7e78886df --- 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 374e9f1..2823343 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -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 diff --git a/src/modules/bluetooth/bluez5-util.c b/src/modules/bluetooth/bluez5-util.c index 7c7ee9f..b5f86e1 100644 --- a/src/modules/bluetooth/bluez5-util.c +++ b/src/modules/bluetooth/bluez5-util.c @@ -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) -- 2.7.4