← Back to context Comment by justincormack 1 year ago Most programming languages have array bounds checking now. 4 comments justincormack Reply oblio 1 year ago Most programming languages are written in C, which doesn't.Fairly sure that was OP's point. ryao 1 year ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 1 year ago And that again, is the point. That stuff should be built-in and almost non-negotiable. It should be a lot more work to do the unsafe thing (see: Rust). 1 reply →
oblio 1 year ago Most programming languages are written in C, which doesn't.Fairly sure that was OP's point. ryao 1 year ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 1 year ago And that again, is the point. That stuff should be built-in and almost non-negotiable. It should be a lot more work to do the unsafe thing (see: Rust). 1 reply →
ryao 1 year ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 1 year ago And that again, is the point. That stuff should be built-in and almost non-negotiable. It should be a lot more work to do the unsafe thing (see: Rust). 1 reply →
oblio 1 year ago And that again, is the point. That stuff should be built-in and almost non-negotiable. It should be a lot more work to do the unsafe thing (see: Rust). 1 reply →
Most programming languages are written in C, which doesn't.
Fairly sure that was OP's point.
Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly.
And that again, is the point. That stuff should be built-in and almost non-negotiable. It should be a lot more work to do the unsafe thing (see: Rust).
1 reply →