Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for ELF damage #1036

Merged
merged 2 commits into from
Nov 2, 2021
Merged

Check for ELF damage #1036

merged 2 commits into from
Nov 2, 2021

Conversation

HoundThe
Copy link
Member

Addition of very simple damage check - looking if the LOAD segments offset + filesize fits into the file.

Copy link
Collaborator

@PeterMatula PeterMatula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also add one regression test for this?

src/fileformat/file_format/elf/elf_format.cpp Outdated Show resolved Hide resolved
src/fileformat/file_format/elf/elf_format.cpp Show resolved Hide resolved
@PeterMatula PeterMatula merged commit 122887a into avast:master Nov 2, 2021
PeterMatula added a commit that referenced this pull request Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants