Skip to content
Snippets Groups Projects
Commit 7c1c6f25 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: I39f2e56716a1543aa6e3fa42140dc18cc470faf9
parent 0acc96d8
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment