News for hackers. Stuff that matters.
Re:The NSA advises move to memory-safe languages by natsucks on Tuesday December 12, 2023 @10:06AM (#38613093)
"In attempts to mitigate the dangers of memory unsafe code in C and C++, many software manufacturers invest in training programs for their developers. Many of these training programs include tactics designed to reduce the prevalence of memory unsafe vulnerabilities produced by those languages. Additionally, there are numerous commercial and industry trade association training programs. Further, various organizations and universities offer trainings and a professional certificate for demonstrating knowledge of secure coding practices in C and C++. While training can reduce the number of vulnerabilities a coder might introduce, given how pervasive memory safety defects are, it is almost inevitable that memory safety vulnerabilities will still occur. Even the most experienced developers write bugs that can introduce significant vulnerabilities. Training should be a bridge while an organization implements more robust technical controls, such as memory safe languages."
Re:The NSA advises move to memory-safe languages by avgcorrection on Tuesday December 12, 2023 @10:35AM (#38613508)
But what’s your point? Do we expect each other to read the submission (the report) or something? :)
Re:The NSA advises move to memory-safe languages by manishsharan on Tuesday December 12, 2023 @10:23AM (#38613338)
Does the training go beyond showing them how to use Valgrind ?
Re:The NSA advises move to memory-safe languages by ARandomerDude on Tuesday December 12, 2023 @10:44AM (#38613653)
How to quit vim.
Re:The NSA advises move to memory-safe languages by tempmac on Tuesday December 12, 2023 @11:09AM (#38614084)
long-press power button
Re:The NSA advises move to memory-safe languages by hansvm on Tuesday December 12, 2023 @11:18AM (#38614210)
I can see why that would sometimes work, but the better preconfigured vim installations have a long-press of the power button remapped to a 911 call, in case the user has fallen unconscious onto the keyboard and needs medical attention.
Re:The NSA advises move to memory-safe languages by pjot on Tuesday December 12, 2023 @11:29AM (#38614370)
killall -9 vim
Re:The NSA advises move to memory-safe languages by jmclnx on Tuesday December 12, 2023 @12:56PM (#38615779)
>"In attempts to mitigate the dangers of memory unsafe code in C and C++, many software manufacturers invest in training programs for their developers

I have seen that too over the years and even been to a couple when I went to other companies, 99% of the time these classes are worthless and consists of marketing drivel. Half the class contains statements like "You can do it the hard way, or the easy way if you purchase ....".

One instructor even stated "You do not need to worry about running out of memory, allocate as much as you want". That class was 20+ years ago. After that I told my manager I will not go to any more vendor classes.

The training I am referring to is by experienced peers and goes on for many months where your work is reviewed in detail, 1 line at a time with you there. That use to happen decades ago, now no more.