diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2019-10-17 20:39:18 +0100 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-06 00:04:03 -0500 |
| commit | a16a47416d3f4f78dd8766e3278459ead45d6193 (patch) | |
| tree | 5cafe0dc091aa5cae8b98206d6996ff4c099def9 /tools/perf/scripts/python/bin | |
| parent | scsi: fnic: fix use after free (diff) | |
| download | linux-a16a47416d3f4f78dd8766e3278459ead45d6193.tar.gz linux-a16a47416d3f4f78dd8766e3278459ead45d6193.zip | |
scsi: sg: sg_ioctl(): fix copyout handling
First of all, __put_user() can fail with access_ok() succeeding. And
access_ok() + __copy_to_user() is spelled copy_to_user()...
__put_user() *can* fail with access_ok() succeeding...
Link: https://lore.kernel.org/r/20191017193925.25539-1-viro@ZenIV.linux.org.uk
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
