linux/include/asm-generic/uaccess.h
Al Viro f13847df64 asm-generic: make get_user() clear the destination on errors
[ Upstream commit 9ad18b75c2 ]

both for access_ok() failures and for faults halfway through

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
2016-10-05 22:40:20 -04:00

354 lines
7.8 KiB