Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: