libunwind: security fix for CVE-2015-3239

Thanks to the monitor. Low security and high rebuild impact, but still...
This commit is contained in:
Vladimír Čunát
2015-09-02 05:23:55 +02:00
parent 54c4aab662
commit 2dccca399c
3 changed files with 19 additions and 4 deletions
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "libunwind-1.1";
src = fetchurl {
url = "mirror://savannah/libunwind/${name}.tar.gz";
sha256 = "16nhx2pahh9d62mvszc88q226q5lwjankij276fxwrm8wb50zzlx";
};
patches = [ ./libunwind-1.1-lzma.patch ];
patches = [ ./libunwind-1.1-lzma.patch ./cve-2015-3239.patch ];
postPatch = ''
sed -i -e '/LIBLZMA/s:-lzma:-llzma:' configure
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
sed -i 's,-llzma,${xz}/lib/liblzma.la,' $file
done
'';
meta = with stdenv.lib; {
homepage = http://www.nongnu.org/libunwind;
description = "A portable and efficient API to determine the call-chain of a program";