diff options
author | Mark H Weaver <mhw@netris.org> | 2015-10-08 10:59:39 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-10-08 10:59:39 -0400 |
commit | b81378251c629615aff0d62ca686bb53a10367de (patch) | |
tree | 4c15f2be58d665cf0eed1e00c84f70764890c3b8 /gnu/packages/patches/libunwind-CVE-2015-3239.patch | |
parent | 319fe79dd01e03c4ef61311c336bcd77e1133f02 (diff) | |
parent | b5881775ac2db345bf5826d6351366346ff03275 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/patches/libunwind-CVE-2015-3239.patch')
-rw-r--r-- | gnu/packages/patches/libunwind-CVE-2015-3239.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/libunwind-CVE-2015-3239.patch b/gnu/packages/patches/libunwind-CVE-2015-3239.patch new file mode 100644 index 0000000000..3f11ac7337 --- /dev/null +++ b/gnu/packages/patches/libunwind-CVE-2015-3239.patch @@ -0,0 +1,17 @@ +Copied from Fedora. + +https://bugzilla.redhat.com/show_bug.cgi?id=1232265 +http://pkgs.fedoraproject.org/cgit/libunwind.git/tree/libunwind-1.1-fix-CVE-2015-3239.patch + +diff -up libunwind-1.1/include/dwarf_i.h.CVE20153239 libunwind-1.1/include/dwarf_i.h +--- libunwind-1.1/include/dwarf_i.h.CVE20153239 2015-07-10 13:38:36.404996748 -0400 ++++ libunwind-1.1/include/dwarf_i.h 2015-07-10 13:39:25.050707613 -0400 +@@ -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 |