libyaml: fix CVE-2014-9130 by upstream patch
This commit is contained in:
parent
225ddcda9a
commit
c8a53923fc
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, fetchpatch }:
|
||||||
let
|
let
|
||||||
version = "0.1.6";
|
version = "0.1.6";
|
||||||
in
|
in
|
||||||
@ -10,6 +10,12 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx";
|
sha256 = "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [(fetchpatch {
|
||||||
|
name = "CVE-2014-9130.diff";
|
||||||
|
url = "http://bitbucket.org/xi/libyaml/commits/2b915675/raw/";
|
||||||
|
sha256 = "1vrkga2wk060wccg61c2mj5prcyv181qikgdfi1z4hz8ygmpvl04";
|
||||||
|
})];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://pyyaml.org/;
|
homepage = http://pyyaml.org/;
|
||||||
description = "A YAML 1.1 parser and emitter written in C";
|
description = "A YAML 1.1 parser and emitter written in C";
|
||||||
|
Loading…
Reference in New Issue
Block a user