Skip to content

fix(unwind): prevent section table size overflow - #2028

Open
jpnurmi wants to merge 2 commits into
masterfrom
jpnurmi/fix/libunwind-section-table-overflow
Open

fix(unwind): prevent section table size overflow#2028
jpnurmi wants to merge 2 commits into
masterfrom
jpnurmi/fix/libunwind-section-table-overflow

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Calculate malformed ELF section table bounds without overflowing the promoted header fields or their offset sum.

Fixes: https://github.com/getsentry/sentry-native/security/code-scanning/5

Calculate malformed ELF section table bounds without overflowing the
promoted header fields or their offset sum. Document the local source
modification so it is preserved during vendor updates.

Fixes: https://github.com/getsentry/sentry-native/security/code-scanning/5
@codecov

codecov Bot commented Aug 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.45%. Comparing base (34a94d5) to head (1c306b2).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2028      +/-   ##
==========================================
+ Coverage   68.67%   74.45%   +5.77%     
==========================================
  Files          91      104      +13     
  Lines       22926    26619    +3693     
  Branches     4114     4844     +730     
==========================================
+ Hits        15745    19819    +4074     
- Misses       5075     5451     +376     
+ Partials     2106     1349     -757     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant