Re: [PATCH] HID: wacom: Fix memory leak in wacom_probe()

2021-01-14 Thread Peilin Ye
Hi Jiri, On Thu, Jan 14, 2021 at 01:21:13PM +0100, Jiri Kosina wrote: > > wacom_probe() is leaking memory. Free `&wacom_wac->pen_fifo` when > > hid_parse() or wacom_parse_and_register() fails. > > Thanks for the patch. It's however already been fixed in > hid.git#for-5.11/upstream-fixes (37309f4

Re: [PATCH] HID: wacom: Fix memory leak in wacom_probe()

2021-01-14 Thread Jiri Kosina
On Thu, 10 Dec 2020, Peilin Ye wrote: > wacom_probe() is leaking memory. Free `&wacom_wac->pen_fifo` when > hid_parse() or wacom_parse_and_register() fails. Thanks for the patch. It's however already been fixed in hid.git#for-5.11/upstream-fixes (37309f47e2f5) branch that will be going to Linus

[PATCH] HID: wacom: Fix memory leak in wacom_probe()

2020-12-10 Thread Peilin Ye
wacom_probe() is leaking memory. Free `&wacom_wac->pen_fifo` when hid_parse() or wacom_parse_and_register() fails. Cc: sta...@vger.kernel.org Cc: Phong Tran Fixes: 83417206427b ("HID: wacom: Queue events with missing type/serial data for later processing") Reported-by: syzbot+5b49c9695968d7250..

Re: memory leak in wacom_probe

2020-11-24 Thread Jiri Kosina
On Thu, 12 Nov 2020, syzbot wrote: > Hello, > > syzbot found the following issue on: CCing Jason and Ping, the maintainers of hid-wacom. > > HEAD commit:eccc8767 Merge branch 'fixes' of git://git.kernel.org/pub/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x

memory leak in wacom_probe

2020-11-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:eccc8767 Merge branch 'fixes' of git://git.kernel.org/pub/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=145055aa50 kernel config: https://syzkaller.appspot.com/x/.config?x=a3f13716fa0212fd das