News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by chlorion on Tuesday July 11, 2023 @10:54PM (#36689942)
printf and similar stdio string formatting functions have caused a non-trivial amount of security exploits.

If the compiler can statically check that your format string is valid and type checks, you can prevent this entire class of exploits.

https://en.wikipedia.org/wiki/Printf#Vulnerabilities

There are no comments on this comment yet.