From ed25b0f77690abe1f04e4cdcb284b7e17208d169 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 9 May 2025 18:07:21 +0200 Subject: 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. --- src/buildtool/execution_engine/executor/executor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') 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; } -- cgit v1.2.3