Skip to content

Add complier flags to protect against stack smashing attack #64

@spaultownsend

Description

@spaultownsend

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions