Hacker News new | ask | show | jobs
by slavik81 1298 days ago
> I propose that C++ initialize all stack variables to zero, preventing ~10% of CVEs.

This can be done by compilers without any change to the language standard.

1 comments

It can, but then most don't use it, even though Windows and Android have proven you can ship that into production with hardly any noticeble performance loss.