Compile error - Debian Testing bookworm/sid
make[1]: Entering directory '/home/kamran/Downloads/usbredir-0.7.1/usbredirparser' CC usbredirparser.lo usbredirparser.c: In function ‘usbredirparser_do_read’: usbredirparser.c:270:33: error: ‘%s’ directive output may be truncated writing up to 287 bytes into a region of size 64 [-Werror=format-truncation=] 270 | snprintf(buf, sizeof(buf), "%s", hello->version); | ^~ In file included from /usr/include/stdio.h:866, from usbredirparser.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:71:10: note: ‘__builtin_snprintf’ output between 1 and 288 bytes into a destination of size 64 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:447: usbredirparser.lo] Error 1 make[1]: Leaving directory '/home/kamran/Downloads/usbredir-0.7.1/usbredirparser' make: *** [Makefile:405: install-recursive] Error 1 config.log