mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
ALSA: pcm: use new array-copying-wrapper
[ Upstream commit519b2b14be] 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 commit3e91a38de1("fbdev: viafb: use new array-copying-wrapper"). Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com> Link: https://patch.msgid.link/20250127160655.3119470-1-cy1yang@outlook.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Stable-dep-of:f3d233daf0("ALSA: pcm: Relax __free() variable declarations") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a54e02cc63
commit
232cfc860a
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue