commit | db248780101f2ca2bc3c02598917e88dfdce3207 | [log] [tgz] |
---|---|---|
author | Biswajit Dash <bisdash@google.com> | Thu Jan 31 17:42:00 2019 -0800 |
committer | Biswajit Dash <bisdash@google.com> | Tue Feb 26 22:39:51 2019 -0800 |
tree | 87da4b15fdbf7e82f696d727e57813d3227d2b1d | |
parent | 75a16c0b84c74786b1ef5b75d36b20b7a9220603 [diff] |
touchscreen: fts: Fix array OOB issues in sysfs diag test interface. fts sysfs store callback was not taking care of edge cases where input length is greater than the command buffer size. This CL fixes these corner array OOB cases and improves/simplifies the string parsing logic. Bug: 120141999 Bug: 120141031 Bug: 120279144 Change-Id: If08a2de0a5352523e7910e5676b378b824658dd0 Signed-off-by: Biswajit Dash <bisdash@google.com>