Re:size_t-to-int vulnerability in Linux’s filesystem layer
by foobiekr on Tuesday July 20, 2021 @03:31PM
(#27898165)
I did a lot of C - a lot - in the mid-90s through the mid/late 2000s and have never seen any sizable C code base where explicit sizes were not the norm throughout - u_int32_t etc. I think this is not the problem, it's the implicit conversions.
But of course getting C programmers to use these integer types rather than the ones they grew up with isn't easy.