Commit 7f804a5b authored by Alice Ryhl's avatar Alice Ryhl Committed by Isaac Manjarres
Browse files

ANDROID: ashmem: use strcpy_into_buf 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
Bug: 414339114
Change-Id: I7e070fc2b91f0483fd9372d52cfb4f0d6dcece48
Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
parent 6e80d044
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment