14
C can be memory-safe (2023) (blog.erratasec.com)
you are viewing a single comment's thread
view the rest of the comments
[-] Cratermaker@discuss.tchncs.de 24 points 2 years ago

I don't speak C, but isn't this an extreme simplification of the issue? I thought memory could be abused in an almost infinite number of subtle ways outside of allocating it wrong. For example, improperly sanitized string inputs. I feel like if it were this easy, it would have been done decades ago.

load more comments (3 replies)
this post was submitted on 25 Mar 2024
14 points (68.4% liked)

C Programming Language

1366 readers
3 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

founded 3 years ago
MODERATORS