Source: kvmtool
Version: 0.20161128-1
Severity: serious
Tags: buster sid

arm/fdt.c: In function 'setup_fdt':
arm/fdt.c:58:45: error: '%lx' directive output may be truncated writing between 
1 and 10 bytes into a region of size 4 [-Werror=format-truncation=]
   snprintf(cpu_name, CPU_NAME_MAX_LEN, "cpu@%lx", mpidr);
arm/fdt.c:58:40: note: directive argument in the range [0, 1095233437695]
   snprintf(cpu_name, CPU_NAME_MAX_LEN, "cpu@%lx", mpidr);
In file included from /usr/include/stdio.h:938:0,
                 from include/kvm/util.h:13,
                 from include/kvm/disk-image.h:5,
                 from include/kvm/kvm-config.h:4,
                 from include/kvm/kvm.h:5,
                 from arm/fdt.c:3:
/usr/include/aarch64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output between 6 and 15 bytes into a destination of 
size 8
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
        __bos (__s), __fmt, __va_arg_pack ());

Reply via email to