commit | 08ac15d0e46bddb8dc9ae9bd939e844d7c2451b9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Aug 17 16:36:37 2016 -0400 |
committer | Sasha Levin <alexander.levin@verizon.com> | Sun Oct 02 20:32:37 2016 -0400 |
tree | 151231c70705082f885fc435273edba6d417a58b | |
parent | ca79a8dbf9345058f26305c263dd871ae8d80dfe [diff] |
asm-generic: make copy_from_user() zero the destination properly [ Upstream commit 2545e5da080b4839dd859e3b09343a884f6ab0e3 ] ... in all cases, including the failing access_ok() Note that some architectures using asm-generic/uaccess.h have __copy_from_user() not zeroing the tail on failure halfway through. This variant works either way. Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>