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

read/macho: handle invalid cmdsize and section align #516

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Feb 17, 2023

Closes #515

Without this a command size of zero means we never advance
self.data, which can result in a long time spent in a loop.
@philipc philipc merged commit d9c2291 into gimli-rs:master Feb 17, 2023
@philipc philipc deleted the issue-515 branch February 17, 2023 05:24
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.

Very long loop while parsing in MachOFile::parse
1 participant