commit | fd23c027cf8165d77a9ffa80f1ec83562d88b9e8 | [log] [tgz] |
---|---|---|
author | Andrew de los Reyes <adlr@google.com> | Fri Sep 04 15:29:33 2015 -0700 |
committer | Andrew Duggan <aduggan@synaptics.com> | Thu Sep 10 11:16:24 2015 -0700 |
tree | 1f49133f263aa5ac6a9e207d5f61d162eec31ffc | |
parent | b2191d0467eaee992eff48646c40a01d1e405597 [diff] |
rmi4update: Check Read() and Write() return lengths Addresses security concern: All users of Read and Write fail to check for return value being equal to desired write size (only look for <0, not a size >= 0 but less than expected). This can lead to all kinds of corruption or overflows.