1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/src
Sergei Zimmerman c663f7ec79
libstore: Fix reentrancy in AwsCredentialProviderImpl::getCredentialsRaw
Old code would do very much incorrect reentrancy crimes (trying to do an
erase inside the emplace callback). This would fail miserably with an assertion
in Boost:

terminating due to unexpected unrecoverable internal error: Assertion '(!find(px))&&("reentrancy not allowed")' failed in boost::unordered::detail::foa::entry_trace::entry_trace(const void *) at include/boost/unordered/detail/foa/reentrancy_check.hpp:33

This is trivially reproduced by using any S3 URL with a non-empty profile:

nix-prefetch-url "s3://happy/crash?profile=default"
2025-10-19 21:03:13 +03:00
..
external-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
internal-api-docs meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
json-schema-checks Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
libcmd Factor out --no-check-sigs 2025-10-16 16:35:09 +02:00
libexpr Merge pull request #14249 from NixOS/more-to-real-path-cleanups 2025-10-14 22:46:15 +00:00
libexpr-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libexpr-test-support meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libexpr-tests meson: Simplify asan-options handling even more 2025-10-12 19:16:06 +03:00
libfetchers Merge pull request #14253 from NixOS/libgit2-refname-wa 2025-10-15 19:30:53 +00:00
libfetchers-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libfetchers-tests libfetchers/git-utils: Be more correct about validating refnames 2025-10-15 21:54:09 +03:00
libflake Format cpp files 2025-10-14 23:51:40 -04:00
libflake-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libflake-tests Remove unecessary includes 2025-10-14 23:48:45 -04:00
libmain meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libmain-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore libstore: Fix reentrancy in AwsCredentialProviderImpl::getCredentialsRaw 2025-10-19 21:03:13 +03:00
libstore-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore-test-support meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libstore-tests Merge pull request #14226 from obsidiansystems/unkeyed-realisation 2025-10-15 21:27:13 +00:00
libutil libutil: Drop unused SubdirSourceAccessor 2025-10-17 00:56:53 +03:00
libutil-c meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libutil-test-support meson: Move asan-options to common 2025-10-11 16:08:35 +03:00
libutil-tests Merge pull request #14232 from roberth/dyndrv-messages 2025-10-14 15:40:27 +00:00
nix Merge pull request #14290 from NixOS/dont-write-nar-to-tty 2025-10-19 12:41:55 +00:00
perl Convert Realisation JSON logic to standard style 2025-09-22 12:59:37 -04:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00