boot: Add missing assert to file_read()

This commit is contained in:
Jan Janssen
2022-01-13 14:30:51 +01:00
parent e1e086d1f7
commit 27c106bab8
+1
View File
@@ -440,6 +440,7 @@ EFI_STATUS file_read(EFI_FILE *dir, const CHAR16 *name, UINTN off, UINTN size, C
_cleanup_freepool_ CHAR8 *buf = NULL;
EFI_STATUS err;
assert(dir);
assert(name);
assert(ret);