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