Description: CVE-2014-0466: fixps does not invoke gs with -dSAFER A malicious PostScript file could delete files with the privileges of the invoking user. Origin: vendor Bug-Debian: http://bugs.debian.org/742902 Author: Salvatore Bonaccorso Last-Update: 2014-03-28 --- a/contrib/fixps.in +++ b/contrib/fixps.in @@ -389,7 +389,7 @@ eval "$command" ;; gs) $verbose "$program: making a full rewrite of the file ($gs)." >&2 - $gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; + $gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; esac ) fi --- a/contrib/fixps.m4 +++ b/contrib/fixps.m4 @@ -307,7 +307,7 @@ eval "$command" ;; gs) $verbose "$program: making a full rewrite of the file ($gs)." >&2 - $gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; + $gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;; esac ) fi aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil/archive.cc
AgeCommit message (Expand)Author
2018-12-16daemon: Use unbranded phrases in comments and messages....* nix/libstore/build.cc, nix/libstore/globals.cc, nix/libstore/gc.cc, nix/libstore/local-store.cc, nix/libstore/optimise-store.cc, nix/libstore/store-api.cc, nix/libutil/archive.cc, nix/nix-daemon/nix-daemon.cc: Replace "Nix store" by "store", and "Nix daemon" by "build daemon". Ludovic Courtès
2018-10-02daemon: Remove "case hack" for nars....This code has never been of any use in Guix. * nix/libutil/archive.cc (useCaseHack): Remove. (parse): Keep only the alternate branch in "if (useCaseHack)". Ludovic Courtès