kmenuedit-6.3.4-1.fc43

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kmenuedit-6.3.4/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’
kmenuedit-6.3.4/menufile.cpp:67:26: warning[-Wdeprecated-declarations]: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead.
#   67 |     if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) {
#      |          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kmenuedit-6.3.4/menufile.h:11: included_from: Included from here.
kmenuedit-6.3.4/menufile.cpp:8: included_from: Included from here.
/usr/include/qt6/QtXml/qdom.h:406:10: note: declared here
#  406 |     bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
#      |          ^~~~~~~~~~
#   65|       int errorRow;
#   66|       int errorCol;
#   67|->     if (!m_doc.setContent(&file, &errorMsg, &errorRow, &errorCol)) {
#   68|           qCWarning(KMENUEDIT_LOG) << "Parse error in " << m_fileName << ", line " << errorRow << ", col " << errorCol << ": " << errorMsg;
#   69|           file.close();

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-41.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-namekmenuedit-6.3.4-1.fc43
store-results-to/tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.tar.xz
time-created2025-04-25 13:42:37
time-finished2025-04-25 13:44:27
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpkzj_910c/kmenuedit-6.3.4-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9