News for hackers. Stuff that matters.
Re:The C23 edition of Modern C is now available for free by sdk77 on Wednesday October 16, 2024 @07:15AM (#41857792)
The thing is though that even with array bounds checking built into the language, out of bounds access due to programming error can still be attempted. Only this time it's safer because an attacker can't use the bug (which still exists) to access memory outside of bounds. In any case, the program still doesn't work as intended (has bugs) because the programmer has attempted, or allowed the attempt, to access out of bounds memory.

Writing safe code is better than depending on safety features. Writing safe code is possible in any programming language, the only things required are good design principles and discipline (i.e. solid engineering).

Re:The C23 edition of Modern C is now available for free by WalterBright on Wednesday October 16, 2024 @02:36PM (#41862256)
In practice in C, that does not work because array overflow bugs are still the #1 bug in shipped C code, by a wide margin.