From ce906664a51a1311f445536d8d0aa7270af410c1 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 21 Feb 2025 22:25:00 +0100 Subject: [PATCH] Device: increased the length of the temporary pbus string, should fix heap corruptions. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index 8b2ddf35e..434bd3776 100644 --- a/src/device.c +++ b/src/device.c @@ -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;