Skip to content

fix: avoid offset overflow reading the ELF dynamic table - #42

Merged
dRafaleD merged 1 commit into
masterfrom
elf-dynamic-overflow
Oct 26, 2026
Merged

dRafaleD merged 1 commit into
masterfrom
elf-dynamic-overflow

Conversation

@dRafaleD

Copy link
Copy Markdown
Owner

The file_inspect fuzz smoke job found a panic at elf.rs:401: offset + 8 overflowed when the PT_DYNAMIC offset sat near usize::MAX. The value offset is now computed with checked_add, and a regression test builds such a header. This was already on master; it blocks the CI of #41.

@dRafaleD
dRafaleD merged commit 3e2bb45 into master Oct 26, 2026
28 checks passed
@dRafaleD
dRafaleD deleted the elf-dynamic-overflow branch October 26, 2026 14:17
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