diff options
author | Andrew de los Reyes <adlr@google.com> | 2015-09-04 15:21:42 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2015-09-10 11:16:24 -0700 |
commit | cf0d73307d11d7d4607d57aac6782c0949376746 (patch) | |
tree | f4a7c232f79888690beb291a75406e92fc8cf9d4 /LICENSE | |
parent | 5f6172825c985c0904c21c6936fff8b677850b73 (diff) | |
download | rmi4utils-cf0d73307d11d7d4607d57aac6782c0949376746.tar.gz |
HIDDevice: WriteDeviceNameToFile: check lengths, close return value
Addresses security concern:
WriteDeviceNameToFile does not check buffer lengths, and uses a fixed
size of 19, though this is likely safe due to how the kernel builds the
/sys tree entries. Also fails to check return code of "close".
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions