fat: fix stack imbalance on fatal hd_extend_file error #631

Open
Leency wants to merge 1 commits from fat-fix-stack-imbalance into main
Owner

The FAT/device error path in fat_Write jumped to the shared one-dword
epilogue with four dwords live, so ret returned into the error-code
slot and faulted in ring 0. Give the path its own named label.

The FAT/device error path in fat_Write jumped to the shared one-dword epilogue with four dwords live, so ret returned into the error-code slot and faulted in ring 0. Give the path its own named label.
Leency added 1 commit 2026-08-04 09:41:33 +00:00
fat: fix stack imbalance on fatal hd_extend_file error
Check kernel codestyle / Check kernel codestyle (pull_request) Successful in 20s
Test PR / Build (en_US) (pull_request) Successful in 2m5s
Test PR / Build (ru_RU) (pull_request) Successful in 2m7s
Test PR / Build (es_ES) (pull_request) Successful in 2m10s
c720726d50
The FAT/device error path in fat_Write jumped to the shared one-dword
epilogue with four dwords live, so ret returned into the error-code
slot and faulted in ring 0. Give the path its own named label.
Leency requested review from Doczom 2026-08-04 09:41:50 +00:00
Leency requested review from dunkaist 2026-08-04 09:41:51 +00:00
Burer approved these changes 2026-09-07 17:28:43 +00:00
All checks were successful
Check kernel codestyle / Check kernel codestyle (pull_request) Successful in 20s
Test PR / Build (en_US) (pull_request) Successful in 2m5s
Required
Details
Test PR / Build (ru_RU) (pull_request) Successful in 2m7s
Required
Details
Test PR / Build (es_ES) (pull_request) Successful in 2m10s
Required
Details
This pull request doesn't have enough required approvals yet. 1 of 2 official approvals granted.
This pull request is blocked because it's outdated.
You are not authorized to merge this pull request.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fat-fix-stack-imbalance:fat-fix-stack-imbalance
git checkout fat-fix-stack-imbalance
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#631