diff options
author | Philipp Stanner <pstanner@redhat.com> | 2023-11-02 22:03:10 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-11-20 14:38:31 +0300 |
commit | 5a77457232fa0453da4d3d5a7d530129944aeeb5 (patch) | |
tree | 944d29988a4098e91b38df2d926dfb19b807a068 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d04ce4113cb4e5c2deddcb161db42a25917f285f (diff) | |
download | linux-5a77457232fa0453da4d3d5a7d530129944aeeb5.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions