Hello community, here is the log from the commit of package alsa-utils for openSUSE:Factory checked in at 2015-07-16 17:16:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old) and /work/SRC/openSUSE:Factory/.alsa-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "alsa-utils" Changes: -------- --- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes 2015-04-30 11:49:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.alsa-utils.new/alsa-utils.changes 2015-07-16 17:16:53.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Jul 13 16:41:51 CEST 2015 - tiwai@suse.de + +- Backport upstream fixes for aplay signal handling and alsactl + possible buffer overflow of readlink(): + 0004-aplay-Fix-type-for-signal-flag.patch + 0005-aplay-Fix-uninterruptible-aplay.patch + 0006-alsactl-terminate-readlink-result-string.patch + +------------------------------------------------------------------- New: ---- 0004-aplay-Fix-type-for-signal-flag.patch 0005-aplay-Fix-uninterruptible-aplay.patch 0006-alsactl-terminate-readlink-result-string.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa-utils.spec ++++++ --- /var/tmp/diff_new_pack.z1wyXk/_old 2015-07-16 17:16:54.000000000 +0200 +++ /var/tmp/diff_new_pack.z1wyXk/_new 2015-07-16 17:16:54.000000000 +0200 @@ -48,6 +48,9 @@ Patch1: 0001-amixer-Don-t-set-only-the-first-item-in-sset_enum.patch Patch2: 0002-amixer-expand-local-storage-for-item-name-according-.patch Patch3: 0003-alsa-info-Don-t-try-update-when-wget-isn-t-available.patch +Patch4: 0004-aplay-Fix-type-for-signal-flag.patch +Patch5: 0005-aplay-Fix-uninterruptible-aplay.patch +Patch6: 0006-alsactl-terminate-readlink-result-string.patch # Patch99: alsa-utils-gettext-version-removal.diff BuildRequires: alsa-devel @@ -78,6 +81,9 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 # %if 0%{?suse_version} < 1020 %patch99 -p1 ++++++ 0004-aplay-Fix-type-for-signal-flag.patch ++++++
From 9aa5c271f4eb2e3481b4a5076eb025242215ad7f Mon Sep 17 00:00:00 2001 From: Takashi Iwai
Date: Wed, 29 Apr 2015 18:01:07 +0200 Subject: [PATCH] aplay: Fix type for signal flag
A flag used in signal handlers has to be a special atomic type,
volatile sig_atomic_t.
Signed-off-by: Takashi Iwai
From 46b60827568ca4aad15eeacbc9dcf8597986ca8e Mon Sep 17 00:00:00 2001 From: Takashi Iwai
Date: Wed, 29 Apr 2015 18:01:58 +0200 Subject: [PATCH] aplay: Fix uninterruptible aplay
When aplay is invoked to play from stdin, it can't be terminated by
normal signals like SIGTERM or SIGINT. It's because our signal
handler tries to trap as much as possible while the stalling point is
not in the PCM loop but rather the file I/O.
For fixing this, leave our signal handler once when a signal is
received and snd_pcm_abort() is called. At the next hit, it shall be
handled normally.
Signed-off-by: Takashi Iwai
From 13c826941445a66ece203a09e6739c979ac5900c Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann
Date: Sat, 11 Jul 2015 13:23:57 +0200 Subject: [PATCH] alsactl: terminate readlink result string
readlink does not guarantee that its result string is nul-terminated.
Instead, increase the buffer by one byte to make sure that we can
add '\0' at the end.
Signed-off-by: Takashi Iwai