summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-08-06 17:32:19 +0200
committerTakashi Iwai <tiwai@suse.de>2026-08-06 18:10:21 +0200
commitf7dcecb92ed192ff5fcf842918fb1aaea84b5bdd (patch)
tree3d42af42e7bcf105bec40c2850be25bf1ab1f61b /tools/perf/scripts/python/export-to-postgresql.py
parent819b106a9fd2ef3fd8abf898b9a8e4524eca8f48 (diff)
ALSA: mpu401: Check card index validity at probe
mpu401 driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads 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-3-tiwai@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions