| 1 |
Descriptionscip-debian debian android-platform-external-libunwind 10.0.0+r36-4.1 android-platform-external-libunwind/patches/`20150704-CVE-2015-3239_dwarf_i.h.patch`#Description.: Fixes "20150704-CVE-2015-3239" |
| 2 |
Index: pkg-libunwind/include/dwarf_i.hscip-debian debian android-platform-external-libunwind 10.0.0+r36-4.1 android-platform-external-libunwind/upstream/`pkg-libunwind/include/dwarf_i.h`: |
| 3 |
=================================================================== |
| 4 |
--- pkg-libunwind.orig/include/dwarf_i.hscip-debian debian android-platform-external-libunwind 10.0.0+r36-4.1 android-platform-external-libunwind/upstream/`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 |
|
| 11 |
+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) |
| 12 |
#endif |
| 13 |
|
| 14 |
#ifdef UNW_LOCAL_ONLY |