lix/src
Tuomas Tynkkynen 546f98dace libutil: Fix invalid assert on decoding base64 hashes
The assertion is broken because there is no one-to-one mapping from
length of a base64 string to the length of the output.

E.g.

"1q69lz7Empb06nzfkj651413n9icx0njmyr3xzq1j9q=" results in a 32-byte output.
"1q69lz7Empb06nzfkj651413n9icx0njmyr3xzq1j9qy" results in a 33-byte output.

To reproduce, evaluate:

builtins.derivationStrict {
    name = "0";
    builder = "0";
    system = "0";
    outputHashAlgo = "sha256";
    outputHash = "1q69lz7Empb06nzfkj651413n9icx0njmyr3xzq1j9qy";
}

Found by afl-fuzz.
2018-02-19 23:20:26 +02:00
..
boost Shut up some warnings 2017-04-14 14:42:20 +02:00
build-remote Merge branch 'plugins' of https://github.com/shlevy/nix 2018-02-13 12:15:27 +01:00
buildenv Fix "Unexpected EOF reading a line" error 2017-11-29 11:56:15 +00:00
libexpr libexpr: Fix prim_replaceStrings() to work on an empty source string 2018-02-19 23:20:26 +02:00
libmain Set backup MANPATH in case man path isn’t set correctly. 2018-02-15 10:20:02 -06:00
libstore Fix incorrect (and unnecessary) format string 2018-02-19 20:46:39 +01:00
libutil libutil: Fix invalid assert on decoding base64 hashes 2018-02-19 23:20:26 +02:00
linenoise linenoise.cpp: allow completions from empty input 2017-12-19 12:52:10 -06:00
nix Update release notes 2018-02-19 20:38:53 +01:00
nix-build Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-channel Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-collect-garbage Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-copy-closure Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-daemon Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-env Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-instantiate Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-prefetch-url Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-store Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nlohmann nlohmann-json: 2.1.1 -> 3.0.1 2018-01-22 12:19:50 -06:00
resolve-system-dependencies Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00