[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <138033cb-fad4-429e-8b8b-a0af29808fe1@enpas.org>
Date: Sun, 23 Nov 2025 03:09:24 +0900
From: Max Staudt <max@...as.org>
To: Eslam Khafagy <eslam.medhat1993@...il.com>,
roderick.colenbrander@...y.com, jikos@...nel.org, bentiss@...nel.org
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+4f5f81e1456a1f645bf8@...kaller.appspotmail.com, stable@...r.kernel.org
Subject: Re: [PATCH v3] HID: memory leak in dualshock4_get_calibration_data
On 11/23/25 2:37 AM, Eslam Khafagy wrote:
> Function dualshock4_get_calibration_data allocates memory to pointer
> buf .However, the function may exit prematurely due to transfer_failure
> in this case it does not handle freeing memory.
>
> This patch handles memory deallocation at exit.
Thanks, Eslam!
Reviewed-by: Max Staudt <max@...as.org>
Powered by blists - more mailing lists