make stack protector work with gcc configured for non-tls canary
This commit is contained in:
parent
28c5d46d84
commit
63374ee233
1 changed files with 2 additions and 0 deletions
2
src/env/__stack_chk_guard.c
vendored
Normal file
2
src/env/__stack_chk_guard.c
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#include <inttypes.h>
|
||||
uintptr_t __stack_chk_guard = 0xdecafbad;
|
||||
Loading…
Add table
Add a link
Reference in a new issue