Fix the PE relocation block validation #395
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!395
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-395"
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?
@meshahid973 on GitHub · 2026-11-26 08:49 UTC · original
meshahid973:main→main· +166 −65 · 3 files · 1 commits · openLibrary / area: tombox-pe
Exports changed: None
Source of the behaviour: PE/COFF specification and existing parser bounds checks.
Adds relocation block validation to reject invalid sizes, truncated data and RVA overflows, with regression tests.
AI-assisted
cargo test -p tombox-pepassesView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.