as31: Apply Debian patch for CVE-2012-0808 (#18904)

This commit is contained in:
Aneesh Agrawal 2016-09-23 21:54:52 -04:00 committed by Franz Pletz
parent 53c660dbc8
commit 9f7d9def4c

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, yacc }:
{ stdenv, fetchpatch, fetchurl, yacc }:
let
@ -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
'';