Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/arch/i386/i386 Pull up the following revision, reques...
details: https://anonhg.NetBSD.org/src/rev/53f1010a9f08
branches: netbsd-8
changeset: 376568:53f1010a9f08
user: martin <martin%NetBSD.org@localhost>
date: Thu Jun 22 06:30:48 2023 +0000
description:
Pull up the following revision, requested by riastradh in ticket #1836
sys/compat/freebsd/freebsd_machdep.c 1.5
Memset before copyout
diffstat:
sys/arch/i386/i386/freebsd_machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 11a2bbb8a3fa -r 53f1010a9f08 sys/arch/i386/i386/freebsd_machdep.c
--- a/sys/arch/i386/i386/freebsd_machdep.c Wed Jun 21 22:30:39 2023 +0000
+++ b/sys/arch/i386/i386/freebsd_machdep.c Thu Jun 22 06:30:48 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_machdep.c,v 1.60 2014/02/23 22:35:27 dsl Exp $ */
+/* $NetBSD: freebsd_machdep.c,v 1.60.22.1 2023/06/22 06:30:48 martin Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_machdep.c,v 1.60 2014/02/23 22:35:27 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_machdep.c,v 1.60.22.1 2023/06/22 06:30:48 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vm86.h"
@@ -93,6 +93,8 @@ freebsd_sendsig(const ksiginfo_t *ksi, c
fp--;
+ memset(&frame, 0, sizeof(frame));
+
/* Build stack frame for signal trampoline. */
frame.sf_signum = sig;
frame.sf_code = code;
Home |
Main Index |
Thread Index |
Old Index