Module: wine Branch: master Commit: 1c232557b81f237f966759511d50c83e18627499 URL: https://source.winehq.org/git/wine.git/?a=commit;h=1c232557b81f237f966759511...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Nov 13 14:51:18 2019 +0100
dnsapi: Increase buffer size to fix format-overflow warning.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dnsapi/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dnsapi/query.c b/dlls/dnsapi/query.c index e601191c5d..f540662dfd 100644 --- a/dlls/dnsapi/query.c +++ b/dlls/dnsapi/query.c @@ -71,7 +71,7 @@ static const char *dns_section_to_str( ns_sect section ) case ns_s_ar: return "Additional"; default: { - static char tmp[5]; + static char tmp[11]; FIXME( "unknown section: 0x%02x\n", section ); sprintf( tmp, "0x%02x", section ); return tmp;