diff options
| author | Daniel Rosenberg <[email protected]> | 2018-07-02 16:59:37 -0700 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2018-07-03 11:54:40 +0200 |
| commit | 717adfdaf14704fd3ec7fa2c04520c0723247eac (patch) | |
| tree | 909cbc9aaa97298c6110292cfc06a883174fc611 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 8f732850df1b2b4d8d719f7e606dfb3050e7ea11 (diff) | |
HID: debug: check length before copy_to_user()
If our length is greater than the size of the buffer, we
overflow the buffer
Cc: [email protected]
Signed-off-by: Daniel Rosenberg <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions