mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
exiv2: fix CVE-2019-20421
This commit is contained in:
parent
d96bd3394b
commit
7cf8f4f2cc
@ -1,5 +1,6 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, zlib
|
||||
, expat
|
||||
, cmake
|
||||
@ -23,6 +24,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0n8il52yzbmvbkryrl8waz7hd9a2fdkw8zsrmhyh63jlvmmc31gf";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# CVE-2019-20421
|
||||
# included in next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8.patch";
|
||||
sha256 = "16r19qb9l5j43ixm5jqid9sdv5brlkk1wq0w79rm5agxq4kblfyc";
|
||||
excludes = [ "tests/bugfixes/github/test_issue_1011.py" "test/data/Jp2Image_readMetadata_loop.poc" ];
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DEXIV2_BUILD_PO=ON"
|
||||
"-DEXIV2_BUILD_DOC=ON"
|
||||
|
Loading…
Reference in New Issue
Block a user