tre: add patch for CVE-2016-8859

This commit is contained in:
Graham Christensen 2016-11-02 06:42:01 -04:00 committed by Robert Helgesson
parent 68f2bc8fb3
commit cd67a0aada
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, fetchpatch}:
stdenv.mkDerivation rec {
name = "tre-0.8.0";
@ -7,6 +7,13 @@ stdenv.mkDerivation rec {
sha256 = "1pd7qsa7vc3ybdc6h2gr4pm9inypjysf92kab945gg4qa6jp11my";
};
patches = [
(fetchpatch {
url = https://sources.debian.net/data/main/t/tre/0.8.0-6/debian/patches/03-cve-2016-8859;
sha256 = "0navhizym6qxd4gngrsslbij8x9r3s67p1jzzhvsnq6ky49j7w3p";
})
];
meta = {
platforms = stdenv.lib.platforms.unix;
};