[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170315510015.2192823.7515374595652036540.b4-ty@ellerman.id.au>
Date: Thu, 21 Dec 2023 21:38:20 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: npiggin@...il.com, christophe.leroy@...roup.eu, Kunwu Chan <chentao@...inos.cn>
Cc: kunwu.chan@...mail.com, linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
On Mon, 04 Dec 2023 10:32:23 +0800, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure. Ensure the allocation was successful
> by checking the pointer validity.
>
>
Applied to powerpc/next.
[1/1] powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
https://git.kernel.org/powerpc/c/f46c8a75263f97bda13c739ba1c90aced0d3b071
cheers
Powered by blists - more mailing lists