lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <530a92788ef6763ecb359347a1fcaafb.sboyd@kernel.org>
Date: Sat, 16 Dec 2023 17:15:10 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Kuan-Wei Chiu <visitorckw@...il.com>, mturquette@...libre.com
Cc: duje.mihanovic@...le.hr, conor.dooley@...rochip.com, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, Kuan-Wei Chiu <visitorckw@...il.com>
Subject: Re: [PATCH] clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()

Quoting Kuan-Wei Chiu (2023-12-10 09:52:32)
> In cases where mapping of mpmu/apmu/apbc registers fails, the code path
> does not handle the failure gracefully, potentially leading to a memory
> leak. This fix ensures proper cleanup by freeing the allocated memory
> for 'pxa_unit' before returning.
> 
> Signed-off-by: Kuan-Wei Chiu <visitorckw@...il.com>
> ---

Applied to clk-next

Powered by blists - more mailing lists