summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-05-19 22:21:07 +0200
committerKees Cook <keescook@chromium.org>2017-05-31 19:13:43 +0200
commitefb74e4bb1abeb5bd4c9296b2adfdc253561bc72 (patch)
treeaddf2e1ec8e7ff33a200fa9915c7e51ce6d01c6c /fs/romfs
parentpstore: Avoid potential infinite loop (diff)
downloadlinux-efb74e4bb1abeb5bd4c9296b2adfdc253561bc72.tar.xz
linux-efb74e4bb1abeb5bd4c9296b2adfdc253561bc72.zip
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: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions