commit | 963a14fb9c43f0a6b38fbe3da0b894a147c71388 | [log] [tgz] |
---|---|---|
author | Hillf Danton <hdanton@sina.com> | Tue Aug 06 16:40:15 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 25 10:51:44 2019 +0200 |
tree | c21639b9f47c54a99124c96eef6397ea9a21b2ea | |
parent | 52aaeae5f22247659238a06c36973775f57189f3 [diff] |
HID: hiddev: do cleanup in failure of opening a device commit 6d4472d7bec39917b54e4e80245784ea5d60ce49 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>