diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2018-06-10 16:01:05 -0400 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-06-10 22:01:05 +0200 |
commit | 17d765058560cf3fb323b26249be8a1ebef06884 (patch) | |
tree | bf45d396da7bab0b72817fd454558d7691dece0b /pkgs/applications/misc/mupdf | |
parent | 6dabad3c77a55cd18a17b9b751cff6b08f9b7d0c (diff) |
mupdf: apply CVE-2018-10289 patch (#41802)
Fixes mupdf issue in https://github.com/NixOS/nixpkgs/issues/41748 by applying patch from https://bugs.ghostscript.com/show_bug.cgi?id=699271
Diffstat (limited to 'pkgs/applications/misc/mupdf')
-rw-r--r-- | pkgs/applications/misc/mupdf/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix index fbc7da070211f..a8458e3432c50 100644 --- a/pkgs/applications/misc/mupdf/default.nix +++ b/pkgs/applications/misc/mupdf/default.nix @@ -23,12 +23,15 @@ in stdenv.mkDerivation rec { }; patches = [ + (fetchpatch { + # CVE-2018-10289 + url = "https://bugs.ghostscript.com/attachment.cgi?id=15230"; + sha256 = "0jmpacxd9930g6k57kda9jrcrbk75whdlv8xwmqg5jwn848qvy4q"; + }) ] - - # Use shared libraries to decrease size - ++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.13-shared_libs-1.patch - - ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch + # Use shared libraries to decrease size + ++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.13-shared_libs-1.patch + ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch ; postPatch = '' |