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:
Alice Ryhl <aliceryhl@google.com>
Loading
Please sign in to comment