diff options
author | 2018-05-19 15:20:49 +0200 | |
---|---|---|
committer | 2018-05-19 15:20:49 +0200 | |
commit | 95b5c0a592c712496dce6c1ed772d5f9026b5ed3 (patch) | |
tree | ef00485760be3388bafc2eed41da185fb8a4858a /kernel/compat.c | |
parent | x86/MCE: Fix stack out-of-bounds write in mce-inject.c: Flags_read() (diff) | |
parent | x86/MCE/AMD: Cache SMCA MISC block addresses (diff) | |
download | wireguard-linux-95b5c0a592c712496dce6c1ed772d5f9026b5ed3.tar.xz wireguard-linux-95b5c0a592c712496dce6c1ed772d5f9026b5ed3.zip |
Merge branch 'ras/urgent' into ras/core
Pick up urgent fix as pending patch depends on it.
Diffstat (limited to 'kernel/compat.c')
-rw-r--r-- | kernel/compat.c | 1 |
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; |