commit | 4658ed56529c444c67995c1b8426a222c7b405c7 | [log] [tgz] |
---|---|---|
author | Daniel DeGrasse <daniel.degrasse@nxp.com> | Mon Aug 26 15:47:28 2024 +0000 |
committer | Mahesh Mahadevan <mahesh.mahadevan@nxp.com> | Fri Sep 06 10:13:14 2024 -0500 |
tree | 002ffbac9c863b12278aff4f265dccdf484e7522 | |
parent | 8562ae61559f1114c94cf15623a8dfef564bb65a [diff] |
drivers: input: input_gt911: fix OOB buffer write to touch points array GT911 driver was reading an additional touch point into the stack defined touch point array, causing an out-of-bounds write on the stack. Fix this issue by adjusting the limit on the for loop, and add a note to the driver as to why we don't need to validate the number of points reported for future developers Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>