Task #33724 - added.err
back to task #33724download
Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/hardlink.c: scope_hint: In function ‘get_sorted_xattr_name_table’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/hardlink.c:529:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc((long unsigned int)n, 8) + (long unsigned int)i * 8’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/hardlink.c: scope_hint: In function ‘get_sorted_xattr_name_table’
util-linux-2.41.devel-build/util-linux-2.41.devel/include/optutils.h:8: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/hardlink.c:58: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/hardlink.c:55: included_from: Included from here.
# 527|
# 528| for (i = 0; i < n; i++) {
# 529|-> table[i] = names;
# 530| names += strlen(names) + 1;
# 531| }
Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/waitpid.c: scope_hint: In function ‘open_pidfds’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/waitpid.c:64:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc(n_pids, 4)’
util-linux-2.41.devel-build/util-linux-2.41.devel/include/strutils.h:53:64: note: in definition of macro ‘strtopid_or_err’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/waitpid.c:54:55: note: in expansion of macro ‘_’
# 62|
# 63| for (size_t i = 0; i < n_pids; i++) {
# 64|-> pidfds[i] = pidfd_open(pids[i], 0);
# 65| if (pidfds[i] == -1) {
# 66| if (allow_exited && errno == ESRCH) {
Error: GCC_ANALYZER_WARNING (CWE-688):
util-linux-2.41.devel-build/util-linux-2.41.devel/sys-utils/ipcutils.c: scope_hint: In function ‘posix_ipc_msg_get_info’
util-linux-2.41.devel-build/util-linux-2.41.devel/sys-utils/ipcutils.c:683:22: warning[-Wanalyzer-null-argument]: use of NULL ‘opendir("/dev/mqueue")’ where non-null expected
util-linux-2.41.devel-build/util-linux-2.41.devel/sys-utils/ipcutils.c:16: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/include/c.h:18: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/sys-utils/ipcutils.c:14: included_from: Included from here.
/usr/include/features.h:524: included_from: Included from here.
/usr/include/inttypes.h:25: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/sys-utils/ipcutils.c:12: included_from: Included from here.
/usr/include/dirent.h:167:23: note: argument 1 of ‘readdir’ must be non-null
# 681| }
# 682|
# 683|-> while ((de = readdir(d)) != NULL) {
# 684| if ((de->d_name[0] == '.' && de->d_name[1] == '\0') ||
# 685| (de->d_name[0] == '.' && de->d_name[1] == '.' &&