From dc104df145e34c506b371ed28d390bbcd38d83b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nagy=20K=C3=A1roly=20G=C3=A1briel?= Date: Sat, 27 Feb 2016 09:51:51 +0000 Subject: [PATCH] libunwind: Updated (0.99 -> 1.1) --- ...-opcodes-can-cause-references-beyond.patch | 27 +++++++++++++++++++ develop/libunwind/libunwind.desc | 8 +++--- 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 develop/libunwind/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch diff --git a/develop/libunwind/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch b/develop/libunwind/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch new file mode 100644 index 000000000..b1fbdde18 --- /dev/null +++ b/develop/libunwind/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../libunwind/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch +# Copyright (C) 2016 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- a/include/dwarf_i.h ++++ b/include/dwarf_i.h +@@ -20,7 +20,7 @@ + extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; + /* REG is evaluated multiple times; it better be side-effects free! */ + # define dwarf_to_unw_regnum(reg) \ +- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) ++ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) + #endif + + #ifdef UNW_LOCAL_ONLY diff --git a/develop/libunwind/libunwind.desc b/develop/libunwind/libunwind.desc index 1ff711c36..74ee72bc9 100644 --- a/develop/libunwind/libunwind.desc +++ b/develop/libunwind/libunwind.desc @@ -2,7 +2,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../libunwind/libunwind.desc -[COPY] Copyright (C) 2009 - 2010 The OpenSDE Project +[COPY] Copyright (C) 2009 - 2016 The OpenSDE Project [COPY] [COPY] More information can be found in the files COPYING and README. [COPY] @@ -28,8 +28,8 @@ [F] FPIC-QUIRK [L] MIT -[S] Beta -[V] 0.99 +[S] Stable +[V] 1.1 [P] X -----5---9 099.000 -[D] 2897771957 libunwind-0.99-beta.tar.gz http://download.savannah.gnu.org/releases/libunwind/ +[D] 379445504 libunwind-1.1.tar.gz http://download.savannah.gnu.org/releases/libunwind/