Skip to content
Commit 5a774572 authored by Philipp Stanner's avatar Philipp Stanner Committed by Takashi Iwai
Browse files

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: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarPhilipp Stanner <pstanner@redhat.com>
Link: https://lore.kernel.org/r/20231102190309.50891-2-pstanner@redhat.com
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d04ce411
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment