[core] AliasRegionExtraSize Bug Fix: Update data type and swap operands to avoid underflow in some situations #22

Merged
sdkchan merged 1 commit from kernel-fix into main 2025-08-14 16:07:37 +00:00
Collaborator

Fix a bug where I accidentally subtracted the smaller value from the bigger run, resulting in potential underflows.
size_t seems to be defined as u64 so for consistency, I decided to change the data type of baseline as well.

Fix a bug where I accidentally subtracted the smaller value from the bigger run, resulting in potential underflows. size_t seems to be defined as u64 so for consistency, I decided to change the data type of baseline as well.
[core] Update data type and swap operands to avoid underflow in some situations
Some checks failed
codespell / Check for spelling errors (pull_request) Has been cancelled
c65ba8350b
sdkchan deleted branch kernel-fix 2025-08-14 16:07:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Bix/yuzu!22
No description provided.