ia64: copy_from_user() should zero the destination on access_ok() failure
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 19 Aug 2016 01:31:41 +0000 (21:31 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 Nov 2016 01:01:38 +0000 (01:01 +0000)
commit6238800796e9581f7e3bbaed9c116f24110ce80a
tree5b5f4f0ffe44a51962ca965e85a7d5bd3d0bae81
parentd848857e80ab89474c7686d6a32d7ee594f0b706
ia64: copy_from_user() should zero the destination on access_ok() failure

commit a5e541f796f17228793694d64b507f5f57db4cd7 upstream.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[bwh: Backported to 3.2: no calls to check_object_size()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/ia64/include/asm/uaccess.h