[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#639919: linux-2.6: please enable DEBUG_STRICT_USER_COPY_CHECKS



On dim., 2012-06-03 at 01:08 +0100, Ben Hutchings wrote:
> So sizeof(s) == 4 and count <= 3,

How do you know that? From the call stack?

>  but the compiler is still too stupid
> to avoid generating a conditional call to copy_from_user_overflow().
> And this would break the build if we did what you're asking.

Well, I think the point is to manage to fix those (if it's now the
default upstream, I guess there will be some more visibility and people
trying to fix them).

I still think it's useful to catch those at compile time instead of at
runtime.

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: