OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2784625
)
control: remap - don't allow I/O on renamed IDs
author
Jaroslav Kysela
<perex@perex.cz>
Fri, 23 Apr 2021 14:35:26 +0000
(16:35 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Fri, 23 Apr 2021 19:11:25 +0000
(21:11 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/control/control_remap.c
patch
|
blob
|
history
diff --git
a/src/control/control_remap.c
b/src/control/control_remap.c
index
3c970cb
..
4824259
100644
(file)
--- a/
src/control/control_remap.c
+++ b/
src/control/control_remap.c
@@
-251,6
+251,8
@@
static int remap_id_to_child(snd_ctl_remap_t *priv, snd_ctl_elem_id_t *id, snd_c
}
*id = rid->id_child;
} else {
+ if (remap_find_id_child(priv, id))
+ return -ENOENT;
numid = remap_find_numid_app(priv, id->numid);
if (numid)
id->numid = numid->numid_child;