diff options
author | Philipp Stanner <pstanner@redhat.com> | 2023-11-02 20:16:34 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-02-07 05:35:54 +0100 |
commit | 102fb77c2deb0df3683ef8ff7a6f4cf91dc456e2 (patch) | |
tree | 27d2b284de402bc4e4ee0490a571d8d550249da0 /drivers/ntb | |
parent | 8f667d2023844f3a2631c686f970b2f04c7fe7ec (diff) |
media: drivers/media/dvb-core: copy user arrays safely
At several positions in dvb_frontend.c, memdup_user() is utilized to
copy userspace arrays. This is done without overflow checks.
Use the new wrapper memdup_array_user() to copy the arrays more safely.
Link: https://lore.kernel.org/linux-media/20231102191633.52592-2-pstanner@redhat.com
Suggested-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions