[PATCH v2] efi_loader: loosen buffer parameter check in efi_file_read

2020-07-22 Thread Stefan Sørensen
been checked. This fix allows the Redhat shim fallback to run and e.g. Fedora 32 now boots out of the box. Signed-off-by: Stefan Sørensen --- lib/efi_loader/efi_file.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c

[PATCH] efi_loader: loosen buffer parameter check in efi_file_read

2020-07-21 Thread Stefan Sørensen
reads, but keep them when doing file reads. This fix allows the Redhat shim fallback to run and e.g. Fedora 32 now boots out of the box. Signed-off-by: Stefan Sørensen --- lib/efi_loader/efi_file.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader