commit | d1a9fe0c011d4fe814ed7e7e10ccc56e5f4d1696 | [log] [tgz] |
---|---|---|
author | Nick Chung <nickchung@google.com> | Wed Mar 23 15:13:12 2022 +0800 |
committer | Nick Chung <nickchung@google.com> | Tue Mar 29 00:14:05 2022 +0000 |
tree | 500fbc53ef740d9ee13fdc77a338fa6c99c1a316 | |
parent | 568fbb3d420b2bfc2adca01a28ad2bea9366e5f1 [diff] |
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)