Skip to content

Commit d5e844b

Browse files
Panic on stack protector crash instead of exit (#2955)
Newlib has a stack protector fail handler which write(2)s a message to STDERR which doesn't work here. Override with a call to panic(). Tell GCC to protect all functions for stack protection instead of ones that it heuristically decides need protection. Slower but safer, and only when stack protection is enabled.
1 parent de7f1a7 commit d5e844b

File tree

4 files changed

+137
-128
lines changed

4 files changed

+137
-128
lines changed

0 commit comments

Comments
 (0)