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

Fix an edge case in .to_win32pe #18094

Merged
merged 1 commit into from
Jun 15, 2023

Commits on Jun 13, 2023

  1. Fix an edge case in .to_win32pe

    When the entry point is after the payload, there woud occassionally be
    cases where `poff` and `eidx` to be invalid, causing `entry` to be
    truncated. `poff` should never be negative and `eidx` should reserve the
    256 bytes that `entry` may occupy.
    zeroSteiner committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    c414832 View commit details
    Browse the repository at this point in the history