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

Added sanity check for page index when loading pages from broken samples #1120

Merged
merged 3 commits into from
Nov 7, 2022

Conversation

metthal
Copy link
Member

@metthal metthal commented Nov 2, 2022

There are certain samples where page index might go beyond available pages when trying to load them which will be prevented with this patch.

There are certain samples where page index might go beyond available
pages when trying to load them which will be prevented with this patch.
@ladislav-zezula
Copy link
Contributor

I added proper handling. Also, retdec-fileinfo now reports loader error properly.

@metthal
Copy link
Member Author

metthal commented Nov 3, 2022

LGTM

@metthal metthal merged commit 0c505b4 into master Nov 7, 2022
@metthal metthal deleted the image-loader-page-size-sanity-check branch November 7, 2022 00:38
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