Messages in this thread | | | From | Kees Cook <> | Subject | Re: [PATCH 1/1] pstore/ram: Check member of buffers during the initialization phase of the pstore | Date | Fri, 4 Aug 2023 10:04:14 -0700 |
| |
On Tue, 01 Aug 2023 14:04:32 +0800, Yunlong Xing wrote: > The commit 30696378f68a("pstore/ram: Do not treat empty buffers as valid") > would introduce the following issue: > > When finding the buffer_size is zero, it would return directly.However, at > the same time, if the buffer's start is a illegal value, the others would > panic if access the buffer. > > [...]
Applied to for-next/pstore, thanks!
[1/1] pstore/ram: Check member of buffers during the initialization phase of the pstore https://git.kernel.org/kees/c/fe8c3623ab06
Take care,
-- Kees Cook
| |