Skip to content
Snippets Groups Projects
Commit cfad32c0 authored by Dennis Cagle's avatar Dennis Cagle Committed by Ecco Park
Browse files

crypto: msm: check length before copying to buf in _debug_stats_read


Make sure that `len` is not larger than `count` before copying data
to userspace `buf` in _debug_stats_read().

Bug: 33899710
CRs-Fixed: 1116295
Change-Id: Iafb7cfa3828653f8c28183c812797c3d9a183da1
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
Signed-off-by: default avatarDennis Cagle <d-cagle@codeaurora.org>
Signed-off-by: default avatarWei Wang <wvw@google.com>
parent 361bc531
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment