Task #114991 - added.err
back to task #114991download
Error: COMPILER_WARNING: openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c: scope_hint: In function ‘xiconf_getservice’ openscap-1.4.5/src/OVAL/probes/unix/xinetd_probe.c:1380:53: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size between 1 and 257 # 1380 | snprintf(strans_key, sizeof(strans_key), "%s%s", name, prot); # | ^~ /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 1 and 513 bytes into a destination of size 257 # 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 69 | __glibc_objsize (__s), __fmt, # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 70 | __va_arg_pack ()); # | ~~~~~~~~~~~~~~~~~ # 1378| return (NULL); # 1379| # 1380|-> snprintf(strans_key, sizeof(strans_key), "%s%s", name, prot); # 1381| # 1382| rbt_str_get(xiconf->ttree, strans_key, (void *)&strans);