Android 12.1.0 Release 0.28 (SQ3A.220605.009.A1/SQ3A.220605.009.B1,raven/oriole)
Ioctl: add error handling for integer overflow

Fixed ioctl_dpm_qos_update, ioctl_dpm_clk_update
and ioctl_event_control_set, there is a possible
out of bounds write due to an integer overflow.

Bug: 224932775
Test: GCA, test_poc, CTS
Signed-off-by: Nick Chung <nickchung@google.com>
Change-Id: I8beca1421efc9646f050b6c27ebfdc1a30f0a2c4
(cherry picked from commit 7b919ead431ae0aa8bf83752eca0977e00c6b59a)
1 file changed