Przeglądaj źródła

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

Rich Felker 13 lat temu
rodzic
commit
63374ee233
1 zmienionych plików z 2 dodań i 0 usunięć
  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;