summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/alpha/linux_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/arch/alpha/linux_machdep.c')
-rw-r--r--sys/compat/linux/arch/alpha/linux_machdep.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/compat/linux/arch/alpha/linux_machdep.c b/sys/compat/linux/arch/alpha/linux_machdep.c
index 158debcbe4a..1f5c48fb3c4 100644
--- a/sys/compat/linux/arch/alpha/linux_machdep.c
+++ b/sys/compat/linux/arch/alpha/linux_machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.50 2014/11/09 17:48:07 maxv Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.50.24.1 2022/08/03 11:11:33 martin Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.50 2014/11/09 17:48:07 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.50.24.1 2022/08/03 11:11:33 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,6 +139,8 @@ setup_linux_rt_sigframe(struct trapframe *tf, const ksiginfo_t *ksi,
sig, &onstack, sfp);
#endif /* DEBUG */
+ memset(&sigframe, 0, sizeof(sigframe));
+
/*
* Build the signal context to be used by sigreturn.
*/
@@ -232,6 +234,8 @@ void setup_linux_sigframe(struct trapframe *tf, const ksiginfo_t *ksi,
sig, &onstack, sfp);
#endif /* DEBUG */
+ memset(&sigframe, 0, sizeof(sigframe));
+
/*
* Build the signal context to be used by sigreturn.
*/