Re: [PATCH] net/tap-win32: Fix gcc 14 format truncation errors

2024-10-08 Thread Bernhard Beschow
Am 7. Oktober 2024 15:47:29 UTC schrieb Michael Tokarev : >07.10.2024 13:13, 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 siz

Re: [PATCH] net/tap-win32: Fix gcc 14 format truncation errors

2024-10-07 Thread Michael Tokarev
07.10.2024 13:13, 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\\Connec

Re: [PATCH] net/tap-win32: Fix gcc 14 format truncation errors

2024-10-07 Thread Peter Maydell
On Mon, 7 Oct 2024 at 11:14, 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 |

[PATCH] net/tap-win32: Fix gcc 14 format truncation errors

2024-10-07 Thread Bernhard Beschow
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 |