diff options
author | 2016-05-30 02:11:21 +0000 | |
---|---|---|
committer | 2016-05-30 02:11:21 +0000 | |
commit | cc967db6e30ac1199c12405e9dd99edbe54f7879 (patch) | |
tree | 93ae7e4262267f62a18c2a3bab1149bba18317f5 /lib/libc/stdlib/reallocarray.c | |
parent | Do setjmp cookies for gp, sp, and ra (diff) | |
download | wireguard-openbsd-cc967db6e30ac1199c12405e9dd99edbe54f7879.tar.xz wireguard-openbsd-cc967db6e30ac1199c12405e9dd99edbe54f7879.zip |
Do setjmp cookies for eip, esp, and ebp. For bonus points, mix how
the cookies are used in setjmp/_setjmp/sigsetjmp so that mixing
calls (e.g., longjmp on a _setjmp buffer) will scramble all three
registers and jump you to a random location on a random stack!
ok deraadt@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions