Module Name:    src
Committed By:   snj
Date:           Sat Aug 15 19:16:45 UTC 2009

Modified Files:
        src/sys/arch/mvme68k/mvme68k: machdep.c

Log Message:
Fix a 13 year old buffer overrun.  From Henning Petersen in
PR port-mvme68k/41857.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/arch/mvme68k/mvme68k/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mvme68k/mvme68k/machdep.c
diff -u src/sys/arch/mvme68k/mvme68k/machdep.c:1.137 src/sys/arch/mvme68k/mvme68k/machdep.c:1.138
--- src/sys/arch/mvme68k/mvme68k/machdep.c:1.137	Fri Feb 13 22:41:02 2009
+++ src/sys/arch/mvme68k/mvme68k/machdep.c	Sat Aug 15 19:16:45 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.137 2009/02/13 22:41:02 apb Exp $	*/
+/*	$NetBSD: machdep.c,v 1.138 2009/08/15 19:16:45 snj Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.137 2009/02/13 22:41:02 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.138 2009/08/15 19:16:45 snj Exp $");
 
 #include "opt_ddb.h"
 #include "opt_m060sp.h"
@@ -579,7 +579,7 @@
 	memset(board_str, 0, sizeof(board_str));
 	memset(cpu_str, 0, sizeof(cpu_str));
 	memset(mmu_str, 0, sizeof(mmu_str));
-	memset(fpu_str, 0, sizeof(cpu_str));
+	memset(fpu_str, 0, sizeof(fpu_str));
 
 	/* Fill in the CPU string. */
 	switch (cputype) {

Reply via email to