NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-mvme68k/41857: Buffer overrun.



>Number:         41857
>Category:       port-mvme68k
>Synopsis:       Buffer overrun.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mvme68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 10:50:01 +0000 2009
>Originator:     Henning Petersen
>Release:        current-NetBSD
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
diff -u -r1.137 machdep.c
--- sys/arch/mvme68k/mvme68k/machdep.c  13 Feb 2009 22:41:02 -0000      1.137
+++ sys/arch/mvme68k/mvme68k/machdep.c  8 Aug 2009 18:07:00 -0000
@@ -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) {



Home | Main Index | Thread Index | Old Index