Skip to content

Commit

Permalink
as31: Apply Debian patch for CVE-2012-0808 (#18904)
Browse files Browse the repository at this point in the history
  • Loading branch information
aneeshusa authored and fpletz committed Sep 24, 2016
1 parent 53c660d commit 9f7d9de
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/development/compilers/as31/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, yacc }:
{ stdenv, fetchpatch, fetchurl, yacc }:

let

Expand All @@ -14,6 +14,15 @@ in stdenv.mkDerivation {

buildInputs = [ yacc ];

patches = [
# CVE-2012-0808
(fetchpatch {
name = "as31-mkstemps.patch";
url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=655496;filename=as31-mkstemps.patch;msg=5";
sha256 = "0iia4wa8m141bwz4588yxb1dp2qwhapcii382sncm6jvwyngwh21";
})
];

preConfigure = ''
chmod +x ./configure
'';
Expand Down

0 comments on commit 9f7d9de

Please sign in to comment.