Nix/src
Sören Tempel ec5cc1026d absPath: Explicitly check if path is empty before accessing it
It is entirely possible for the path to be an empty string and many
unit tests actually pass it as an empty string (e.g. both_roundrip or
turnsEmptyPathIntoCWD). In this case, without this patch, absPath will
perform a one-byte out-of-bounds access.

This was discovered while enabling the nix test suite on Alpine where
we compile all software with `-D_GLIBCXX_ASSERTIONS=1`, thus resulting
in a test failure on Alpine.
2024-02-04 00:47:47 +01:00
..
build-remote Factor out `Machine::systemSupported` 2024-01-23 12:53:51 -05:00
libcmd Print positions in `--debugger`, instead of pointers 2024-02-02 17:38:46 -08:00
libexpr Change an `allowPath` call to take a store path again 2024-01-31 11:44:06 -05:00
libfetchers fetchTree/fetchGit: re-enable shallow fetching 2024-01-19 20:30:47 +07:00
libmain Use `buildprefix` in a few more places 2023-11-29 19:49:07 -05:00
libstore builtin:fetchurl: Get output hash info from the drv 2024-02-01 22:01:02 +01:00
libutil absPath: Explicitly check if path is empty before accessing it 2024-02-04 00:47:47 +01:00
nix nix hash convert: Add manpage 2024-01-29 17:51:01 +01:00
nix-build DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-channel Split up `util.{hh,cc}` 2023-11-05 12:20:02 -05:00
nix-collect-garbage Split up `util.{hh,cc}` 2023-11-05 12:20:02 -05:00
nix-copy-closure Restrict some code to `StoreDirConfig` 2023-11-04 19:05:36 -04:00
nix-env DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-instantiate DerivationInfo -> PackageInfo 2024-01-16 15:28:03 +01:00
nix-store Factor our `ServeProto::BasicServerConnection::handshake` 2024-01-22 12:43:11 -05:00
resolve-system-dependencies Remove FormatOrString and remaining uses of format() 2023-03-02 15:57:54 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00