Skip to content

fix(ci): validate Windows PE stack reserve at correct offset - #329

Merged
Karib0u merged 1 commit into
mainfrom
fix/windows-release-stack-verification
Aug 27, 2026
Merged

fix(ci): validate Windows PE stack reserve at correct offset#329
Karib0u merged 1 commit into
mainfrom
fix/windows-release-stack-verification

Conversation

@Karib0u

@Karib0u Karib0u commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the Windows release binary verification step that rejected the v1.4.0-rc.1 build.

The check read SizeOfStackReserve 48 bytes into the PE32+ optional header. The field starts at offset 72 and is 8 bytes wide, so the check read 0x6 from the subsystem version fields instead of the configured 0x1000000 stack reserve. The bounds check now covers the complete field too.

Failure: https://github.com/Karib0u/rustinel/actions/runs/33099209766/job/98613963790

Type of change

  • bug - bug fix
  • ci - CI and release changes

Test plan

  • git diff --check
  • Verified the corrected PE32+ offsets against the Microsoft PE format
  • Windows release workflow validation after merge

Checklist

  • Labels added to this PR
  • No application behavior changed

After this merges, the existing v1.4.0-rc.1 tag must be recreated on the fixed commit so the release workflow uses the corrected verification step.

@Karib0u Karib0u added bug Something isn't working ci CI/CD changes labels Aug 27, 2026
@Karib0u
Karib0u enabled auto-merge (squash) August 27, 2026 18:09
@Karib0u
Karib0u merged commit e965fa2 into main Aug 27, 2026
11 checks passed
@Karib0u
Karib0u deleted the fix/windows-release-stack-verification branch August 27, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci CI/CD changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant