Skip to content

fix(elf): Fix potential out of bounds panic on invalid section offsets#1013

Merged
Dav1dde merged 1 commit into
masterfrom
dav1d/fix-out-of-bounds-panic
Jul 7, 2026
Merged

fix(elf): Fix potential out of bounds panic on invalid section offsets#1013
Dav1dde merged 1 commit into
masterfrom
dav1d/fix-out-of-bounds-panic

Conversation

@Dav1dde

@Dav1dde Dav1dde commented Jul 7, 2026

Copy link
Copy Markdown
Member

Fixes: INGEST-989

This returns None if there is a matching section but with incorrect offsets, which I think is reasonable. The alternative is to keep searching, but is it really expected to find another section with the same name but no broken offsets?

@Dav1dde Dav1dde requested a review from a team as a code owner July 7, 2026 08:49
@Dav1dde Dav1dde force-pushed the dav1d/fix-out-of-bounds-panic branch from 6704934 to 81d5e27 Compare July 7, 2026 08:51
@Dav1dde Dav1dde merged commit 977fa8d into master Jul 7, 2026
27 checks passed
@Dav1dde Dav1dde deleted the dav1d/fix-out-of-bounds-panic branch July 7, 2026 12:06
@linear-code

linear-code Bot commented Jul 7, 2026

Copy link
Copy Markdown

INGEST-989

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Fixes

- Fix potential out of bounds panic on invalid section offsets ([#1013](https://github.com/getsentry/symbolic/pull/1013))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 81d5e27

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.

2 participants