mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
openexr: patch CVE-2018-18444
This commit is contained in:
parent
9802b19e59
commit
1bd842a121
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, buildPackages, fetchurl, autoconf, automake, libtool, pkgconfig, zlib, ilmbase, }:
|
||||
{ lib, stdenv, buildPackages, fetchurl, autoconf, automake, libtool, pkgconfig,
|
||||
zlib, ilmbase, fetchpatch }:
|
||||
|
||||
let
|
||||
# Doesn't really do anything when not crosscompiling
|
||||
@ -16,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./bootstrap.patch
|
||||
(fetchpatch {
|
||||
name = "CVE-2018-18444.patch";
|
||||
url = "https://github.com/openexr/openexr/commit/1b0f1e5d7dcf2e9d6cbb4e005e803808b010b1e0.patch";
|
||||
sha256 = "0f5m4wdwqqg8wfg7azzsz5yfpdrvws314rd4sqfc74j1g6wrcnqj";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "bin" "dev" "out" "doc" ];
|
||||
|
Loading…
Reference in New Issue
Block a user