Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/savecore avoid infinite loop in kmem_check(). fixes bu...
details: https://anonhg.NetBSD.org/src/rev/01e9827b9dc4
branches: trunk
changeset: 995560:01e9827b9dc4
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Dec 27 21:25:46 2018 +0000
description:
avoid infinite loop in kmem_check(). fixes bug introduced in previous.
diffstat:
sbin/savecore/savecore.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f6e0667b4267 -r 01e9827b9dc4 sbin/savecore/savecore.c
--- a/sbin/savecore/savecore.c Thu Dec 27 21:20:40 2018 +0000
+++ b/sbin/savecore/savecore.c Thu Dec 27 21:25:46 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: savecore.c,v 1.87 2018/11/06 04:07:22 mrg Exp $ */
+/* $NetBSD: savecore.c,v 1.88 2018/12/27 21:25:46 mrg Exp $ */
/*-
* Copyright (c) 1986, 1992, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)savecore.c 8.5 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: savecore.c,v 1.87 2018/11/06 04:07:22 mrg Exp $");
+__RCSID("$NetBSD: savecore.c,v 1.88 2018/12/27 21:25:46 mrg Exp $");
#endif
#endif /* not lint */
@@ -446,7 +446,7 @@
}
nomsguf:
KREAD_LOGWARN(kd_dump, dump_nl[X_PANICSTR].n_value, panicstr,
- goto nomsguf);
+ return);
if (panicstr) {
cp = panic_mesg;
panicloc = panicstr;
Home |
Main Index |
Thread Index |
Old Index