commit | eb47e0293baaa3044022059f1fa9ff474bfe35cb | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Aug 18 19:34:00 2016 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 13 17:49:38 2016 -0400 |
tree | 57a5ea580ba8fbde5940a7bc48db340b7b4e2fc8 | |
parent | 9ad18b75c2f6e4a78ce204e79f37781f8815c0fa [diff] |
cris: buggered copy_from_user/copy_to_user/clear_user * copy_from_user() on access_ok() failure ought to zero the destination * none of those primitives should skip the access_ok() check in case of small constant size. Cc: stable@vger.kernel.org Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>