Commit efb74e4b authored by Kees Cook's avatar Kees Cook
Browse files

efi-pstore: Refactor erase routine



Right now, every pass through the EFI variables during erase would build
a copy of the old format variable name. Instead, try each name one time
through the EFI variables list. Additionally bump up the buffer size to
avoid truncation in pathological cases, and wipe the write name buffer.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 656de42e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment