Re:Imaginary Problems Are the Root of Bad Software
by lmm on Sunday June 18, 2023 @06:46PM
(#36385319)
"Newer versions of the compiler build your code with security vulnerabilities" is a very real problem in C. E.g. since x86_64 has no aligned memory access instructions, a lot of programmers assume there's nothing wrong with doing unaligned memory accesses, but actually recent gcc/clang will happily compile those into RCE vulnerabilities.
Unless you're working on something like the Linux kernel, that's an imaginary problem.