Re:size_t-to-int vulnerability in Linux’s filesystem layer
by thayne on Tuesday July 20, 2021 @11:20PM
(#27901988)
The fact that c doesn't have a native concept of an array with length and strings usually use a null byte to determine the end is, IMO c's biggest failing, and it's worst legacy on the wider software world.
[ Parent
| on HN ]
Re:size_t-to-int vulnerability in Linux’s filesystem layer
by nextaccountic on Wednesday July 21, 2021 @12:47PM
(#27908673)
This and having any pointer implicitly be nullable