3
0
Fork 0
forked from mirrors/nixpkgs

zlog: fixes CVE-2021-43521

This commit is contained in:
Thomas Gerbet 2022-05-27 14:56:30 +02:00
parent d01774baa3
commit a0a5f90ef2

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.2.15";
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "10hzifgpml7jm43y6v8c8q0cr9ziyx9qxznafxyw6glhnlqnb7pb";
};
patches = [
(fetchpatch {
name = "CVE-2021-43521.patch";
url = "https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3.patch";
sha256 = "sha256-igHXUHN2Ke8Gb5AeDrDwG2aUNRpispgqVlGuASute+8=";
})
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {