1Upstream-Status: Pending 2 3Description: Off-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in 4libunwind 1.1 allows local users to have unspecified impact via invalid dwarf opcodes. 5--- a/external/libunwind/include/dwarf_i.h 6+++ b/external/libunwind/include/dwarf_i.h 7@@ -20,7 +20,7 @@ 8 extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; 9 /* REG is evaluated multiple times; it better be side-effects free! */ 10 # define dwarf_to_unw_regnum(reg) \ 11- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) 12+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) 13 #endif 14 15 #ifdef UNW_LOCAL_ONLY 16