[fs] Fix integrity check validation for new updates #395

Merged
crueter merged 16 commits from improve-integrity-check into master 2025-09-12 16:02:13 +02:00
Member

This fixes the integrity check validation for new updates.

This fixes the integrity check validation for new updates.
MaranBr added 1 commit 2025-09-08 20:07:47 +02:00
Improve integrity check validation code
Some checks failed
eden-license / license-header (pull_request) Failing after 39s
a03abd15e9
MaranBr added 1 commit 2025-09-08 20:15:43 +02:00
Organize some things
All checks were successful
eden-license / license-header (pull_request) Successful in 32s
9480c0d22d
MaranBr added 1 commit 2025-09-08 20:32:30 +02:00
Fix build
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
8826a619f8
MaranBr added 1 commit 2025-09-08 21:53:49 +02:00
Restore old behavior
All checks were successful
eden-license / license-header (pull_request) Successful in 32s
bc060aa1f8
crueter approved these changes 2025-09-08 22:13:58 +02:00
Dismissed
MaranBr added 1 commit 2025-09-09 16:48:23 +02:00
Avoid crashes when installing new updates
All checks were successful
eden-license / license-header (pull_request) Successful in 33s
856b1ab5b8
MaranBr dismissed crueter's review 2025-09-09 16:48:23 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

MaranBr changed title from [fs] Improve integrity check validation code to WIP: [fs] Improve integrity check validation code 2025-09-09 16:49:44 +02:00
MaranBr added 1 commit 2025-09-09 17:16:57 +02:00
Fix build
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
64066e2eb9
MaranBr added 1 commit 2025-09-09 20:22:07 +02:00
Adjust some things
All checks were successful
eden-license / license-header (pull_request) Successful in 36s
0522fe79ff
MaranBr changed title from WIP: [fs] Improve integrity check validation code to [fs] Improve integrity check validation code 2025-09-09 20:22:16 +02:00
crueter force-pushed improve-integrity-check from 0522fe79ff to 4561991933 2025-09-09 20:48:28 +02:00 Compare
MaranBr added 9 commits 2025-09-09 21:03:08 +02:00
Improve integrity check validation code
Some checks failed
eden-license / license-header (pull_request) Failing after 39s
a03abd15e9
Organize some things
All checks were successful
eden-license / license-header (pull_request) Successful in 32s
9480c0d22d
Fix build
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
8826a619f8
Restore old behavior
All checks were successful
eden-license / license-header (pull_request) Successful in 32s
bc060aa1f8
Avoid crashes when installing new updates
All checks were successful
eden-license / license-header (pull_request) Successful in 33s
856b1ab5b8
Fix build
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
64066e2eb9
Adjust some things
All checks were successful
eden-license / license-header (pull_request) Successful in 36s
0522fe79ff
Ready to merge
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
0b69742b3b
MaranBr changed title from [fs] Improve integrity check validation code to [fs] Fix integrity check validation for new updates 2025-09-09 21:09:59 +02:00
crueter approved these changes 2025-09-10 02:24:11 +02:00
Dismissed
@ -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());
Owner

What's this for?

What's this for?
Author
Member

These two asserts are not needed at this point in the code.

These two asserts are not needed at this point in the code.
MaranBr marked this conversation as resolved
@ -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>(
Owner

Seems interesting, what's in SetDataStorage that caused issues?

Seems interesting, what's in SetDataStorage that caused issues?
Author
Member

This is something I will look into further when I have more time. It's safe for now.

This is something I will look into further when I have more time. It's safe for now.
MaranBr marked this conversation as resolved
Shinmegumi approved these changes 2025-09-12 15:58:22 +02:00
crueter approved these changes 2025-09-12 16:02:07 +02:00
crueter merged commit 3fbfd64722 into master 2025-09-12 16:02:13 +02:00
crueter deleted branch improve-integrity-check 2025-09-12 16:02:13 +02:00
Sign in to join this conversation.
No description provided.