Re: [PATCH v3] pstore/platform: Add check for kstrdup

From: Kees Cook
Date: Thu Oct 12 2023 - 12:48:49 EST


On Fri, 23 Jun 2023 10:27:06 +0800, Jiasheng Jiang wrote:
> Add check for the return value of kstrdup() and return the error
> if it fails in order to avoid NULL pointer dereference.
>
>

Applied to for-next/pstore, thanks!

[1/1] pstore/platform: Add check for kstrdup
https://git.kernel.org/kees/c/a19d48f7c5d5

Take care,

--
Kees Cook