|
From: | Michael Tokarev |
Subject: | Re: [PATCH v2] net/tap-win32: Fix gcc 14 format truncation errors |
Date: | Wed, 9 Oct 2024 09:14:39 +0300 |
User-agent: | Mozilla Thunderbird |
08.10.2024 23:28, Bernhard Beschow wrote:
The patch fixes the following errors generated by GCC 14.2: ../src/net/tap-win32.c:343:19: error: '%s' directive output may be truncated writing up to 255 bytes into a region of size 176 [-Werror=format-truncation=] 343 | "%s\\%s\\Connection", | ^~ 344 | NETWORK_CONNECTIONS_KEY, enum_name);
...
Signed-off-by: Bernhard Beschow <shentey@gmail.com> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2607 Cc: qemu-stable@nongnu.org
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |