1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 06:22:42 +01:00
nix/src
Théophane Hufschmitt bc47593455 Fix a segfault in the git fetcher
The git fetcher code used to dereference the (potentially empty) `ref`
input attribute. This was magically working, probably because the
compiler somehow outsmarted us, but is now blowing up with newer nixpkgs
versions.

Fix that by not trying to access this field while we don't know for sure
that it has been defined.

Fix #6554

(cherry picked from commit 027fd45230)
2022-05-31 15:18:58 +00:00
..
build-remote Generalize DerivationType in preparation for impure derivations 2022-03-18 14:59:56 +00:00
libcmd Respect the outputSpecified attribute 2022-05-30 11:34:47 +02:00
libexpr Respect the outputSpecified attribute 2022-05-30 11:34:47 +02:00
libfetchers Fix a segfault in the git fetcher 2022-05-31 15:18:58 +00:00
libmain Avoid fmt when constructor already does it 2022-04-19 01:44:11 +00:00
libstore RemoteStore::queryRealisationUncached(): Fix potential noexcept violation 2022-05-30 13:27:13 +02:00
libutil src/libutil/json.cc: add missing <cstdint> include for gcc-13 2022-05-26 18:37:15 +01:00
nix Merge branch 'master' into debug-exploratory-PR 2022-05-25 10:41:10 -06:00
nix-build Stop the logger properly in legacy commands 2022-05-11 12:58:45 +02:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Deduplicate the Store downcasting with a template 2022-03-11 13:32:33 +00:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Stop the logger properly in legacy commands 2022-05-11 12:58:45 +02:00
nix-instantiate store Symbols in a table as well, like positions 2022-04-21 21:56:31 +02:00
nix-store Stop the logger properly in legacy commands 2022-05-11 12:58:45 +02:00
resolve-system-dependencies Get rid of most .at calls (#6393) 2022-05-04 07:44:32 +02:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00