mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
5eb692d345
Summary: Previously EdenServer::getMount() returned a null pointer if the path did not refer to a known mount point. However, most of the thrift APIs using this method never checked if the return value was null, which could allow any thrift client to crash edenfs. This updates getMount() to throw if the path is not found, and never return null. Reviewed By: bolinfest Differential Revision: D4760527 fbshipit-source-id: 6cd9a1e3bc0a0a220d7f5fa518d497d37f245eff |
||
---|---|---|
.. | ||
oss | ||
__init__.py | ||
client.py | ||
DEFS | ||
eden.thrift | ||
EdenError.cpp | ||
EdenError.h | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
GlobNode.cpp | ||
GlobNode.h | ||
main.cpp | ||
PrettyPrinters.cpp | ||
PrettyPrinters.h | ||
streamingeden.thrift | ||
StreamingSubscriber.cpp | ||
StreamingSubscriber.h | ||
TARGETS |