Skip to content
Snippets Groups Projects
Commit 932bb793 authored by Patrick Tjin's avatar Patrick Tjin Committed by Pat Tjin
Browse files

msm: ipc_socket: fix leak of kernel memory to userspace


Limit the size of copy to the minimum of what was asked
for or the number of results returned to prevent leaking of
uninitialized kernel memory to userspace.

Bug: 24157888

Signed-off-by: default avatarPatrick Tjin <pattjin@google.com>
Change-Id: I410dfb80e04b0ee8484f9835933d4be090eea74e
parent c9aff567
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