mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
d42a8c971d
Summary: Dealing with non-owned path in futures is mind bending and can lead to use after free fairly easily if not careful. It turns out that this code is actually a bit buggy and in some cases will attempt to use a path that is already freed. Since the callsite doesn't need to hold onto the paths, let's just move them, which resolves the issuue. Reviewed By: chadaustin Differential Revision: D24657423 fbshipit-source-id: 47bbaccf18cd86e53860491e3cbfeadb4363499c |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
Enumerator.cpp | ||
Enumerator.h | ||
PrjfsChannel.cpp | ||
PrjfsChannel.h | ||
PrjfsRequestContext.h |