Task #141626 - added.err
back to task #141626download
Error: GCC_ANALYZER_WARNING (CWE-775): util-linux-2.43.devel/sys-utils/unshare.c: scope_hint: In function ‘map_ids_internal’ util-linux-2.43.devel/include/all-io.h:44:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 524545)’ util-linux-2.43.devel/sys-utils/unshare.c:670:13: note: in expansion of macro ‘ul_write_all’ util-linux-2.43.devel/sys-utils/unshare.c:45: included_from: Included from here. util-linux-2.43.devel/sys-utils/unshare.c:670:13: note: in expansion of macro ‘ul_write_all’ util-linux-2.43.devel/sys-utils/unshare.c:670:13: note: in expansion of macro ‘ul_write_all’ # 42| } # 43| # 44|-> #define ul_write_all(fd, buf, count) __write_all(NULL, (fd), (buf), (count)) # 45| #define ul_vfs_write_all(vfs, fd, buf, count) __write_all((vfs), (fd), (buf), (count)) # 46| 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:1109: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. # 1107| # 1108| for (i = 0; i < ctl->months_in_row - 1; i++) # 1109|-> ms[i].next = &ms[i + 1]; # 1110| # 1111| rows = (ctl->num_months - 1) / ctl->months_in_row;