4 ms·
Because zero is not a correct value for all variables, and picking a random behavior over no behavior breaks ubsan. It also adds a data-dependency (zeroing out
by astrange 7y ago
Because zero is not a correct value for all variables, and picking a random behavior over no behavior breaks ubsan.
It also adds a data-dependency (zeroing out a stack buffer depends on the length of the buffer) which is insecure.