News for hackers. Stuff that matters.
Re:This shouldn't have happened: A vulnerability postmortem by CJefferson on Thursday December 02, 2021 @04:56AM (#29414313)
The default [] for vector doesn't do bound checking, so I don't feel it helps they much.

One thing in practice I like about Rust over C++ is the "easy option" is safe, and you have to do things like write 'unsafe' to opt out of safety.

Certainly when teaching C++ I wish the defaults were safer. I can teach ".at", but it isn't what you see in most code / tutorials.

Re:This shouldn't have happened: A vulnerability postmortem by gpderetta on Thursday December 02, 2021 @08:19AM (#29415721)
-D_GLIBCXX_ASSERTIONS
Re:This shouldn't have happened: A vulnerability postmortem by pjmlp on Thursday December 02, 2021 @08:38AM (#29415923)
Good luck advocating for that on release code.