summaryrefslogtreecommitdiff
path: root/MokManager.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2020-08-04 12:42:43 -0400
committerPeter Jones <pjones@redhat.com>2020-08-04 12:49:30 -0400
commit63f7943dbe0583dd0bf89ee8fe8230d4b7373b91 (patch)
treeae60e7ca7e7aca2b258d18be550e54bf483059fc /MokManager.c
parent65be350308783a8ef537246c8ad0545b4e6ad069 (diff)
downloadefi-boot-shim-63f7943dbe0583dd0bf89ee8fe8230d4b7373b91.tar.gz
efi-boot-shim-63f7943dbe0583dd0bf89ee8fe8230d4b7373b91.zip
mirror_one_mok_variable(): round allocation up to a full page
The code currently computes the size of the MoK variable in ram and rounds up to a full page, but then actually allocates the exact size, rather than the rounded up version. This should be completely safe, but the intent was to round up to at least the page size boundary, and to always guarantee rounding up /some/, to ensure extra 0-bytes at the end of the buffer. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'MokManager.c')
0 files changed, 0 insertions, 0 deletions