[fs] Fix integrity check validation for new updates #395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "improve-integrity-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes the integrity check validation for new updates.
New commits pushed, approval review dismissed automatically according to repository settings
[fs] Improve integrity check validation codeto WIP: [fs] Improve integrity check validation codeWIP: [fs] Improve integrity check validation codeto [fs] Improve integrity check validation code0522fe79ff
to4561991933
[fs] Improve integrity check validation codeto [fs] Fix integrity check validation for new updates@ -1051,8 +1051,8 @@ Result NcaFileSystemDriver::CreatePatchMetaStorage(
ASSERT(out_aes_ctr_ex_meta != nullptr);
ASSERT(out_indirect_meta != nullptr);
ASSERT(base_storage != nullptr);
ASSERT(patch_info.HasAesCtrExTable());
What's this for?
These two asserts are not needed at this point in the code.
@ -1336,3 +1336,2 @@
}
storage_info.SetDataStorage(std::make_shared<OffsetVfsFile>(
std::move(base_storage), layer_info.size, last_layer_info_offset));
storage_info[level_hash_info.max_layers - 1] = std::make_shared<OffsetVfsFile>(
Seems interesting, what's in SetDataStorage that caused issues?
This is something I will look into further when I have more time. It's safe for now.