Fix potential overflow
Check width and height are not negative, to avoid overflow after casting to uint64_t. Bug: 129405342 Test: manual Change-Id: Ic540879a59cd69a29a1c4dce88ea38316792586c
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Check width and height are not negative, to avoid overflow after casting to uint64_t. Bug: 129405342 Test: manual Change-Id: Ic540879a59cd69a29a1c4dce88ea38316792586c