From cc5beed0a1bdc0485ff115c9ae52a4bf425436fa Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Wed, 6 Jul 2022 01:44:32 +0100 Subject: [PATCH] fix string format warnings, output buffers were not large enough Gbp-Pq: Topic warnings Gbp-Pq: Name format-overflow.patch --- tools/winedump/msc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c index 3c632ec..c5ea8bf 100644 --- a/tools/winedump/msc.c +++ b/tools/winedump/msc.c @@ -462,7 +462,7 @@ static const char* get_callconv(unsigned cc) case CV_CALL_RESERVED: callconv = "reserved"; break; default: { - static char tmp[16]; + static char tmp[18]; sprintf(tmp, "callconv=%x", cc); callconv = tmp; } -- 2.30.2