diff options
| author | seteiro <[email protected]> | 2026-11-10 09:32:47 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-11-12 14:35:21 +0800 |
| commit | df2e0bffec9ed8e7abb3f0839e06aaf6012f3502 (patch) | |
| tree | 87a9d1905ccf2ded8fc80bdbbc8d5f9718944004 /components/ktime/SConscript | |
| parent | 611d7c07d5dd32757ac6d363576e5f0e8b915c3c (diff) | |
[libc][libdl] reject out-of-bounds ELF relocation targets
- Validate relocation target range against module memory bounds to prevent out-of-bounds writes
- Add dlmodule_check_rel_target helper and apply checks to ARM, RISC-V, and x86 arch relocators
- Add bounds checks for ELF section header indices and symbol table indices
- Abort module load and ensure proper cleanup (freeing section_load_addr) on relocation failure
- Fix #11898
Diffstat (limited to 'components/ktime/SConscript')
0 files changed, 0 insertions, 0 deletions
