From: Michael Gilbert Date: Wed, 6 Jul 2022 00:44:32 +0000 (+0100) Subject: fix string format warnings, output buffers were not large enough X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~3^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cc5beed0a1bdc0485ff115c9ae52a4bf425436fa;p=wine.git fix string format warnings, output buffers were not large enough Gbp-Pq: Topic warnings Gbp-Pq: Name format-overflow.patch --- 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; }