diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/0004-namehint-improve-the-previous-patch-check-the-return.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/0004-namehint-improve-the-previous-patch-check-the-return.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0004-namehint-improve-the-previous-patch-check-the-return.patch b/meta/recipes-multimedia/alsa/alsa-lib/0004-namehint-improve-the-previous-patch-check-the-return.patch deleted file mode 100644 index 98192f6e53..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib/0004-namehint-improve-the-previous-patch-check-the-return.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 1fa6664d5f0cc7d21edceba6695a4c28543c2cab Mon Sep 17 00:00:00 2001 | ||
2 | From: Jaroslav Kysela <perex@perex.cz> | ||
3 | Date: Sun, 1 Dec 2019 14:30:54 +0100 | ||
4 | Subject: [PATCH 4/5] namehint: improve the previous patch (check the returned | ||
5 | value) | ||
6 | |||
7 | Signed-off-by: Jaroslav Kysela <perex@perex.cz> | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> | ||
11 | --- | ||
12 | src/control/namehint.c | 3 ++- | ||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/control/namehint.c b/src/control/namehint.c | ||
16 | index 4927ef97..60c48ae3 100644 | ||
17 | --- a/src/control/namehint.c | ||
18 | +++ b/src/control/namehint.c | ||
19 | @@ -349,7 +349,8 @@ static int try_config(snd_config_t *config, | ||
20 | if (snd_config_search(res, "@args", &cfg) >= 0) { | ||
21 | snd_config_for_each(i, next, cfg) { | ||
22 | /* skip the argument list */ | ||
23 | - snd_config_get_id(snd_config_iterator_entry(i), &str); | ||
24 | + if (snd_config_get_id(snd_config_iterator_entry(i), &str) < 0) | ||
25 | + continue; | ||
26 | while (*str && *str >= '0' && *str <= '9') str++; | ||
27 | if (*str == '\0') | ||
28 | continue; | ||
29 | -- | ||
30 | 2.20.1 | ||
31 | |||