Device: increased the length of the temporary pbus string, should fix heap corruptions.

This commit is contained in:
OBattler
2025-02-21 22:25:00 +01:00
parent 9801e8b149
commit ce906664a5

View File

@@ -490,7 +490,7 @@ device_get_name(const device_t *dev, int bus, char *name)
const char *sbus = NULL;
const char *fbus;
char *tname;
char pbus[12] = { 0 };
char pbus[16] = { 0 };
if (dev == NULL)
return;