[arch-commits] Commit in libunwind/trunk (2 files)

Sébastien Luttringer seblu at archlinux.org
Wed Sep 30 18:58:19 UTC 2015


    Date: Wednesday, September 30, 2015 @ 20:58:18
  Author: seblu
Revision: 247932

upgpkg: libunwind 1.1-3

Added:
  libunwind/trunk/001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
Modified:
  libunwind/trunk/PKGBUILD

-------------------------------------------------------------+
 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch |   21 ++++++++++
 PKGBUILD                                                    |    8 ++-
 2 files changed, 26 insertions(+), 3 deletions(-)

Added: 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch
===================================================================
--- 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch	                        (rev 0)
+++ 001-invalid-dwarf-opcodes-can-cause-references-beyond.patch	2015-09-30 18:58:18 UTC (rev 247932)
@@ -0,0 +1,21 @@
+From 396b6c7ab737e2bff244d640601c436a26260ca1 Mon Sep 17 00:00:00 2001
+From: Arun Sharma <arun at sharma-home.net>
+Date: Sat, 20 Jun 2015 02:47:22 +0000
+Subject: Invalid dwarf opcodes can cause references beyond the end of the array.
+
+---
+diff --git a/include/dwarf_i.h b/include/dwarf_i.h
+index 1e6231e..4a02a7d 100644
+--- 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
+--
+cgit v0.9.0.2

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-30 17:21:55 UTC (rev 247931)
+++ PKGBUILD	2015-09-30 18:58:18 UTC (rev 247932)
@@ -6,14 +6,16 @@
 
 pkgname=libunwind
 pkgver=1.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Portable and efficient C programming interface (API) to determine the call-chain of a program'
 arch=('i686' 'x86_64')
 url='http://www.nongnu.org/libunwind/'
 license=('GPL')
 depends=('glibc' 'xz')
-source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce')
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
+        '001-invalid-dwarf-opcodes-can-cause-references-beyond.patch')
+md5sums=('fb4ea2f6fbbe45bf032cd36e586883ce'
+         'ea8aa624d6b6eaf1cbf56dfb48468e92')
 
 build() {
   cd $pkgname-$pkgver



More information about the arch-commits mailing list