Task #143517 - added.err
back to task #143517download
Error: GCC_ANALYZER_WARNING (CWE-835):
util-linux-2.43.devel/libmount/src/config.c: scope_hint: In function 'mnt_free_config'
util-linux-2.43.devel/libmount/src/config.c:299:17: warning[-Wanalyzer-infinite-loop]: infinite loop
# 297| return;
# 298|
# 299|-> while (!list_empty(&cxt->config_entries)) {
# 300| struct libmnt_confentry *en = list_entry(
# 301| cxt->config_entries.next,
Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.43.devel/misc-utils/cal.c: scope_hint: In function ‘monthly’
util-linux-2.43.devel/misc-utils/cal.c:1108:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc((long unsigned int)*ctl.months_in_row, 208) + (sizetype)i * 208’
util-linux-2.43.devel/misc-utils/cal.c:76: included_from: Included from here.
# 1106|
# 1107| for (i = 0; i < ctl->months_in_row - 1; i++)
# 1108|-> ms[i].next = &ms[i + 1];
# 1109|
# 1110| rows = (ctl->num_months - 1) / ctl->months_in_row;