about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-03-25 23:01:29 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-03-25 23:03:10 +0100
commit8c4339a9dcd34d33e16b3db5d911cc078164f0e8 (patch)
tree7ec5f6ca072b8c859fc8e2c419ba0a7ff6291beb
parentdc514b246ef0e4152e3b4566f9cda0134a585979 (diff)
downloadnixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar.gz
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar.bz2
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar.lz
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar.xz
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.tar.zst
nixlib-8c4339a9dcd34d33e16b3db5d911cc078164f0e8.zip
texlive: fix CVE-2016-10243
https://github.com/NixOS/security/issues/104
-rw-r--r--pkgs/tools/typesetting/tex/texlive/combine.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix
index abfe951a33fe..c783316c6d55 100644
--- a/pkgs/tools/typesetting/tex/texlive/combine.nix
+++ b/pkgs/tools/typesetting/tex/texlive/combine.nix
@@ -111,6 +111,7 @@ in buildEnv {
         -e "s,\$SELFAUTODIR,$out/share,g" \
         -e "s,\$SELFAUTOPARENT,$out/share,g" \
         -e "s,\$SELFAUTOGRANDPARENT,$out/share,g" \
+        -e "/^mpost,/d" `# CVE-2016-10243` \
         "$cnfOrig" > ./texmf.cnf
 
       patchCnfLua "./texmfcnf.lua"