Change MO vendor length to 9

Makes sure the string doesn't overflow its field into other fields
This commit is contained in:
Cacodemon345
2022-01-06 20:35:01 +06:00
committed by GitHub
parent c0c0ec0bfc
commit f83d386d35

View File

@@ -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];