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

mach: Segment::from_{32,64} may panic when segment data is invalid #74

Closed
codido opened this issue Jan 24, 2018 · 1 comment
Closed

Comments

@codido
Copy link

codido commented Jan 24, 2018

Both functions do not verify that fileoff and fileoff+filesize are within bytes range, which may result in a panic for invalid files.

@m4b
Copy link
Owner

m4b commented Jan 25, 2018

Yea... the mach o parser needs to be fuzzed. It’ll pop up a lot of random corner cases I’m sure.

@m4b m4b closed this as completed in 7a8f265 Jan 28, 2018
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

No branches or pull requests

2 participants