Files
semi-libc/src/env
jvoisinandRich Felker 74a28a8af2 protect stack canary from leak via read-as-string by zeroing second byte
This reduces entropy of the canary from 64-bit to 56-bit in exchange
for mitigating non-terminated C string overflows by setting the second
byte of the canary to nul, so that off-by-one write overflow with a
nul byte can still be detected.

Idea from GrapheneOS bionic commit 7024d880b51f03a796ff8832f1298f2f1531fd7b
2022-03-08 16:52:25 -05:00
..
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2018-09-12 14:34:37 -04:00
2019-08-08 11:33:18 -04:00
2018-09-12 14:34:37 -04:00