Accepting request 314851 from devel:libraries:c_c++
- Add patch for bnc#936786 CVE-2015-3239, off by one: * libunwind-CVE-2015-3239.patch OBS-URL: https://build.opensuse.org/request/show/314851 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libunwind?expand=0&rev=33
This commit is contained in:
commit
d1e8a7f29d
13
libunwind-CVE-2015-3239.patch
Normal file
13
libunwind-CVE-2015-3239.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: libunwind-1.1/include/dwarf_i.h
|
||||
===================================================================
|
||||
--- libunwind-1.1.orig/include/dwarf_i.h
|
||||
+++ libunwind-1.1/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
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 2 12:47:57 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Add patch for bnc#936786 CVE-2015-3239, off by one:
|
||||
* libunwind-CVE-2015-3239.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 29 18:47:32 UTC 2015 - meissner@suse.com
|
||||
|
||||
|
@ -34,6 +34,8 @@ Patch1: libunwind-1.1-expected-fails.patch
|
||||
Patch2: libunwind-aarch64.patch
|
||||
# PATCH-FIX-UPSTREAM: uweigand@de.ibm.com -- submitted to libunwind-devel
|
||||
Patch3: libunwind-ppc64le.patch
|
||||
# PATCH-FIX-UPSTREAM: bnc#936786 CVE-2015-3239
|
||||
Patch4: libunwind-CVE-2015-3239.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
@ -63,6 +65,7 @@ call-chain of a program.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
|
Loading…
x
Reference in New Issue
Block a user