fix(linux): Guard module address arithmetic - #2064
Open
jpnurmi wants to merge 2 commits into
Open
Conversation
Validate mapping-relative offsets and lengths with subtraction so malformed ELF metadata cannot wrap a range check. Close: NATIVE-219
jpnurmi
force-pushed
the
jpnurmi/fix/module-address-bounds
branch
from
September 4, 2026 10:24
5fbd83c to
43cb29c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2064 +/- ##
==========================================
- Coverage 74.36% 74.28% -0.08%
==========================================
Files 103 103
Lines 26677 26681 +4
Branches 4855 4855
==========================================
- Hits 19838 19821 -17
- Misses 5503 5523 +20
- Partials 1336 1337 +1 🚀 New features to boost your workflow:
|
JoshuaMoelans
approved these changes
Sep 4, 2026
mujacica
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validate mapping-relative offsets and lengths with subtraction so malformed ELF metadata cannot wrap a range check.
Close: NATIVE-219