summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-sony.c
diff options
context:
space:
mode:
authorHillf Danton <hdanton@sina.com>2019-08-06 10:40:15 +0200
committerJiri Kosina <jkosina@suse.cz>2019-08-06 12:42:22 +0200
commit6d4472d7bec39917b54e4e80245784ea5d60ce49 (patch)
tree56698233d5c1d5b4434003f3ff5849a3db94b6c3 /drivers/hid/hid-sony.c
parentHID: hiddev: avoid opening a disconnected device (diff)
downloadlinux-6d4472d7bec39917b54e4e80245784ea5d60ce49.tar.xz
linux-6d4472d7bec39917b54e4e80245784ea5d60ce49.zip
HID: hiddev: do cleanup in failure of opening a device
Undo what we did for opening before releasing the memory slice. Reported-by: syzbot <syzbot+62a1e04fd3ec2abf099e@syzkaller.appspotmail.com> Cc: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Hillf Danton <hdanton@sina.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
0 files changed, 0 insertions, 0 deletions