diff options
| author | Sreeraj S Kurup <sreekuttan2156239@gmail.com> | 2026-11-02 13:50:34 +0000 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-11-05 08:54:45 +0100 |
| commit | 1b5e85fd6cd25825c39e4385df7fb55f64b4520f (patch) | |
| tree | e23c628572957f07473e3ff6ca055b85b36a4d86 /scripts/stackusage | |
| parent | 459e02b74c51cd24ca437da2fa4668806150af1b (diff) | |
ALSA: control: Clear user-provided numid before adding a control
Clear the user-provided numid before checking for duplicate controls.
A non-existing numid can cause the duplicate control ID check to be
skipped, allowing a control with the same name and index to be added.
Since the kernel assigns the numid when adding a control,
ignore the value provided by userspace.
Signed-off-by: Sreeraj S Kurup <sreekuttan2156239@gmail.com>
Link: https://patch.msgid.link/20261102135034.2751-1-sreekuttan2156239@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
