openjpeg: adding patch for CVE-2018-7648

(cherry picked from commit 3dc0838450)
Forward-picking from staging-next.  The CVE is marked as critical,
and the amount of rebuilds isn't that high (~500 linux, ~100 darwin).
This commit is contained in:
Timon Stampfli 2018-10-27 15:25:52 +02:00 committed by Vladimír Čunát
parent abea6f461a
commit 058a3c0806
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -5,4 +5,12 @@ callPackage ./generic.nix (args // rec {
branch = "2.3";
revision = "v${version}";
sha256 = "08plxrnfl33sn2vh5nwbsngyv6b1sfpplvx881crm1v1ai10m2lz";
patches = [
(fetchpatch {
name = "CVE-2018-7648.patch";
url = "https://github.com/uclouvain/openjpeg/commit/cc3824767bde397fedb8a1ae4786a222ba860c8d.patch";
sha256 = "1j5nxmlgyfkxldk2f1ij6h850xw45q3b5brxqa04dxsfsv8cdj5j";
})
];
})