DragonFlyBSD Kernel Audit
DF-1552 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/netif/sn/if_sn.c b/sys/dev/netif/sn/if_sn.c
--- a/sys/dev/netif/sn/if_sn.c
+++ b/sys/dev/netif/sn/if_sn.c
@@ -137,7 +137,7 @@
  */
 #define SW_PAD
 
-static const char *chip_ids[15] = {
+static const char *chip_ids[16] = {
 	NULL, NULL, NULL,
 	 /* 3 */ "SMC91C90/91C92",
 	 /* 4 */ "SMC91C94",
@@ -146,7 +146,8 @@
 	 /* 7 */ "SMC91C100",
 	 /* 8 */ "SMC91C100FD",
 	NULL, NULL, NULL,
-	NULL, NULL, NULL
+	NULL, NULL, NULL,
+	NULL            /* 15: unknown */
 };
 
 int