Source-Changes-HG archive

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

[src/netbsd-8]: src/sys Pull up following revision(s) (requested by msaitoh i...



details:   https://anonhg.NetBSD.org/src/rev/abb392fba505
branches:  netbsd-8
changeset: 454741:abb392fba505
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 26 18:11:02 2019 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1387):

        sys/arch/sparc/include/ctlreg.h: revision 1.30
        sys/dev/pci/if_xgereg.h: revision 1.3

Add missing NUL to prevent buffer overrun.

diffstat:

 sys/arch/sparc/include/ctlreg.h |  4 ++--
 sys/dev/pci/if_xgereg.h         |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 4f524e528e3c -r abb392fba505 sys/arch/sparc/include/ctlreg.h
--- a/sys/arch/sparc/include/ctlreg.h   Wed Sep 25 15:49:45 2019 +0000
+++ b/sys/arch/sparc/include/ctlreg.h   Thu Sep 26 18:11:02 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctlreg.h,v 1.29 2013/12/04 18:44:14 jdc Exp $ */
+/*     $NetBSD: ctlreg.h,v 1.29.22.1 2019/09/26 18:11:02 martin Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -376,7 +376,7 @@
 #define        SFSR_BITS       "\177\020"              \
        "b\21EM\0b\20CS\0b\17SB\0f\15\2PERR\0"  \
        "b\14UC\0b\13TO\0b\12BE\0f\10\2LVL\0"   \
-       "f\05\3AT\0f\02\3FT\0b\01FAV\0b\01OW"
+       "f\05\3AT\0f\02\3FT\0b\01FAV\0b\01OW\0"
 
 /* [4m] Synchronous Fault Types */
 #define SFSR_FT_NONE           (0 << 2)        /* no fault */
diff -r 4f524e528e3c -r abb392fba505 sys/dev/pci/if_xgereg.h
--- a/sys/dev/pci/if_xgereg.h   Wed Sep 25 15:49:45 2019 +0000
+++ b/sys/dev/pci/if_xgereg.h   Thu Sep 26 18:11:02 2019 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: if_xgereg.h,v 1.2 2005/12/11 12:22:50 christos Exp $ */
+/*      $NetBSD: if_xgereg.h,v 1.2.158.1 2019/09/26 18:11:02 martin Exp $ */
 
 /*
  * Copyright (c) 2004, SUNET, Swedish University Computer Network.
@@ -85,7 +85,7 @@
        "\177\20b\x3fTDMA_READY\0b\x3eRDMA_READY\0b\x3dPFC_READY\0" \
        "b\x3cTMAC_BUF_EMPTY\0b\x3aPIC_QUIESCENT\0\x39RMAC_REMOTE_FAULT\0" \
        "b\x38RMAC_LOCAL_FAULT\0b\x27MC_DRAM_READY\0b\x26MC_QUEUES_READY\0" \
-       "b\x21M_PLL_LOCK\0b\x20P_PLL_LOCK"
+       "b\x21M_PLL_LOCK\0b\x20P_PLL_LOCK\0"
 
 /*
  * PCI-X registers



Home | Main Index | Thread Index | Old Index