| commit | 0d86ebb83baea3040ec630ca88fd66651de2c19c | [log] [tgz] |
|---|---|---|
| author | Jordan Yates <jordan@embeint.com> | Tue Oct 21 21:49:13 2025 +1000 |
| committer | Benjamin Cabé <kartben@gmail.com> | Thu Oct 23 18:04:34 2025 +0200 |
| tree | 39f6bd2dac17e214ade12f3aff409426686e4b3a | |
| parent | 61e177f521ce1841b870bb2e1412a30571913897 [diff] |
llext: load: memcpy section header When loading from `.elf` files, it is not guaranteed that section headers are word aligned with the `.elf` file. Attempting to perform a direct assignment results in the compiler assuming the input pointer is aligned, resulting in usage faults if the assumption is broken. Signed-off-by: Jordan Yates <jordan@embeint.com>