commit | 6ba6ba0abaced18049624524628dd9c9f36af6b7 | [log] [tgz] |
---|---|---|
author | Andrew Chant <achant@google.com> | Sun Nov 13 17:03:13 2016 -0800 |
committer | Ariel Yin <ayin@google.com> | Mon Nov 14 23:25:07 2016 +0000 |
tree | a3492c359b8010b2624e2243c36c54856bdf313a | |
parent | b628ff7f163cd76eddd13f2dce4dfb308097d541 [diff] |
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>