[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210114125742.GA644967@PWN>
Date: Thu, 14 Jan 2021 07:57:42 -0500
From: Peilin Ye <yepeilin.cs@...il.com>
To: Jiri Kosina <jikos@...nel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Phong Tran <tranmanphong@...il.com>,
Jason Gerecke <killertofu@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: wacom: Fix memory leak in wacom_probe()
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 (37309f47e2f5) branch that will be going
> to Linus shortly.
Ah... I checked linux-input@ before I started working on the bug, but
it seems that Ping sent out a patch just a few hours before I did.
Sorry for the race condition,
Peilin Ye
Powered by blists - more mailing lists