News for hackers. Stuff that matters.
Re:size_t-to-int vulnerability in Linux’s filesystem layer by TheCycoONE on Tuesday July 20, 2021 @08:50PM (#27901043)
Sorry, I'm not sure how this is a problem. On segmented architectures size_t is smaller than uintptr_t, but that just means there needs to be an allocation limit < usize::max_value.

It would have cause more bugs if they defined it the other way and people used usize to store addresses.

There are no comments on this comment yet.