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

archive: fix TOC entry alignment in PKG/CArchive #7571

Merged
merged 1 commit into from
Apr 14, 2023

Commits on Apr 14, 2023

  1. archive: fix TOC entry alignment in PKG/CArchive

    The archive writers clean-up in pyinstaller#7518 introduced a subtle bug that
    causes incorrect padding of TOC entries that require no padding;
    such entries receive padding of the previously-processed entry.
    
    This in turn breaks 16-byte alignment of the TOC entries, causing
    bus error when running executables on platforms with stricter
    data alignment requirements, for example armhf (32-bit Raspbian OS).
    rokm committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2278b9d View commit details
    Browse the repository at this point in the history