From f83d386d35622a1d2ba44e3cc5d73c286dd700f2 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Thu, 6 Jan 2022 20:35:01 +0600 Subject: [PATCH] Change MO vendor length to 9 Makes sure the string doesn't overflow its field into other fields --- src/include/86box/mo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/86box/mo.h b/src/include/86box/mo.h index e99d5e381..caf5f2417 100644 --- a/src/include/86box/mo.h +++ b/src/include/86box/mo.h @@ -51,7 +51,7 @@ static const mo_type_t mo_types[KNOWN_MO_TYPES] = { typedef struct { - const char vendor[8]; + const char vendor[9]; const char model[16]; const char revision[5]; int8_t supported_media[KNOWN_MO_TYPES];