[all-commits] [llvm/llvm-project] d0cf7b: [ELF] EhInputSection::getParentOffset: fix out-of-...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Aug 1 01:11:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0cf7b2015ebd76ec2957ff808aec2b1201ebc9d
https://github.com/llvm/llvm-project/commit/d0cf7b2015ebd76ec2957ff808aec2b1201ebc9d
Author: Fangrui Song <i at maskray.me>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/test/ELF/eh-frame-marker.s
Log Message:
-----------
[ELF] EhInputSection::getParentOffset: fix out-of-bounds access for symbols relative to a non-empty .eh_frame
This has unclear semantics and can be considered invalid. Return an arbitrary value.
More information about the All-commits
mailing list