Newly introduced defects

List of Defects

Error: COMPILER_WARNING (CWE-195): [#def1]
kio-extras-24.05.0-build/kio-extras-24.05.0/sftp/kio_sftp.cpp: scope_hint: In member function ‘QCoro::Generator<SFTPWorker::ReadResponse> SFTPWorker::asyncRead(sftp_file, size_t)’
kio-extras-24.05.0-build/kio-extras-24.05.0/sftp/kio_sftp.cpp:2402:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘int’
# 2402 |         if (bytesread == -1) {
#      |             ~~~~~~~~~~^~~~~
# 2400|           const auto bytesread = request.readChunks(filedata);
# 2401|           // Read pending get requests
# 2402|->         if (bytesread == -1) {
# 2403|               co_yield SFTPWorker::ReadResponse(KIO::ERR_CANNOT_READ);
# 2404|               break;

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-81.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namekio-extras-24.02.1-1.fc40
diffbase-store-results-to/tmp/tmpj1z07y74/kio-extras-24.02.1-1.fc40.tar.xz
diffbase-time-created2024-07-03 14:18:08
diffbase-time-finished2024-07-03 14:24:33
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpj1z07y74/kio-extras-24.02.1-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpj1z07y74/kio-extras-24.02.1-1.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-81.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekio-extras-24.05.0-1.fc41
store-results-to/tmp/tmpabr9oai6/kio-extras-24.05.0-1.fc41.tar.xz
time-created2024-07-03 14:24:59
time-finished2024-07-03 14:30:47
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpabr9oai6/kio-extras-24.05.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpabr9oai6/kio-extras-24.05.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9