Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kfilemetadata-6.12.0/src/extractors/office2007extractor.cpp: scope_hint: In member function ‘virtual void KFileMetaData::Office2007Extractor::extract(KFileMetaData::ExtractionResult*)’
kfilemetadata-6.12.0/src/extractors/office2007extractor.cpp:80:27: warning[-Wdeprecated-declarations]: ‘bool QDomDocument::setContent(const QByteArray&, bool, QString*, int*, int*)’ is deprecated: Use the overload taking ParseOptions instead.
#   80 |         coreDoc.setContent(file->data(), true);
#      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtXml/QDomNode:1: included_from: Included from here.
kfilemetadata-6.12.0/src/extractors/dublincoreextractor.h:13: included_from: Included from here.
kfilemetadata-6.12.0/src/extractors/office2007extractor.cpp:10: included_from: Included from here.
/usr/include/qt6/QtXml/qdom.h:396:10: note: declared here
#  396 |     bool setContent(const QByteArray &text, bool namespaceProcessing, QString *errorMsg = nullptr, int *errorLine = nullptr, int *errorColumn = nullptr);
#      |          ^~~~~~~~~~
#   78|       if (extractMetaData && file) {
#   79|           QDomDocument coreDoc(QStringLiteral("core"));
#   80|->         coreDoc.setContent(file->data(), true);
#   81|   
#   82|           QDomElement cpElem = coreDoc.documentElement();

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-68.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.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namekf6-kfilemetadata-6.13.0-1.fc43
diffbase-store-results-to/tmp/tmpt1e5eim8/kf6-kfilemetadata-6.13.0-1.fc43.tar.xz
diffbase-time-created2025-04-25 13:34:17
diffbase-time-finished2025-04-25 13:36:31
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpt1e5eim8/kf6-kfilemetadata-6.13.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpt1e5eim8/kf6-kfilemetadata-6.13.0-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-68.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-kfilemetadata-6.12.0-1.fc42
store-results-to/tmp/tmpx95y6bg8/kf6-kfilemetadata-6.12.0-1.fc42.tar.xz
time-created2025-04-25 13:31:13
time-finished2025-04-25 13:33:52
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpx95y6bg8/kf6-kfilemetadata-6.12.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpx95y6bg8/kf6-kfilemetadata-6.12.0-1.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9