diff options
| author | Pete Batard <pete@akeo.ie> | 2023-03-31 15:39:54 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2023-05-02 14:15:56 -0400 |
| commit | cf59f3452d478455c5f3d83790b37a372d2837ea (patch) | |
| tree | e00758e04bf4bc999e6d1d6447517b2cd0aec660 /Cryptlib/Cryptlib.diff | |
| parent | cca3933f48e3a52863322f358c2e8cb8ea80bd57 (diff) | |
| download | efi-boot-shim-cf59f3452d478455c5f3d83790b37a372d2837ea.tar.gz efi-boot-shim-cf59f3452d478455c5f3d83790b37a372d2837ea.zip | |
Further improve load_certs() for non-compliant drivers/firmwares
Following the discovery of more problematic firmwares and drivers
affected by the issue f23883ccf78f1f605a272f9e5700f47e5494a71d is
designed to address (e.g. https://github.com/rhboot/shim/issues/558),
this patch further improves the code so that, instead of simply bailing
out, we progressively increase the buffer sizes, until either success
or a maximum size limit is reached.
In most cases, this workaround should be enough to ensure completion
of the directory read and thus provide full shim functionality (while
still warning the user about the non-compliance of their environment).
Signed-off-by: Pete Batard <pete@akeo.ie>
Diffstat (limited to 'Cryptlib/Cryptlib.diff')
0 files changed, 0 insertions, 0 deletions
