]> git.hungrycats.org Git - linux/commit
asm-generic: make get_user() clear the destination on errors
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 18 Aug 2016 03:19:01 +0000 (23:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Sep 2016 08:09:39 +0000 (10:09 +0200)
commitcf4c19264e9b9c01b9d57fdc859f0e9aa5d138a5
treede5cf330c75fb174cbc9566960c5bd12f3843e42
parent42526dffda06eb2d8d4239f8cabd9fb09f84c9f2
asm-generic: make get_user() clear the destination on errors

commit 9ad18b75c2f6e4a78ce204e79f37781f8815c0fa upstream.

both for access_ok() failures and for faults halfway through

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/asm-generic/uaccess.h