summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-05-09 18:07:21 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-06-04 14:34:44 +0200
commited25b0f77690abe1f04e4cdcb284b7e17208d169 (patch)
treecbbd2988aad894a3444b1bae047577dad24b0ecc /src/buildtool/execution_engine/executor/executor.hpp
parent811e9be4cc9604dba3d768639444c0d9f849a3c7 (diff)
downloadjustbuild-ed25b0f77690abe1f04e4cdcb284b7e17208d169.tar.gz
RepositoryConfig: Ensure consistency in reading blobs and trees
...with respect to rejecting invalid entries such as upwards symlinks. Also ensure that valid trees are only checked once by remebering known valid tress though marker files in local storage.
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index d47397f0..e38a656f 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -486,7 +486,7 @@ class ExecutorImpl {
}
if (not blob) {
// try to obtain blob from global Git CAS, if any
- blob = repo_config->ReadBlobFromGitCAS(hash);
+ blob = repo_config->ReadBlobFromGitCAS(hash, /*is_symlink=*/false);
}
return blob;
}