Task #101301 - fixed.err
back to task #101301download
Error: GCC_ANALYZER_WARNING (CWE-476):
util-linux-2.43.devel/disk-utils/fdformat.c: scope_hint: In function ‘verify_disk’
util-linux-2.43.devel/disk-utils/fdformat.c:129:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc(track_size)’
util-linux-2.43.devel/disk-utils/fdformat.c:28: included_from: Included from here.
# 127| }
# 128| for (count = 0; count < track_size; count++)
# 129|-> if (data[count] != FD_FILL_BYTE) {
# 130| if (retries_left) {
# 131| format_begin(ctrl);