Patch python32 for CVE-2014-1912.

This commit is contained in:
James Cook
2014-04-12 15:49:02 -07:00
committed by Domen Kožar
parent 324ade4658
commit 21cb9c24f0
2 changed files with 63 additions and 0 deletions

View File

@@ -32,6 +32,12 @@ stdenv.mkDerivation {
sha256 = "0pxs234g08v3lar09lvzxw4vqdpwkbqmvkv894j2w7aklskcjd6v";
};
patches =
[
# See http://bugs.python.org/issue20246
./CVE-2014-1912.patch
];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
preConfigure = ''