commit | 22aeaa263221064fed02a557d2904e3588dcdf16 | [log] [tgz] |
---|---|---|
author | Andrew Chant <achant@google.com> | Sun Nov 13 17:03:13 2016 -0800 |
committer | Teemu Hukkanen <teemu@fairphone.com> | Sun Jan 29 22:20:22 2017 +0100 |
tree | 9688de2ef5eb40cb8ee11a19581365824be61c54 | |
parent | 57d7ea52eeda00435750e4c913c4f1f3daa2c26d [diff] |
FPII-2728:input: synaptics_dsx: add update bounds checks. Firmware updates contain offsets that are parsed by the kernel driver. Ensure all offsets are within the bounds of the firmware update. TESTED: successfully parsed update firmware on device boot. Bug: 31525965 Bug: 31968442 Change-Id: I074d3f26d33f723a0b239b59ebc3a680d991cdae Signed-off-by: Andrew Chant <achant@google.com>