metag: copy_from_user() should zero the destination on access_ok() failure
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Aug 2016 02:08:20 +0000 (22:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 13 Sep 2016 21:49:40 +0000 (17:49 -0400)
commit8ae95ed4ae5fc7c3391ed668b2014c9e2079533b
tree0b001415a2d4ab39d8e165a63407b5dcfec394d5
parenta5e541f796f17228793694d64b507f5f57db4cd7
metag: copy_from_user() should zero the destination on access_ok() failure

Cc: stable@vger.kernel.org
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/metag/include/asm/uaccess.h