Add knownVulnerabilities to libdwarf

This commit is contained in:
Yang, Bo 2022-07-05 17:08:02 +00:00 committed by GitHub
parent c1fc59a795
commit d10999d733
3 changed files with 4 additions and 1 deletions

View File

@ -4,4 +4,5 @@ callPackage ./common.nix rec {
url = "https://www.prevanders.net/libdwarf-${version}.tar.xz";
sha512 = "793fe487de80fe6878f022b90f49ec334a0d7db071ff22a11902db5e3457cc7f3f853945a9ac74de2c40f7f388277f21c5b2e62745bca92d2bb55c51e9577693";
buildInputs = [ zlib ];
knownVulnerabilities = [];
}

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url }:
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url, knownVulnerabilities }:
stdenv.mkDerivation rec {
pname = "libdwarf";
@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
platforms = lib.platforms.unix;
license = lib.licenses.lgpl21Plus;
maintainers = [ lib.maintainers.atry ];
inherit knownVulnerabilities;
};
}

View File

@ -4,4 +4,5 @@ callPackage ./common.nix rec {
url = "https://www.prevanders.net/libdwarf-${version}.tar.gz";
sha512 = "e0f9c88554053ee6c1b1333960891189e7820c4a4ddc302b7e63754a4cdcfc2acb1b4b6083a722d1204a75e994fff3401ecc251b8c3b24090f8cb4046d90f870";
buildInputs = [ zlib libelf ];
knownVulnerabilities = [ "CVE-2022-32200" ];
}