lix/src
Eelco Dolstra 41c4558afe
Fix hash computation when importing NARs greater than 4 GiB
This caused "nix-store --import" to compute an incorrect hash on NARs
that don't fit in an unsigned int. The import would succeed, but
"nix-store --verify-path" or subsequent exports would detect an
incorrect hash.

A deeper issue is that the export/import format does not contain a
hash, so we can't detect such issues early.

Also, I learned that -Wall does not warn about this.
2017-04-28 15:24:05 +02:00
..
boost Shut up some warnings 2017-04-14 14:42:20 +02:00
build-remote ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// 2017-03-16 14:19:32 +01:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
libexpr Restructure installables handling in the "nix" command 2017-04-25 11:20:37 +02:00
libmain Factor out --json 2017-04-24 14:21:36 +02:00
libstore Add Store nesting to fix import-from-derivation within filterSource 2017-04-26 14:15:47 -04:00
libutil Fix hash computation when importing NARs greater than 4 GiB 2017-04-28 15:24:05 +02:00
nix nix repl: Fix Ctrl-C 2017-04-25 19:19:48 +02:00
nix-build nix-shell -p: Use runCommandCC 2017-04-24 12:04:01 +02:00
nix-channel nix-channel: error out if direct tarball unpack fails. 2017-04-10 18:16:46 -04:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-copy-closure ssh:// -> ssh-ng://, legacy-ssh:// -> ssh:// 2017-03-16 14:19:32 +01:00
nix-daemon Setting: Remove "Tag" template argument 2017-04-20 16:52:53 +02:00
nix-env printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url runProgram(): Distinguish between empty input and no input 2017-03-15 16:50:19 +01:00
nix-store Doh 2017-04-26 17:58:09 +02:00
resolve-system-dependencies printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00