Commit ba971cd3 authored by Alice Ryhl's avatar Alice Ryhl Committed by Treehugger Robot
Browse files

ANDROID: ashmem: use strncpy_from_user in set_name



Ashmem expected that it could always read ASHMEM_NAME_LEN bytes from the
provided pointer even if the actual string was shorter. This assumption
turns out to be false.

Bug: 409422661
Change-Id: I617be6c91947d44ec80b894c41fabe0f5c539eae
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 56dea476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment