From 8528b1b7b6fa6d703efdff92576b233ccf3a6201 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Tue, 19 Dec 2017 17:36:07 +0900 Subject: [PATCH] Disable pcm-dump feature by default on TV [Version] 5.0-124 [Issue Type] Security Change-Id: Id2fa8bbe74635d09a8fd394cbccf013b26de1597 (cherry picked from commit 0982ee20c86b54b0d4ac29e5d3ba2097af7649e2) --- configure.ac | 5 +++++ packaging/pulseaudio.spec | 3 ++- src/pulsecore/sink-input.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4f4e59a..db5aa05 100644 --- a/configure.ac +++ b/configure.ac @@ -1741,6 +1741,11 @@ echo " bluetooth profile set: ${ENABLE_BT_PROFILE_SET} bluetooth aptx codec: ${HAVE_BT_A2DP_APTX} udev with usb only: ${ENABLE_UDEV_ONLY_USB} + pcm dump: ${ENABLE_PCM_DUMP} + security: ${USE_SECURITY} + pa_ready: ${USE_PA_READY} + prelink: ${USE_PRELINK} + lwipc: ${USE_LWIPC} " if test "${ENABLE_SPEEX}" = "no" && test "${ENABLE_WEBRTC}" = "no" && test "${ENABLE_ADRIAN_EC}" = "no" ; then diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index abf0f8d..936c858 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -11,7 +11,7 @@ Name: pulseaudio Summary: Improved Linux sound server Version: 5.0 -Release: 125 +Release: 126 Group: Multimedia/Audio License: LGPL-2.1 URL: http://pulseaudio.org @@ -259,6 +259,7 @@ NOCONFIGURE=yes ./bootstrap.sh %if "%{?TIZEN_PRODUCT_TV}" == "1" --enable-prelink \ --enable-lwipc \ + --disable-pcm-dump \ %endif --with-udev-rules-dir=%{udev_dir}/rules.d \ --with-system-user=pulse \ diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 0063cba..1c13ad6 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -28,7 +28,6 @@ #include #if defined (__TIZEN__) && defined (ENABLE_PCM_DUMP) #include -#include #endif #include @@ -37,6 +36,7 @@ #include #ifdef __TIZEN__ #include +#include #endif #include -- 2.7.4