Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further improve load_certs() for non-compliant drivers/firmwares
Following the discovery of more problematic firmwares and drivers affected by the issue f23883c is designed to address (e.g. #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 <[email protected]>
- Loading branch information