diff options
| author | Daniel Rosenberg <drosen@google.com> | 2018-07-02 16:59:37 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:03:50 +0200 |
| commit | ef111ea31575bdc50c0c914fe036a1d0ad0cae4e (patch) | |
| tree | edccf20c35d984d7d7546189ac8e19c5a1198388 /tools/perf/scripts/python | |
| parent | c0b166a64eef92a410a50f71b12b1b63cc5f32db (diff) | |
HID: debug: check length before copy_to_user()
commit 717adfdaf14704fd3ec7fa2c04520c0723247eac upstream.
If our length is greater than the size of the buffer, we
overflow the buffer
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
