1Description: Fixes "20150704-CVE-2015-3239"
2Index: pkg-libunwind/include/dwarf_i.h
3===================================================================
4--- pkg-libunwind.orig/include/dwarf_i.h	2015-07-04 10:57:29.000000000 +0900
5+++ pkg-libunwind/include/dwarf_i.h	2015-07-04 11:06:08.675616821 +0900
6@@ -20,7 +20,7 @@
7 extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
8 /* REG is evaluated multiple times; it better be side-effects free!  */
9 # define dwarf_to_unw_regnum(reg)					  \
10-  (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
11+  (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
12 #endif
13
14 #ifdef UNW_LOCAL_ONLY
15