Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kio-extras-25.08.2/fish/fish.cpp: scope_hint: In member function ‘virtual void fishProtocol::worker_status()’
kio-extras-25.08.2/fish/fish.cpp:1810:21: warning[-Wdeprecated-declarations]: ‘void KIO::WorkerBase::workerStatus(const QString&, bool)’ is deprecated: Since 6.19. Not implemented
# 1810 |         workerStatus(connectionHost, isLoggedIn);
#      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KIOCore/KIO/WorkerBase:1: included_from: Included from here.
kio-extras-25.08.2/fish/fish.h:12: included_from: Included from here.
kio-extras-25.08.2/fish/fish.cpp:17: included_from: Included from here.
/usr/include/KF6/KIOCore/kio/workerbase.h:149:10: note: declared here
#  149 |     void workerStatus(const QString &host, bool connected);
#      |          ^~~~~~~~~~~~
# 1808|       myDebug(<< "@@@@@@@@@ worker_status");
# 1809|       if (childPid > 0)
# 1810|->         workerStatus(connectionHost, isLoggedIn);
# 1811|       else
# 1812|           workerStatus(QString(), false);

Error: COMPILER_WARNING (CWE-477): [#def2]
kio-extras-25.08.2/fish/fish.cpp:1812:21: warning[-Wdeprecated-declarations]: ‘void KIO::WorkerBase::workerStatus(const QString&, bool)’ is deprecated: Since 6.19. Not implemented
# 1812 |         workerStatus(QString(), false);
#      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/KF6/KIOCore/kio/workerbase.h:149:10: note: declared here
#  149 |     void workerStatus(const QString &host, bool connected);
#      |          ^~~~~~~~~~~~
# 1810|           workerStatus(connectionHost, isLoggedIn);
# 1811|       else
# 1812|->         workerStatus(QString(), false);
# 1813|   }
# 1814|   

Error: COMPILER_WARNING (CWE-477): [#def3]
kio-extras-25.08.2/sftp/kio_sftp.cpp: scope_hint: In member function ‘virtual void SFTPWorker::worker_status()’
kio-extras-25.08.2/sftp/kio_sftp.cpp:2077:17: warning[-Wdeprecated-declarations]: ‘void KIO::WorkerBase::workerStatus(const QString&, bool)’ is deprecated: Since 6.19. Not implemented
# 2077 |     workerStatus((mConnected ? mHost : QString()), mConnected);
#      |     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KIOCore/KIO/WorkerBase:1: included_from: Included from here.
kio-extras-25.08.2/sftp/kio_sftp.h:13: included_from: Included from here.
kio-extras-25.08.2/sftp/kio_sftp.cpp:9: included_from: Included from here.
/usr/include/KF6/KIOCore/kio/workerbase.h:149:10: note: declared here
#  149 |     void workerStatus(const QString &host, bool connected);
#      |          ^~~~~~~~~~~~
# 2075|   {
# 2076|       qCDebug(KIO_SFTP_LOG) << "connected to " << mHost << "?: " << mConnected;
# 2077|->     workerStatus((mConnected ? mHost : QString()), mConnected);
# 2078|   }
# 2079|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-48.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namekio-extras-25.12.0-1.fc44
diffbase-store-results-to/tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.tar.xz
diffbase-time-created2026-01-08 18:18:24
diffbase-time-finished2026-01-08 18:23:40
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz9n7sj73/kio-extras-25.12.0-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-48.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekio-extras-25.08.2-1.fc43
store-results-to/tmp/tmp58wqyfck/kio-extras-25.08.2-1.fc43.tar.xz
time-created2026-01-08 18:12:15
time-finished2026-01-08 18:18:01
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp58wqyfck/kio-extras-25.08.2-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp58wqyfck/kio-extras-25.08.2-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9