summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-08-06 17:32:23 +0200
committerTakashi Iwai <tiwai@suse.de>2026-08-06 18:10:21 +0200
commit3690ef20469d5959378260e2752f2314a2572913 (patch)
tree96c0c3a76b65156e66cc732e5e86de2d5c8a832a /tools/perf/scripts/python
parentd18a260720f86a5f8b5fcfefc4ba2e9dd01c10f8 (diff)
ALSA: portman2x4: Check card index validity at probe
Although portman2x4 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-7-tiwai@suse.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions