diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-10-10 15:18:28 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-10-17 10:27:11 +0200 |
commit | 15e6dcc0996234429f59c2c1d9dd314c3715a265 (patch) | |
tree | 42de06bcbad8dad5a01e4ef0827120b9fa9388a5 /src/buildtool/execution_api/execution_service/operation_cache.cpp | |
parent | 302c994ba3342a3227178ab9e86704bfdff29ffc (diff) | |
download | justbuild-15e6dcc0996234429f59c2c1d9dd314c3715a265.tar.gz |
just-mr fetch: Fix exception on fetched data hash mismatch
After successfully fetching data over the network for an archive,
if the optional checksums are not provided, the code will throw if
there is a mismatch between the hash of the fetched data stream
and the provided content hash.
This commit fixes the issue by adding an additional check which
properly handles the possible mismatch.
(cherry-picked from 9acaa7f60c88c97f58b757ffb6ce206f3f2953a2)
Diffstat (limited to 'src/buildtool/execution_api/execution_service/operation_cache.cpp')
0 files changed, 0 insertions, 0 deletions