mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-04-05 13:22:18 +02:00
ia64: Fix off-by-one bug reported by Todd L Miller.
The rationale for this fix is as follows: for the ALIAS directive, RLEN specifies the number if instructions for which the region behaves like the aliased code. For example, if RLEN=1 then the code follows the aliased region for 1 instruction and the valid WHEN values should be 0 and 1. However, with the unpatched code, we would have allowed for -1 and 0, which is wrong. BKrev: 4266c3228pjJqd72q34L-r8z1RXTaA
This commit is contained in:
parent
8efd6d24da
commit
4479427266