lix/src
Eelco Dolstra 24b739817f
Fix double free in Store::queryPathInfo()
It was holding on to a Value* (i.e. a std::shared_ptr<ValidPathInfo>*)
outside of the pathInfoCache lock, so the std::shared_ptr could be
destroyed between the release of the lock and the decrement of the
std::shared_ptr refcount. This can happen if more than
'path-info-cache-size' paths are added in the meantime, *or* if
clearPathInfoCache() is called. The hydra-queue-runner queue monitor
thread periodically calls the later, so is likely to trigger a crash.

Fixes https://github.com/NixOS/hydra/issues/542.
2018-03-09 14:19:51 +01:00
..
boost
build-remote Merge branch 'plugins' of https://github.com/shlevy/nix 2018-02-13 12:15:27 +01:00
buildenv Fix error message 2018-03-02 14:32:00 +01:00
libexpr Modified MakeBinOp to no longer produce its name using concatenation and "##". 2018-03-09 03:16:33 +00:00
libmain Set backup MANPATH in case man path isn’t set correctly. 2018-02-15 10:20:02 -06:00
libstore Fix #1957 2018-03-07 11:40:50 +01:00
libutil Fix double free in Store::queryPathInfo() 2018-03-09 14:19:51 +01:00
linenoise linenoise.cpp: allow completions from empty input 2017-12-19 12:52:10 -06:00
nix Merge branch 'improve-search-algorithm' of git://github.com/Ma27/nix 2018-03-02 11:41:08 -05: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 Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix 2018-03-02 10:59:59 -05:00
nlohmann nlohmann-json: 2.1.1 -> 3.0.1 2018-01-22 12:19:50 -06:00
resolve-system-dependencies