Task #6484 - added.err

back to task #6484
download
Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c: scope_hint: In function 'mnt_table_find_target'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1196:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'fs'
util-linux-2.41.devel-build/util-linux-2.41.devel/include/c.h:22: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:29: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:52: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:32: included_from: Included from here.
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:63:25: note: in expansion of macro '__UL_DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1714:9: note: in expansion of macro 'DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:63:25: note: in expansion of macro '__UL_DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1720:17: note: in expansion of macro 'DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:63:25: note: in expansion of macro '__UL_DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1100:9: note: in expansion of macro 'DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:63:25: note: in expansion of macro '__UL_DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1154:9: note: in expansion of macro 'DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:63:25: note: in expansion of macro '__UL_DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:1179:9: note: in expansion of macro 'DBG'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/mountP.h:189:28: note: in expansion of macro 'IS_ITER_FORWARD'
util-linux-2.41.devel-build/util-linux-2.41.devel/libmount/src/tab.c:868:17: note: in expansion of macro 'MNT_ITER_INIT'
# 1194|   		char *p;
# 1195|   
# 1196|-> 		if (!fs->target
# 1197|   		    || mnt_fs_is_swaparea(fs)
# 1198|   		    || mnt_fs_is_kernel(fs)

Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/cal.c: scope_hint: In function ‘monthly’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/cal.c:1085:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc((long unsigned int)*ctl.months_in_row, 208)’
util-linux-2.41.devel-build/util-linux-2.41.devel/misc-utils/cal.c:79: included_from: Included from here.
# 1083|   
# 1084|   	for (i = 0; i < ctl->months_in_row - 1; i++)
# 1085|-> 		ms[i].next = &ms[i + 1];
# 1086|   
# 1087|   	rows = (ctl->num_months - 1) / ctl->months_in_row;