commit | b2191d0467eaee992eff48646c40a01d1e405597 | [log] [tgz] |
---|---|---|
author | Andrew de los Reyes <adlr@google.com> | Fri Sep 04 15:26:41 2015 -0700 |
committer | Andrew Duggan <aduggan@synaptics.com> | Thu Sep 10 11:16:24 2015 -0700 |
tree | dcf9791effe45340be7c75e7f729683dd1031089 | |
parent | cf0d73307d11d7d4607d57aac6782c0949376746 [diff] |
rmidevice: Check return value of Read(), Write() 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.