loader: validate relocation symbol index and segment file size #1369
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1369
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1369/head"
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?
@HamsterCL on GitHub · 2026-10-10 12:51 UTC · original
HamsterCL:fix/relocation-symbol-bounds→main· +5 −1 · 1 files · 1 commits · closed without mergingSummary
Small, self-contained change in `src/loader/runtimeLinker.cpp` (+6/-0 effectively), split out of the closed #1329.
@coderabbitai[bot] on GitHub · 2026-10-10 12:54 UTC · original · edited 2026-10-10 12:59 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
889affb4-5c51-4ddf-ae4e-ee7910507b5b📥 Commits
Reviewing files that changed from the base of the PR and between
307fdcf7adand948ef426a5.📒 Files selected for processing (1)
src/loader/runtimeLinker.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
📝 Walkthrough
Walkthrough
The loader rejects relocations when the dynamic symbol table is absent or the symbol index is out of bounds. It also rejects ELF load segments when the file size exceeds the memory size.
Suggested reviewers:
nmzikPriority: ➖ Normal
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
948efThe change adds bounds checks for malformed relocation and segment data. No concrete merge-blocking risk is established.
Pre-merge checks |
4 |
1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
#1329is closed and supplies historical context only. Therefore, this pull request has no active linked-issue coding requirements.src/loader/runtimeLinker.cpp: relocation symbol-table bounds checking andp_fileszversusp_memszchecking. These changes match the historical l…Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.Pull request closed