linux-stable/sound/isa/wavefront
Philipp Stanner 5a77457232 ALSA: wavefront: copy userspace array safely
wavefront_fx.c utilizes memdup_user() to copy a userspace array. This
does not check for an overflow.

Use the new wrapper memdup_array_user() to copy the array more safely.

Suggested-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Link: https://lore.kernel.org/r/20231102190309.50891-2-pstanner@redhat.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-11-20 12:38:31 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
wavefront.c ALSA: wavefront: Allocate resources with device-managed APIs 2021-07-19 16:17:27 +02:00
wavefront_fx.c ALSA: wavefront: copy userspace array safely 2023-11-20 12:38:31 +01:00
wavefront_midi.c ALSA: wavefront: Fix assignment in if condition 2021-06-09 17:29:42 +02:00
wavefront_synth.c ALSA: wavefront: remove redundant assignment to pointer end 2022-07-04 14:29:27 +02:00