Re: [PATCH 4/5] pstore/ram: Set freed addresses to NULL

From: Guilherme G. Piccoli
Date: Wed Oct 12 2022 - 15:44:47 EST


On 11/10/2022 17:01, Kees Cook wrote:
> For good measure, set all the freed addresses to NULL when managing
> przs.
>
> Cc: Anton Vorontsov <anton@xxxxxxxxxx>
> Cc: Colin Cross <ccross@xxxxxxxxxxx>
> Cc: Tony Luck <tony.luck@xxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---

Reviewed-and-tested-by: Guilherme G. Piccoli <gpiccoli@xxxxxxxxxx>

Tested by building / booting and triggering crashes with efi and ramoops
backends.
Cheers,


Guilherme