[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170681105755.3764329.93715039657741016.b4-ty@chromium.org>
Date: Thu, 1 Feb 2024 10:10:59 -0800
From: Kees Cook <keescook@...omium.org>
To: tony.luck@...el.com,
gpiccoli@...lia.com,
Kunwu Chan <chentao@...inos.cn>
Cc: Kees Cook <keescook@...omium.org>,
linux-hardening@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pstore/zone: Add a null pointer check to the psz_kmsg_read
On Thu, 18 Jan 2024 18:02:06 +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 for-next/pstore, thanks!
[1/1] pstore/zone: Add a null pointer check to the psz_kmsg_read
https://git.kernel.org/kees/c/69f381e67d6f
Take care,
--
Kees Cook
Powered by blists - more mailing lists