Device: increased the length of the temporary pbus string, should fix heap corruptions.
This commit is contained in:
@@ -490,7 +490,7 @@ device_get_name(const device_t *dev, int bus, char *name)
|
|||||||
const char *sbus = NULL;
|
const char *sbus = NULL;
|
||||||
const char *fbus;
|
const char *fbus;
|
||||||
char *tname;
|
char *tname;
|
||||||
char pbus[12] = { 0 };
|
char pbus[16] = { 0 };
|
||||||
|
|
||||||
if (dev == NULL)
|
if (dev == NULL)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user