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

Clear execstack, necessary for armhf builds, triggers review warning #229

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

kenvandine
Copy link
Member

No description provided.

Copy link

@jhenstridge jhenstridge left a comment

Choose a reason for hiding this comment

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

Context from discussions elsewhere: the libde265 library is marked as having an executable stack on armhf. This is probably due to the ARM assembly code in the library. There seems to have been an attempt to mark the code safe here, but for whatever reason it hasn't taken:

https://github.com/strukturag/libde265/blob/master/libde265/arm/asm.S#L62

On the x86 side is using SSE intrinsics in C code rather than assembly, so that doesn't really offer any clues.

Manually marking the library safe seems like a reasonable way of dealing with the automated review failure. Worst case is it causes apps using the library to segfault on armhf if it indeed tries to execute code off the stack.

@kenvandine kenvandine merged commit ab0198f into gnome-46-2404-sdk Jul 9, 2024
1 check passed
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.

2 participants