aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-05-14 09:02:14 +0200
committerIngo Molnar <mingo@kernel.org>2018-05-14 09:02:14 +0200
commitdfd5c3ea641b1697333e5f6704e4e5dddfafe86b (patch)
tree5eab12757acaec0f7ff07a48f4b66140b78eb969 /kernel/compat.c
parentsched/core: Don't schedule threads on pre-empted vCPUs (diff)
parentLinux 4.17-rc5 (diff)
downloadwireguard-linux-dfd5c3ea641b1697333e5f6704e4e5dddfafe86b.tar.xz
wireguard-linux-dfd5c3ea641b1697333e5f6704e4e5dddfafe86b.zip
Merge tag 'v4.17-rc5' into sched/core, to pick up fixes and dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/compat.c')
-rw-r--r--kernel/compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 6d21894806b4..92d8c98c0f57 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -34,6 +34,7 @@ int compat_get_timex(struct timex *txc, const struct compat_timex __user *utp)
{
struct compat_timex tx32;
+ memset(txc, 0, sizeof(struct timex));
if (copy_from_user(&tx32, utp, sizeof(struct compat_timex)))
return -EFAULT;