Re:size_t-to-int vulnerability in Linux’s filesystem layer
by nly on Tuesday July 20, 2021 @01:18PM
(#27896498)
They can't warn by default, because on some platforms long->int isnt a narrowing conversion.
[ Parent
| on HN ]
Re:size_t-to-int vulnerability in Linux’s filesystem layer
by aaronmdjones on Tuesday July 20, 2021 @01:40PM
(#27896746)
The compiler knows what platform it's compiling the code for, though.