linux-yocto/sound/usb/usx2y
Murad Masimov 172a0f5097 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: 1da177e4c3 ("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>
2025-03-03 13:40:33 +01:00
..
Makefile
us122l.c ALSA: us122l: Drop mmap_count field 2024-11-13 13:33:47 +01:00
us122l.h ALSA: us122l: Drop mmap_count field 2024-11-13 13:33:47 +01:00
usb_stream.c ALSA: usx2y: Drop no longer used variable 2024-08-09 09:57:33 +02:00
usb_stream.h ALSA: usx2y: Use standard print API 2024-08-08 07:49:47 +02:00
usbus428ctldefs.h
usbusx2y.c ALSA: usx2y: validate nrpacks module parameter on probe 2025-03-03 13:40:33 +01:00
usbusx2y.h ALSA: usx2y: validate nrpacks module parameter on probe 2025-03-03 13:40:33 +01:00
usbusx2yaudio.c ALSA: usx2y: validate nrpacks module parameter on probe 2025-03-03 13:40:33 +01:00
usx2y.h
usX2Yhwdep.c ALSA: usx2y: Use standard print API 2024-08-08 07:49:47 +02:00
usX2Yhwdep.h
usx2yhwdeppcm.c ALSA: usx2y: Use standard print API 2024-08-08 07:49:47 +02:00
usx2yhwdeppcm.h