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