diff options
author | Murad Masimov <m.masimov@mt-integration.ru> | 2025-03-03 13:04:13 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2025-03-03 15:40:33 +0300 |
commit | 172a0f509723fe4741d4b8e9190cf434b18320d8 (patch) | |
tree | 3897419c7eac2c0f5be5df7846f52bbafbb75ce8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f603b159231b0c58f0c27ab39348534063d38223 (diff) | |
download | linux-172a0f509723fe4741d4b8e9190cf434b18320d8.tar.xz |
ALSA: usx2y: validate nrpacks module parameter on probe
The module parameter defines number of iso packets per one URB. User is
allowed to set any value to the parameter of type int, which can lead to
various kinds of weird and incorrect behavior like integer overflows,
truncations, etc. Number of packets should be a small non-negative number.
Since this parameter is read-only, its value can be validated on driver
probe.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Murad Masimov <m.masimov@mt-integration.ru>
Link: https://patch.msgid.link/20250303100413.835-1-m.masimov@mt-integration.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions