Comment by justincormack 2 months ago Most programming languages have array bounds checking now. 4 comments justincormack Reply oblio 2 months ago Most programming languages are written in C, which doesn't.Fairly sure that was OP's point. ryao 2 months ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 2 months 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 2 months ago Most programming languages are written in C, which doesn't.Fairly sure that was OP's point. ryao 2 months ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 2 months 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 2 months ago Secure string handling functions like strlcpy() and strlcat() do have bounds checks. Not everyone uses them sadly. oblio 2 months 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 2 months 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 →