diff options
author | 2014-05-06 23:32:34 +0000 | |
---|---|---|
committer | 2014-05-06 23:32:34 +0000 | |
commit | 74fa18875271231e9dba5633bbc7dc87f158e9ec (patch) | |
tree | c3fd807ff1a27dfda0ed45a9e3de64632f53155e /lib/libc/regex/regexec.c | |
parent | factor out the safepath (diff) | |
download | wireguard-openbsd-74fa18875271231e9dba5633bbc7dc87f158e9ec.tar.xz wireguard-openbsd-74fa18875271231e9dba5633bbc7dc87f158e9ec.zip |
When the stack protector heuristics doesn't cover a function, leave
a little pointer-sized gap before the return value. This protects
from common off-by-one type of bugs and costs nothing: the attacker
won't be able to overwrite return pointer. Developed at m2k14,
thanks for the hackathon!
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions