diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-08-06 17:32:22 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-08-06 18:10:21 +0200 |
| commit | d18a260720f86a5f8b5fcfefc4ba2e9dd01c10f8 (patch) | |
| tree | c92ffbda873dcac4b5e1d24f19241a05081c4df6 /tools/perf/scripts/python/bin/task-analyzer-report | |
| parent | b65d5182ecd6b7a24a83d980a0d06e809ef876c5 (diff) | |
ALSA: mts64: Check card index validity at probe
Although mts64 driver has a check of the given devptr->id value, it
doesn't check for a negative id, which is often given as "none" or
such value when bound via sysfs. This may lead to OOB access for
index[] and other parameters.
Add a sanity check for the card index and warn/correct it if it's a
value out of the range.
Cc: stable@vger.kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260806153227.1460166-6-tiwai@suse.de
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions
