Hello community,

here is the log from the commit of package alsa-utils for openSUSE:Factory 
checked in at 2013-04-17 17:35:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old)
 and      /work/SRC/openSUSE:Factory/.alsa-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa-utils", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes    2013-04-16 
06:43:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes       
2013-04-17 17:35:59.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 18:31:29 UTC 2013 - [email protected]
+
+- Added patch from upstream, which fixes buffer overflow,
+  0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
+
+-------------------------------------------------------------------

New:
----
  0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa-utils.spec ++++++
--- /var/tmp/diff_new_pack.vHGe10/_old  2013-04-17 17:36:01.000000000 +0200
+++ /var/tmp/diff_new_pack.vHGe10/_new  2013-04-17 17:36:01.000000000 +0200
@@ -59,6 +59,7 @@
 # Patch:          alsa-utils-git-fixes.diff
 # upstream fix patches
 Patch1:         0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
+Patch2:         
0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch
 #
 Patch99:        alsa-utils-gettext-version-removal.diff
 Url:            http://www.alsa-project.org/
@@ -75,6 +76,7 @@
 # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
 # patch -p1
 %patch1 -p1
+%patch2 -p1
 #
 %if %suse_version < 1020
 %patch99 -p1

++++++ 0002-alsactl-Fix-the-string-size-for-the-lock-file-contents.patch ++++++
>From 95788fea25c1a59985828d4b91af0772d077600b Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <[email protected]>
Date: Mon, 15 Apr 2013 14:44:13 +0200
Subject: [PATCH 1/1] alsactl: Fix the string size for the lock file contents

The string length is 10 characters + LF + '\0' = 12 characters.

Signed-off-by: Jaroslav Kysela <[email protected]>
---
 alsactl/lock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.7.11.4

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to