Browse Source

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

Rich Felker 13 năm trước cách đây
mục cha
commit
63374ee233
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;