lkml.org 
[lkml]   [2020]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] KEYS: remove redundant memsets
Date
trix@redhat.com wrote:

> - if (copy_from_user(&uparams, _params, sizeof(uparams)) != 0)
> - return -EFAULT;
> -
> ret = keyctl_pkey_params_get(uparams.key_id, _info, params);

Erm... uparams is used on the very next statement after the copy_from_user().

David

\
 
 \ /
  Last update: 2020-07-22 10:03    [W:0.039 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site