Hi,
> > + default:
> > +DEBUG ((
> > + DEBUG_ERROR,
> > + "%a: invalid variable state: 0x%x\n",
> > + __func__,
> > + VarState
> > + ));
>
> Did you want to print VarHeader->State?
Yes, indeed. Good catch, thank you, will fix send send
Hi Gerd,
On Tue, Dec 5, 2023 at 4:51 PM Gerd Hoffmann wrote:
>
> Extend the ValidateFvHeader function, additionally to the header checks
> walk over the list of variables and sanity check them.
>
> In case we find inconsistencies indicating variable store corruption
> return EFI_NOT_FOUND so the