Dan Carpenter writes:
> On Wed, Sep 12, 2012 at 08:06:16AM -0700, Kees Cook wrote:
>> Caught by smatch:
>> kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT
>> instead of the bytes remaining?
>>
>> Clean up the copy_from_user() call to not report a positive value.
>>
Dan Carpenter dan.carpen...@oracle.com writes:
On Wed, Sep 12, 2012 at 08:06:16AM -0700, Kees Cook wrote:
Caught by smatch:
kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT
instead of the bytes remaining?
Clean up the copy_from_user() call to not report a positive
On Wed, Sep 12, 2012 at 08:06:16AM -0700, Kees Cook wrote:
> Caught by smatch:
> kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT
> instead of the bytes remaining?
>
> Clean up the copy_from_user() call to not report a positive value.
> With this patch, init_module()
Caught by smatch:
kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT instead
of the bytes remaining?
Clean up the copy_from_user() call to not report a positive value.
With this patch, init_module() will report errors from copy_from_user
(before it would always only report
Caught by smatch:
kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT instead
of the bytes remaining?
Clean up the copy_from_user() call to not report a positive value.
With this patch, init_module() will report errors from copy_from_user
(before it would always only report
On Wed, Sep 12, 2012 at 08:06:16AM -0700, Kees Cook wrote:
Caught by smatch:
kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT
instead of the bytes remaining?
Clean up the copy_from_user() call to not report a positive value.
With this patch, init_module() will
6 matches
Mail list logo