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: <CACRpkda6EYeKKpVbJ=iuQTC+X2JDmppf+Bq2Lq8MeyHTCOPfJw@mail.gmail.com>
Date: Tue, 24 Jun 2025 21:17:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yuan Chen <chenyuan_fl@....com>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org, 
	Yuan Chen <chenyuan@...inos.cn>
Subject: Re: [PATCH] pinctrl: berlin: fix memory leak in berlin_pinctrl_build_state()

On Fri, Jun 20, 2025 at 3:53 AM Yuan Chen <chenyuan_fl@....com> wrote:

> From: Yuan Chen <chenyuan@...inos.cn>
>
> In the original implementation, krealloc() failure handling incorrectly
> assigned the original memory pointer to NULL after kfree(), causing a
> memory leak when reallocation failed.
>
> Fixes: de845036f997 ("pinctrl: berlin: fix error return code of berlin_pinctrl_build_state()")
> Signed-off-by: Yuan Chen <chenyuan@...inos.cn>

Patch applied!

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ