]> git.ipfire.org Git - thirdparty/glibc.git/commit
arm: Avoid UB in elf_machine_rel()
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 23 Jun 2022 21:49:32 +0000 (14:49 -0700)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 26 Jun 2024 10:45:43 +0000 (12:45 +0200)
commit07fe71f59b13bbc336ece3ec9ef94dd95c9e0511
treedb2786b8cafcf6a57e66225af50ddaaa2a8583d2
parenta10b6ad471d7b528149f5ff32eef2f1c1dc1213c
arm: Avoid UB in elf_machine_rel()

This recently came up during a cleanup to remove misaligned accesses
from the RISC-V port.

Link: https://sourceware.org/pipermail/libc-alpha/2022-June/139961.html
Suggested-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Fangrui Song <maskray@google.com>
sysdeps/arm/dl-machine.h