mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 03:57:58 +03:00
Merge pull request #97345 from ckauhaus/67197-mcpp-cve-2019-14274
mcpp: add patch for CVE-2019-14274
This commit is contained in:
commit
44a70c9e7d
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mcpp";
|
||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [ "--enable-mcpplib" ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-14274.patch";
|
||||
url = "https://github.com/h8liu/mcpp/commit/ea453aca2742be6ac43ba4ce0da6f938a7e5a5d8.patch";
|
||||
sha256 = "0svkdr3w9b45v6scgzvggw9nsh6a3k7g19fqk0w3vlckwmk5ydzr";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://mcpp.sourceforge.net/";
|
||||
description = "A portable c preprocessor";
|
||||
|
Loading…
Reference in New Issue
Block a user