lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

libunwind: security fix for CVE-2015-3239

Thanks to the monitor. Low security and high rebuild impact, but still...

+19 -4
+15
pkgs/development/libraries/libunwind/cve-2015-3239.patch
··· 1 + http://git.savannah.gnu.org/cgit/libunwind.git/commit/?id=396b6c7ab737e2bff244d640601c436a26260ca1 2 + 3 + diff --git a/include/dwarf_i.h b/include/dwarf_i.h 4 + index 0e72845..86dcdb8 100644 5 + --- a/include/dwarf_i.h 6 + +++ b/include/dwarf_i.h 7 + @@ -20,7 +20,7 @@ 8 + extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH]; 9 + /* REG is evaluated multiple times; it better be side-effects free! */ 10 + # define dwarf_to_unw_regnum(reg) \ 11 + - (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) 12 + + (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0) 13 + #endif 14 + 15 + #ifdef UNW_LOCAL_ONLY
+3 -3
pkgs/development/libraries/libunwind/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "libunwind-1.1"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "mirror://savannah/libunwind/${name}.tar.gz"; 8 8 sha256 = "16nhx2pahh9d62mvszc88q226q5lwjankij276fxwrm8wb50zzlx"; 9 9 }; 10 10 11 - patches = [ ./libunwind-1.1-lzma.patch ]; 11 + patches = [ ./libunwind-1.1-lzma.patch ./cve-2015-3239.patch ]; 12 12 13 13 postPatch = '' 14 14 sed -i -e '/LIBLZMA/s:-lzma:-llzma:' configure ··· 27 27 sed -i 's,-llzma,${xz}/lib/liblzma.la,' $file 28 28 done 29 29 ''; 30 - 30 + 31 31 meta = with stdenv.lib; { 32 32 homepage = http://www.nongnu.org/libunwind; 33 33 description = "A portable and efficient API to determine the call-chain of a program";
+1 -1
pkgs/top-level/all-packages.nix
··· 7450 7450 libusbmuxd = callPackage ../development/libraries/libusbmuxd { }; 7451 7451 7452 7452 libunwind = if stdenv.isDarwin 7453 - then callPackage ../development/libraries/libunwind/native.nix {} 7453 + then libunwindNative 7454 7454 else callPackage ../development/libraries/libunwind { }; 7455 7455 7456 7456 libunwindNative = callPackage ../development/libraries/libunwind/native.nix {};