diff options
author | 2021-06-24 00:10:29 +0530 | |
---|---|---|
committer | 2021-07-28 11:31:40 +0200 | |
commit | f7744fa16b96da57187dc8e5634152d3b63d72de (patch) | |
tree | fea444cb011feead7cfb79ed76489c46c3342f0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | HID: input: do not report stylus battery state as "full" (diff) | |
download | linux-dev-f7744fa16b96da57187dc8e5634152d3b63d72de.tar.xz linux-dev-f7744fa16b96da57187dc8e5634152d3b63d72de.zip |
HID: usbhid: free raw_report buffers in usbhid_stop
Free the unsent raw_report buffers when the device is removed.
Fixes a memory leak reported by syzbot at:
https://syzkaller.appspot.com/bug?id=7b4fa7cb1a7c2d3342a2a8a6c53371c8c418ab47
Reported-by: syzbot+47b26cd837ececfc666d@syzkaller.appspotmail.com
Tested-by: syzbot+47b26cd837ececfc666d@syzkaller.appspotmail.com
Signed-off-by: Anirudh Rayabharam <mail@anirudhrb.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions