[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <o154p984-s8p8-3sq7-5s8o-1qp0o1o86s66@xreary.bet>
Date: Tue, 18 Nov 2025 18:07:24 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Abdun Nihaal <nihaal@....iitm.ac.in>
cc: roderick.colenbrander@...y.com, bentiss@...nel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: playstation: Fix memory leak in
dualshock4_get_calibration_data()
On Mon, 10 Nov 2025, Abdun Nihaal wrote:
> The memory allocated for buf is not freed in the error paths when
> ps_get_report() fails. Free buf before jumping to transfer_failed label
>
> Fixes: 947992c7fa9e ("HID: playstation: DS4: Fix calibration workaround for clone devices")
> Signed-off-by: Abdun Nihaal <nihaal@....iitm.ac.in>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists