diff --git a/initialize-soundfile-format.patch b/initialize-soundfile-format.patch new file mode 100644 index 0000000..752ec45 --- /dev/null +++ b/initialize-soundfile-format.patch @@ -0,0 +1,12 @@ +Index: mumble-1.2.19/src/mumble/AudioOutputSample.cpp +=================================================================== +--- mumble-1.2.19.orig/src/mumble/AudioOutputSample.cpp ++++ mumble-1.2.19/src/mumble/AudioOutputSample.cpp +@@ -41,6 +41,7 @@ SoundFile::SoundFile(const QString &fnam + siInfo.samplerate = 0; + siInfo.sections = 0; + siInfo.seekable = 0; ++ siInfo.format = 0; + + sfFile = NULL; + diff --git a/mumble.changes b/mumble.changes index 3600e6b..6e622f6 100644 --- a/mumble.changes +++ b/mumble.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 8 06:30:23 UTC 2017 - alarrosa@suse.com + +- Add initialize-soundfile-format.patch to initilalize a variable so + it's not used later uninitialized. + ------------------------------------------------------------------- Wed Feb 1 16:12:50 UTC 2017 - adam.majer@suse.de diff --git a/mumble.spec b/mumble.spec index d62c7a0..349392c 100644 --- a/mumble.spec +++ b/mumble.spec @@ -67,6 +67,8 @@ Patch0: mumble-1.2.2-buildcompare.diff Patch1: mumble-1.2.11-desktop_fix.diff # PATCH-FEATURE-UPSTREAM https://github.com/mumble-voip/mumble/pull/2564 Patch2: appdata.patch +# PATCH-FIX-UPSTREAM initialize-soundfile-format.patch -- Initialize a variable so it's not used uninitialized +Patch3: initialize-soundfile-format.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else @@ -189,6 +191,7 @@ won't be audible to other players. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %if !%{with system_celt} %if 0%{?snapshot:1} tar -xzf %{SOURCE50}