Unverified Commit 44a70c9e authored by Christian Kauhaus's avatar Christian Kauhaus Committed by GitHub
Browse files

Merge pull request #97345 from ckauhaus/67197-mcpp-cve-2019-14274

mcpp: add patch for CVE-2019-14274
parents 06b27898 c60cafa7
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ 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";