[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171033598340.517247.11139891507654380344.b4-ty@ellerman.id.au>
Date: Thu, 14 Mar 2024 00:19:43 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: npiggin@...il.com, christophe.leroy@...roup.eu, Qiheng Lin <linqiheng@...wei.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/pseries: Fix potential memleak in papr_get_attr()
On Thu, 08 Dec 2022 21:34:49 +0800, Qiheng Lin wrote:
> `buf` is allocated in papr_get_attr(), and krealloc() of `buf`
> could fail. We need to free the original `buf` in the case of failure.
>
>
Applied to powerpc/next.
[1/1] powerpc/pseries: Fix potential memleak in papr_get_attr()
https://git.kernel.org/powerpc/c/cda9c0d556283e2d4adaa9960b2dc19b16156bae
cheers
Powered by blists - more mailing lists