Skip to content

Skip empty PT_NOTE sections #413

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

Closed
wants to merge 1 commit into from
Closed

Skip empty PT_NOTE sections #413

wants to merge 1 commit into from

Conversation

Bo98
Copy link
Contributor

@Bo98 Bo98 commented Oct 10, 2022

Previous versions of patchelf prior to 0.12 could create empty PT_NOTE sections. For backwards compatibility reasons, we should not error on such binaries.

Fixes #400.

The included test requires #411 to be merged first. The test happens to cover both bugs.

Previous versions of patchelf prior to 0.12 could create empty PT_NOTE sections. For backwards compatibility reasons, we should not error on such binaries.

Fixes NixOS#400.
@Mic92
Copy link
Member

Mic92 commented Oct 26, 2022

Merged in #420

@Mic92 Mic92 closed this Oct 26, 2022
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.

patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
2 participants