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

PE: import directory can have null size (but not a null pointer) #341

Merged
merged 2 commits into from
Aug 5, 2021

Conversation

daladim
Copy link
Contributor

@daladim daladim commented Aug 3, 2021

Closes #340

In case that's an acceptable solution.

This can correctly parse the imports of simple.exe (see the issue), but I'm not sure it does not break things elsewhere yet (it looks OK on my use cases, but I haven't tested it extensively yet)

@daladim daladim changed the title PE: import director can have null size (but not a null pointer) PE: import directory can have null size (but not a null pointer) Aug 4, 2021
@daladim daladim force-pushed the pe_null_size_directories branch from 3d844a3 to d878d3e Compare August 4, 2021 08:52
Copy link
Contributor

@philipc philipc left a comment

Choose a reason for hiding this comment

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

Thanks!

@philipc philipc merged commit 69776ec into gimli-rs:master Aug 5, 2021
@daladim daladim deleted the pe_null_size_directories branch September 10, 2021 15:27
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
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.

PE: unable to parse imports with a null directory size
2 participants