mirror of https://github.com/wolfSSL/wolfBoot.git
F-6757 fixed the byte-wise path but left the fast path above it indexing dst[i >> 2]/src[i >> 2] off the call-time base. The guard only proves that "address + i" and "data + i" are word aligned, so when the destination and source share a non-zero misalignment the byte path advances i to the next word boundary and the fast path then copies the wrong word, through an unaligned 32-bit access that faults on the Cortex-M0+ of stm32l0. Index both pointers by i directly, and cover the case the existing tests deliberately avoided. |
||
|---|---|---|
| .. | ||
| armclang | ||
| bin-assemble | ||
| check_config | ||
| ci | ||
| delta | ||
| efi | ||
| elf-parser | ||
| fdt-parser | ||
| keytools | ||
| lms | ||
| openocd | ||
| renode | ||
| 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 | ||