[packages/alsa-utils] - rel 3; segv fix

arekm arekm at pld-linux.org
Thu Apr 18 00:11:24 CEST 2013


commit 471c93ccece34dd83200127c3081385d760383fb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Apr 18 00:11:20 2013 +0200

    - rel 3; segv fix

 alsa-utils.spec   |  4 +++-
 alsactl-fix.patch | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/alsa-utils.spec b/alsa-utils.spec
index 5d683d2..055161f 100644
--- a/alsa-utils.spec
+++ b/alsa-utils.spec
@@ -6,7 +6,7 @@ Summary(ru.UTF-8):	Утилиты командной строки для ALSA pr
 Summary(uk.UTF-8):	Утиліти командного рядка для ALSA project
 Name:		alsa-utils
 Version:	1.0.27
-Release:	2
+Release:	3
 # some apps GPL v2, some GPL v2+
 License:	GPL v2
 Group:		Applications/Sound
@@ -19,6 +19,7 @@ Source3:	alsactl.conf
 Patch0:		%{name}-fast_sampling.patch
 Patch1:		%{name}-modprobe.patch
 Patch2:		%{name}-build.patch
+Patch3:		alsactl-fix.patch
 URL:		http://www.alsa-project.org/
 BuildRequires:	alsa-lib-devel >= 1.0.26
 BuildRequires:	autoconf >= 2.59
@@ -106,6 +107,7 @@ Skrypt init dla Advanced Linux Sound Architecture.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__gettextize}
diff --git a/alsactl-fix.patch b/alsactl-fix.patch
new file mode 100644
index 0000000..344255e
--- /dev/null
+++ b/alsactl-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/alsactl/lock.c b/alsactl/lock.c
+index d34d013..fce208b 100644
+--- a/alsactl/lock.c
++++ b/alsactl/lock.c
+@@ -35,7 +35,7 @@ static int state_lock_(const char *file, int lock, int timeout)
+ 	int fd = -1, err = 0;
+ 	struct flock lck;
+ 	struct stat st;
+-	char lcktxt[11];
++	char lcktxt[12];
+ 	char *nfile;
+ 
+ 	if (!do_lock)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/alsa-utils.git/commitdiff/471c93ccece34dd83200127c3081385d760383fb



More information about the pld-cvs-commit mailing list