Accepting request 98300 from home:namtrac:bugfix
- Fix wrong size argument in memset call OBS-URL: https://build.opensuse.org/request/show/98300 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=79
This commit is contained in:
parent
7efa11d691
commit
51bf9ab8ee
26
pulseaudio-wrong-memset.patch
Normal file
26
pulseaudio-wrong-memset.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Index: pulseaudio-1.1/src/modules/rtp/rtp.c
|
||||||
|
===================================================================
|
||||||
|
--- pulseaudio-1.1.orig/src/modules/rtp/rtp.c
|
||||||
|
+++ pulseaudio-1.1/src/modules/rtp/rtp.c
|
||||||
|
@@ -286,7 +286,7 @@ int pa_rtp_recv(pa_rtp_context *c, pa_me
|
||||||
|
|
||||||
|
if (!found_tstamp) {
|
||||||
|
pa_log_warn("Couldn't find SO_TIMESTAMP data in auxiliary recvmsg() data!");
|
||||||
|
- memset(tstamp, 0, sizeof(tstamp));
|
||||||
|
+ memset(tstamp, 0, sizeof(struct timeval));
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
Index: pulseaudio-1.1/src/modules/echo-cancel/adrian-aec.c
|
||||||
|
===================================================================
|
||||||
|
--- pulseaudio-1.1.orig/src/modules/echo-cancel/adrian-aec.c
|
||||||
|
+++ pulseaudio-1.1/src/modules/echo-cancel/adrian-aec.c
|
||||||
|
@@ -163,7 +163,7 @@ static void AEC_leaky(AEC *a)
|
||||||
|
} else if (1 == a->hangover) {
|
||||||
|
--(a->hangover);
|
||||||
|
// My Leaky NLMS is to erase vector w when hangover expires
|
||||||
|
- memset(a->w, 0, sizeof(a->w));
|
||||||
|
+ memset(a->w, 0, sizeof(REAL));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 13:27:22 UTC 2011 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Fix wrong size argument in memset call
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 21 08:17:27 UTC 2011 - wstephenson@suse.com
|
Fri Oct 21 08:17:27 UTC 2011 - wstephenson@suse.com
|
||||||
|
|
||||||
|
@ -15,16 +15,14 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 1
|
Release: 0
|
||||||
%define drvver 1.1
|
%define drvver 1.1
|
||||||
License: GPL-2.0+ ; LGPL-2.1+
|
|
||||||
Summary: A Networked Sound Server
|
Summary: A Networked Sound Server
|
||||||
Url: http://pulseaudio.org
|
License: GPL-2.0+ ; LGPL-2.1+
|
||||||
Group: System/Sound Daemons
|
Group: System/Sound Daemons
|
||||||
|
Url: http://pulseaudio.org
|
||||||
Source: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz
|
Source: http://freedesktop.org/software/pulseaudio/releases/%{name}-%{version}.tar.xz
|
||||||
Source1: default.pa-for-gdm
|
Source1: default.pa-for-gdm
|
||||||
Source2: setup-pulseaudio
|
Source2: setup-pulseaudio
|
||||||
@ -32,6 +30,7 @@ Source3: sysconfig.sound-pulseaudio
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch0: disabled-start.diff
|
Patch0: disabled-start.diff
|
||||||
Patch1: suppress-socket-error-msg.diff
|
Patch1: suppress-socket-error-msg.diff
|
||||||
|
Patch2: pulseaudio-wrong-memset.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: bluez-devel
|
BuildRequires: bluez-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -252,6 +251,7 @@ This package contains GDM integration hooks for the PulseAudio sound server.
|
|||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%patch0
|
%patch0
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf
|
autoreconf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user