Newly introduced defects

List of Defects

Error: CLANG_WARNING: [#def1]
exfatprogs-1.2.4-build/exfatprogs-1.2.4/fsck/fsck.c:619:4: warning[deadcode.DeadStores]: Value stored to 'ret' is never read
#  617|   			exfat_de_iter_get_dirty(iter, 1, &dentry);
#  618|   			dentry->stream_flags &= ~EXFAT_SF_CONTIGUOUS;
#  619|-> 			ret = 1;
#  620|   		} else
#  621|   			valid = false;

Error: CLANG_WARNING: [#def2]
exfatprogs-1.2.4-build/exfatprogs-1.2.4/fsck/fsck.c:820:9: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value
#  818|   
#  819|   	if (file_de->file_num_ext == 2 && stream_de->stream_name_len <= 2) {
#  820|-> 		ret = handle_dot_dotdot_filename(iter, dentry,
#  821|   				stream_de->stream_name_len);
#  822|   		if (ret < 0) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
exfatprogs-1.2.4-build/exfatprogs-1.2.4/lib/exfat_fs.c: scope_hint: In function ‘exfat_free_buffer’
exfatprogs-1.2.4-build/exfatprogs-1.2.4/lib/exfat_fs.c:203:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
#  201|   			free(bd[i].buffer);
#  202|   	}
#  203|-> 	free(bd);
#  204|   }
#  205|   

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-118.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameexfatprogs-1.2.2-3.fc40
diffbase-store-results-to/tmp/tmpo_y0rn48/exfatprogs-1.2.2-3.fc40.tar.xz
diffbase-time-created2024-07-03 12:29:24
diffbase-time-finished2024-07-03 12:30:51
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo_y0rn48/exfatprogs-1.2.2-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpo_y0rn48/exfatprogs-1.2.2-3.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-118.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameexfatprogs-1.2.4-1.fc41
store-results-to/tmp/tmp3nu7b85z/exfatprogs-1.2.4-1.fc41.tar.xz
time-created2024-07-03 12:31:07
time-finished2024-07-03 12:32:11
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp3nu7b85z/exfatprogs-1.2.4-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp3nu7b85z/exfatprogs-1.2.4-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9