1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-18 02:58:27 +02:00

* Added a test that make sure that users cannot register

specially-crafted derivations that produce output paths belonging to
  other derivations.  This could be used to inject malware into the
  store.
This commit is contained in:
Eelco Dolstra 2011-07-20 12:15:40 +00:00
parent 4bdb51e621
commit d2bfe1b071
3 changed files with 62 additions and 1 deletions

View file

@ -8,7 +8,7 @@ TESTS = init.sh hash.sh lang.sh add.sh simple.sh dependencies.sh \
referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
gc-runtime.sh install-package.sh check-refs.sh filter-source.sh \
remote-store.sh export.sh export-graph.sh negative-caching.sh \
binary-patching.sh timeout.sh
binary-patching.sh timeout.sh secure-drv-outputs.sh
XFAIL_TESTS =
@ -34,5 +34,6 @@ EXTRA_DIST = $(TESTS) \
negative-caching.nix \
binary-patching.nix \
timeout.nix timeout.builder.sh \
secure-drv-outputs.nix \
$(wildcard lang/*.nix) $(wildcard lang/*.exp) $(wildcard lang/*.exp.xml) $(wildcard lang/*.flags) \
common.sh.in