Task #94275 - added.err
back to task #94275download
Error: GCC_ANALYZER_WARNING (CWE-476): util-linux-2.42.start/disk-utils/cfdisk.c:2182:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc(fdisk_get_nlabels(*cf.cxt) + 1, 32)’ util-linux-2.42.start/disk-utils/cfdisk.c:267:25: note: in expansion of macro ‘__UL_DBG’ util-linux-2.42.start/disk-utils/cfdisk.c:2170:9: note: in expansion of macro ‘DBG’ # 2180| fdisk_label_get_type(lb) == FDISK_DISKLABEL_BSD) # 2181| continue; # 2182|-> cm[i++].name = fdisk_label_get_name(lb); # 2183| } # 2184| Error: GCC_ANALYZER_WARNING (CWE-476): util-linux-2.42.start/lsfd-cmd/lsfd.c: scope_hint: In function ‘new_error_file_common’ util-linux-2.42.start/lsfd-cmd/lsfd.c:767:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xcalloc(1, *error_class.size)’ util-linux-2.42.start/include/c.h:19: included_from: Included from here. util-linux-2.42.start/lsfd-cmd/lsfd.c: scope_hint: In function ‘new_error_file_common’ # 765| # 766| file = xcalloc(1, error_class->size); # 767|-> file->class = error_class; # 768| # 769| file->proc = proc; Error: GCC_ANALYZER_WARNING (CWE-476): util-linux-2.42.start/misc-utils/blkid.c: scope_hint: In function ‘main’ util-linux-2.42.start/misc-utils/blkid.c:889:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xcalloc((long unsigned int)(argc - optind), 8) + (long unsigned int)numdev * 8’ util-linux-2.42.start/misc-utils/blkid.c:18: included_from: Included from here. # 887| continue; # 888| # 889|-> devices[numdev++] = dev; # 890| } # 891|