mirror of https://github.com/wolfSSL/wolfBoot.git
The UEFI MEMMAP_DEVICE_PATH EndingAddress is inclusive (last valid byte), but x86_64_efi_do_boot() set it to boot_addr + size, describing every image as one byte longer than it is; the AArch64 sibling already uses size - 1. A zero-size image would underflow that computation and hand an empty range to LoadImage, so reject it up front, as the AArch64 sibling does. The local panic() returns to the unit test under UNIT_TEST so the zero-size path is observable. |
||
|---|---|---|
| .. | ||
| armclang | ||
| bin-assemble | ||
| check_config | ||
| ci | ||
| delta | ||
| efi | ||
| elf-parser | ||
| fdt-parser | ||
| fs-test | ||
| keytools | ||
| lms | ||
| openocd | ||
| renode | ||
| sbom | ||
| scripts | ||
| squashelf | ||
| test-expect-version | ||
| test-update-server | ||
| tpm | ||
| uart-flash-server | ||
| unit-tests | ||
| xmss | ||
| config.mk | ||
| test-delta.mk | ||
| test-enc.mk | ||
| test-renode.mk | ||
| test.mk | ||
| wolfboot-rpi-devicetree.diff | ||