Validate PE relocation blocks #25

Open
meshahid973 wants to merge 1 commit from upstream-pr/25 into main
meshahid973 commented 2026-11-26 12:17:02 +00:00 (Migrated from git.gtahub.st)

Imported from TaynanGT/Vice-Tay-v2. Originally posted by meshahid973 on 2026-11-26T12:17:02Z.


@⁠meshahid973 on GitHub · 2026-11-26 12:14 UTC · original
meshahid973:fix-relocation-bounds → main · +142 −31 · 1 files · 1 commits · open

Rejects the malformed relocation blocks, truncated data and overflowing RVAs. Includes regression tests.

Tested on Windows with cargo test -p victory-loader --locked. All 45 tests passed.

<!-- greyfinch-sync:TaynanGT/Vice-Tay-v2:issue:12484 --> Imported from [TaynanGT/Vice-Tay-v2](https://git.gtahub.st/github/TaynanGT--Vice-Tay-v2/pulls/25). Originally posted by [meshahid973](https://github.com/meshahid973) on 2026-11-26T12:17:02Z. --- **@⁠meshahid973** on GitHub · 2026-11-26 12:14 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/25) `meshahid973:fix-relocation-bounds` → `main` · +142 −31 · 1 files · 1 commits · open Rejects the malformed relocation blocks, truncated data and overflowing RVAs. Includes regression tests. Tested on Windows with cargo test -p victory-loader --locked. All 45 tests passed.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/25:upstream-pr/25'
git switch 'upstream-pr/25'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/25'
git switch 'upstream-pr/25'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/25'
git switch 'upstream-pr/25'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/25'
git switch 'main'
git merge --squash 'upstream-pr/25'
git switch 'main'
git merge --ff-only 'upstream-pr/25'
git switch 'main'
git merge 'upstream-pr/25'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
TaynanGT/Vice-Tay-v2!25
No description provided.