linux/sound/core
Chenyuan Yang 519b2b14be 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 3e91a38de1 ("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>
2025-01-28 08:48:08 +01:00
..
oss ASoC: Fixes for v6.12 2024-10-02 21:29:16 +02:00
seq Merge branch 'for-linus' into for-next 2025-01-20 09:25:33 +01:00
.kunitconfig
Kconfig ALSA: compress_offload: introduce accel operation mode 2024-10-25 10:53:20 +02:00
Makefile
compress_offload.c ALSA: compress_offload: fix remaining descriptor races in sound/core/compress_offload.c 2024-12-30 11:49:38 +01:00
control.c ASoC: Fixes for v6.12 2024-10-02 21:29:16 +02:00
control_compat.c Merge branch 'topic/control-lookup-rwlock' into for-next 2024-08-09 14:25:24 +02:00
control_led.c ALSA: control: Avoid WARN() for symlink errors 2024-12-10 12:32:34 +01:00
ctljack.c
device.c
hrtimer.c
hwdep.c
hwdep_compat.c
info.c
info_oss.c
init.c ALSA: core: add isascii() check to card ID generator 2024-10-03 09:16:58 +02:00
isadma.c
jack.c
memalloc.c ALSA: memalloc: prefer dma_mapping_error() over explicit address checking 2024-12-20 09:54:12 +01:00
memory.c ALSA: Align the syntax of iov_iter helpers with standard ones 2024-12-30 12:50:04 +01:00
misc.c ALSA: core: Drop snd_print stuff and co 2024-08-08 07:49:47 +02:00
pcm.c ALSA: pcm: Add xrun counter for snd_pcm_substream 2024-08-10 10:40:58 +02:00
pcm_compat.c
pcm_dmaengine.c
pcm_drm_eld.c
pcm_iec958.c
pcm_lib.c ALSA: pcm: Add xrun counter for snd_pcm_substream 2024-08-10 10:40:58 +02:00
pcm_local.h
pcm_memory.c ALSA: pcm: Fix yet more compile warning at replacement with kstrtoul() 2024-09-02 10:17:42 +02:00
pcm_misc.c ALSA: pcm: Fix breakage of PCM rates used for topology 2024-09-11 16:17:44 +02:00
pcm_native.c ALSA: pcm: use new array-copying-wrapper 2025-01-28 08:48:08 +01:00
pcm_param_trace.h
pcm_timer.c
pcm_trace.h
rawmidi.c ALSA: rawmidi: Make tied_device=0 as default / unknown 2025-01-14 16:52:07 +01:00
rawmidi_compat.c
seq_device.c
sound.c ALSA: Fix typos in comments across various files 2024-09-30 09:52:31 +02:00
sound_kunit.c ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc() 2024-11-27 08:06:31 +01:00
sound_oss.c
timer.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
timer_compat.c
ump.c ALSA: rawmidi: Make tied_device=0 as default / unknown 2025-01-14 16:52:07 +01:00
ump_convert.c
vmaster.c