Task #59467 - added.err
back to task #59467download
Error: COMPILER_WARNING:
crun-HEAD/src/libcrun/seccomp.c: scope_hint: In function 'calculate_seccomp_checksum'
crun-HEAD/src/libcrun/seccomp.c:447:44: warning[-Wformat-truncation=]: '__snprintf_chk' output truncated before the last format character
# 447 | ret = snprintf (&out[i * 2], 2, "%02x", hash[i]);
# | ^
/usr/include/bits/stdio2.h:68:10: note: '__snprintf_chk' output 3 bytes into a destination of size 2
# 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 69 | __glibc_objsize (__s), __fmt,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 70 | __va_arg_pack ());
# | ~~~~~~~~~~~~~~~~~
# 445| for (i = 0; i < 32; i++)
# 446| {
# 447|-> ret = snprintf (&out[i * 2], 2, "%02x", hash[i]);
# 448| if (UNLIKELY (ret != 2))
# 449| return crun_make_error (err, 0, "internal error: static buffer has wrong size");