Selaa lähdekoodia

make stack protector work with gcc configured for non-tls canary

Rich Felker 13 vuotta sitten
vanhempi
sitoutus
63374ee233
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/env/__stack_chk_guard.c

+ 2 - 0
src/env/__stack_chk_guard.c

@@ -0,0 +1,2 @@
+#include <inttypes.h>
+uintptr_t __stack_chk_guard = 0xdecafbad;