Commit 52e6e040 authored by Alice Ryhl's avatar Alice Ryhl Committed by Kalesh Singh
Browse files

ANDROID: ashmem: fix overflow on __page_align



When passing a very large size to __page_align, an integer overflow
happens. To make this unreachable, add a maximum size.

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