diff options
| author | Robbie Harwood <rharwood@redhat.com> | 2022-08-23 12:07:16 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2022-09-01 15:38:02 -0400 |
| commit | 14d63398298c8de23036a4cf61594108b7345863 (patch) | |
| tree | d5072dba3713456d222f23f3ab3fa82280fb3f35 /Cryptlib/SysCall | |
| parent | 4fd484e4c29364b4fdf4d043556fa0a210c5fdfc (diff) | |
| download | efi-boot-shim-14d63398298c8de23036a4cf61594108b7345863.tar.gz efi-boot-shim-14d63398298c8de23036a4cf61594108b7345863.zip | |
Discard load-options that start with a NUL
In 6c8d08c0af4768c715b79c8ec25141d56e34f8b4 ("shim: Ignore UEFI
LoadOptions that are just NUL characters."), a check was added to
discard load options that are entirely NUL. We now see some firmwares
that start LoadOptions with a NUL, and then follow it with garbage (path
to directory containing loaders). Widen the check to just discard
anything that starts with a NUL.
Resolves: #490
Related: #95
See-also: https://bugzilla.redhat.com/show_bug.cgi?id=2113005
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Diffstat (limited to 'Cryptlib/SysCall')
0 files changed, 0 insertions, 0 deletions
