boot: Add missing assert to file_read()
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user