4 ms·
> 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
by slavik81 4y 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.
- pjmlp 4y agoIt 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.