kf6-kio-6.22.0-1.fc44

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
kio-6.22.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-9yn6cJ/CheckSymbolExists.c:10:19: error[error]: ‘acl_cmp_np’ undeclared (first use in this function); did you mean ‘acl_cmp’?

Error: COMPILER_WARNING: [#def2] [important]
kio-6.22.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-R1IWmZ/CheckSymbolExists.c:10:19: error[error]: ‘acl_extended_file_np’ undeclared (first use in this function); did you mean ‘acl_extended_file’?

Error: COMPILER_WARNING: [#def3] [important]
kio-6.22.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-ZEgAtE/CheckSymbolExists.c:10:19: error[error]: ‘acl_equiv_mode_np’ undeclared (first use in this function); did you mean ‘acl_equiv_mode’?

Error: COMPILER_WARNING: [#def4] [important]
kio-6.22.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-kb1tSt/src.c:6:38: error[error]: ‘struct sockaddr’ has no member named ‘sa_len’

Error: COMPILER_WARNING: [#def5] [important]
kio-6.22.0/redhat-linux-build/CMakeFiles/CMakeScratch/TryCompile-oBZJ9l/HAVE_SYS_EXTATTR_H.c:3:10: error[fatal error]: sys/extattr.h: No such file or directory

Error: COMPILER_WARNING (CWE-252): [#def6]
kio-6.22.0/src/kioworkers/file/file.cpp: scope_hint: In member function ‘KIO::WorkerResult FileProtocol::mount(bool, const char*, const QString&, const QString&)’
kio-6.22.0/src/kioworkers/file/file.cpp:740:17: warning[-Wunused-result]: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’
#  740 |     tmpFile.open();
#      |     ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/QTemporaryFile:1: included_from: Included from here.
kio-6.22.0/src/kioworkers/file/file.cpp:34: included_from: Included from here.
/usr/include/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here
#   52 |     QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); }
#      |                                ^~~~
#  738|       QTemporaryFile tmpFile;
#  739|       tmpFile.setAutoRemove(false);
#  740|->     tmpFile.open();
#  741|       QByteArray tmpFileName = QFile::encodeName(tmpFile.fileName());
#  742|       QByteArray dev;

Error: COMPILER_WARNING (CWE-252): [#def7]
kio-6.22.0/src/kioworkers/file/file.cpp: scope_hint: In member function ‘KIO::WorkerResult FileProtocol::unmount(const QString&)’
kio-6.22.0/src/kioworkers/file/file.cpp:829:17: warning[-Wunused-result]: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’
#  829 |     tmpFile.open();
#      |     ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here
#   52 |     QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); }
#      |                                ^~~~
#  827|       QTemporaryFile tmpFile;
#  828|       tmpFile.setAutoRemove(false);
#  829|->     tmpFile.open();
#  830|   
#  831|       QByteArray umountProg = QStandardPaths::findExecutable(QStringLiteral("umount")).toLocal8Bit();

Error: COMPILER_WARNING (CWE-252): [#def8]
kio-6.22.0/src/kioworkers/file/file.cpp:842:11: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’
#  842 |     system(buffer.constData());
#      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~
#  840|   
#  841|       buffer = umountProg + ' ' + QFile::encodeName(KShell::quoteArg(_point)) + " 2>" + tmpFileName;
#  842|->     system(buffer.constData());
#  843|   
#  844|       QString err = readLogFile(tmpFileName);

Error: COMPILER_WARNING (CWE-477): [#def9]
kio-6.22.0/src/kioworkers/help/main.cpp: scope_hint: In function ‘int kdemain(int, char**)’
kio-6.22.0/src/kioworkers/help/main.cpp:56:33: warning[-Wdeprecated-declarations]: ‘int xmlSubstituteEntitiesDefault(int)’ is deprecated
#   56 |     xmlSubstituteEntitiesDefault(1);
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
/usr/include/libxml2/libxml/HTMLtree.h:16: included_from: Included from here.
kio-6.22.0/src/kioworkers/help/main.cpp:20: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:953:17: note: declared here
#  953 |                 xmlSubstituteEntitiesDefault(int val);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   54|   
#   55|       LIBXML_TEST_VERSION
#   56|->     xmlSubstituteEntitiesDefault(1);
#   57|       xmlLoadExtDtdDefaultValue = 1;
#   58|       exsltRegisterAll();

Error: COMPILER_WARNING (CWE-477): [#def10]
kio-6.22.0/src/kioworkers/help/main_ghelp.cpp: scope_hint: In function ‘int kdemain(int, char**)’
kio-6.22.0/src/kioworkers/help/main_ghelp.cpp:49:33: warning[-Wdeprecated-declarations]: ‘int xmlSubstituteEntitiesDefault(int)’ is deprecated
#   49 |     xmlSubstituteEntitiesDefault(1);
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
/usr/include/libxml2/libxml/HTMLtree.h:16: included_from: Included from here.
kio-6.22.0/src/kioworkers/help/main_ghelp.cpp:16: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:953:17: note: declared here
#  953 |                 xmlSubstituteEntitiesDefault(int val);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   47|   
#   48|       LIBXML_TEST_VERSION
#   49|->     xmlSubstituteEntitiesDefault(1);
#   50|       xmlLoadExtDtdDefaultValue = 1;
#   51|       exsltRegisterAll();

Error: COMPILER_WARNING (CWE-563): [#def11]
kio-6.22.0/src/widgets/kpropertiesdialogbuiltin_p.cpp: scope_hint: In constructor ‘KDEPrivate::KFilePropsPlugin::KFilePropsPlugin(KPropertiesDialog*)’
kio-6.22.0/src/widgets/kpropertiesdialogbuiltin_p.cpp:198:10: warning[-Wunused-variable]: unused variable ‘hasAccessTime’
#  198 |     bool hasAccessTime =
#      |          ^~~~~~~~~~~~~
#  196|       bool hasDirs = firstItem.isDir() && !firstItem.isLink();
#  197|       bool hasRoot = url.path() == QLatin1String("/");
#  198|->     bool hasAccessTime =
#  199|           mp ? !(mp->mountOptions().contains(QLatin1String("noatime")) || (hasDirs && mp->mountOptions().contains(QLatin1String("nodiratime")))) : true;
#  200|       QString iconStr = firstItem.iconName();

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-50.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-namekf6-kio-6.22.0-1.fc44
store-results-to/tmp/tmp9mqzfpq7/kf6-kio-6.22.0-1.fc44.tar.xz
time-created2026-01-08 18:22:15
time-finished2026-01-08 18:32:30
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp9mqzfpq7/kf6-kio-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9mqzfpq7/kf6-kio-6.22.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9