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

Consider enabling stack-smash protection by default #45

Open
bjoernQ opened this issue Feb 29, 2024 · 1 comment
Open

Consider enabling stack-smash protection by default #45

bjoernQ opened this issue Feb 29, 2024 · 1 comment

Comments

@bjoernQ
Copy link
Collaborator

bjoernQ commented Feb 29, 2024

Since we support it, we could add "-Z", "stack-protector=all", to .cargo/config.toml to get stack-smash protection (and kind of stack overflow protection in our case). Probably with a hint like we use for forcing stack frames.

Otherwise, the feature is quite hard to discover (but will be mentioned in no-std training in a future PR)

@MabezDev
Copy link
Member

I think this is a good idea, the only down side is nightly is that is needed :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants