Skip to content
Commit 519b2b14 authored by Chenyuan Yang's avatar Chenyuan Yang Committed by Takashi Iwai
Browse files

ALSA: pcm: use new array-copying-wrapper



This is found by our static analysis tool.

pcm_native.c utilizes memdup_user() to copy an array from userspace.

There is a new wrapper, specifically designed for copying arrays. Use
this one instead.

This is similar to the
commit 3e91a38d ("fbdev: viafb: use new array-copying-wrapper").

Signed-off-by: default avatarChenyuan Yang <chenyuan0y@gmail.com>
Link: https://patch.msgid.link/20250127160655.3119470-1-cy1yang@outlook.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d85fc52c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment