Skip to content
Commit 1bc9fc34 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: only check size if EFI_DT_APPLY_FIXUPS



In the implementation of the EFI_DT_FIXUP_PROTOCOL:

* Only check the buffer size when EFI_DT_APPLY_FIXUPS is set.
* In this case the field totalsize of the device-tree may not exceed the
  buffer size.
* Install device-tree only if EFI_DT_INSTALL_TABLE is set.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 3ecc5277
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment