Re:OpenSSL Security Advisory
by steveklabnik on Tuesday May 03, 2016 @01:36PM
(#11622673)
Web browsers use modern C++ and still have security issues. It's a step forward, but not a panacea.
[ Parent
| on HN ]
to what extent? i imagine the codebases are quite...mature. and gigantic.
Everywhere. We have been using smart pointers for a long time.
Modern C++ doesn't add any memory safety protection beyond that which was already available with custom smart pointers in earlier versions of C++. In fact, I think modern C++ is less safe than earlier versions, due to new classes of potential bugs like use-after-move and the ease with which closed-over variable references in lambdas can become dangling.