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

Add complier flags to protect against stack smashing attack #64

Open
spaultownsend opened this issue Oct 19, 2023 · 0 comments
Open

Add complier flags to protect against stack smashing attack #64

spaultownsend opened this issue Oct 19, 2023 · 0 comments

Comments

@spaultownsend
Copy link

First of all, thank you for providing a very nice library!

During a security review, it was noted that the Amplituda native libraries could be susceptible to a stack smashing attack.

It is possible to build in protection against this by adding some compiler flags. Specifically by adding the complier flags: -fstack-protector-all, -fpic, and -fstack-protector-strong.

Our ask: Create a new release of Amplituda with the native c/c++ code compiled with the above flags.

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

No branches or pull requests

1 participant