summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2018-02-07 09:15:54 +0000
committerGitHub <noreply@github.com>2018-02-07 09:15:54 +0000
commit93cf06776e566246f7ca26d1252da89bdb4023b5 (patch)
treed6ff685c27f82592115962f49ebe7d29875a2c95 /pkgs/applications
parent8ff7ac4859b52baa7378a6a8028d4ec5aea11e85 (diff)
parent95f4d6ba1caec48ea28df06a456cfcecc0c91825 (diff)
downloadnixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar.gz
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar.bz2
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar.lz
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar.xz
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.tar.zst
nixlib-93cf06776e566246f7ca26d1252da89bdb4023b5.zip
Merge pull request #34692 from andir/mpv
mpv: fix CVE-2018-6460
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/video/mpv/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index dcbafd8594d3..403fc7e4ee11 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -95,6 +95,11 @@ in stdenv.mkDerivation rec {
       url = "https://github.com/mpv-player/mpv/commit/2ecf240b1cd20875991a5b18efafbe799864ff7f.patch";
       sha256 = "1sr0770rvhsgz8d7ysr9qqp4g9gwdhgj8g3rgnz90wl49lgrykhb";
     })
+    (fetchpatch {
+      name = "CVE-2018-6360.patch";
+      url = https://salsa.debian.org/multimedia-team/mpv/raw/ddface85a1adfdfe02ffb25b5ac7fac715213b97/debian/patches/09_ytdl-hook-whitelist-protocols.patch;
+      sha256 = "1gb1lkjbr8rv4v9ji6w5z97kbxbi16dbwk2255ajbvngjrc7vivv";
+    })
   ];
 
   postPatch = ''