diff options
| author | Peter Jones <pjones@redhat.com> | 2020-08-04 12:42:43 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-08-04 12:49:30 -0400 |
| commit | 63f7943dbe0583dd0bf89ee8fe8230d4b7373b91 (patch) | |
| tree | ae60e7ca7e7aca2b258d18be550e54bf483059fc /include/variables.h | |
| parent | 65be350308783a8ef537246c8ad0545b4e6ad069 (diff) | |
| download | efi-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 'include/variables.h')
0 files changed, 0 insertions, 0 deletions
