kmenuedit-6.2.3-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kmenuedit-6.2.3-build/kmenuedit-6.2.3/menufile.cpp: scope_hint: In member function ‘bool MenuFile::load()’
kmenuedit-6.2.3-build/kmenuedit-6.2.3/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.2.3-build/kmenuedit-6.2.3/menufile.h:11: included_from: Included from here.
kmenuedit-6.2.3-build/kmenuedit-6.2.3/menufile.cpp:8: included_from: Included from here.
/usr/include/qt6/QtXml/qdom.h:330:10: note: declared here
#  330 |     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.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-116.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekmenuedit-6.2.3-1.fc42
store-results-to/tmp/tmp8vg3ptpn/kmenuedit-6.2.3-1.fc42.tar.xz
time-created2024-11-13 01:05:13
time-finished2024-11-13 01:06:59
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp8vg3ptpn/kmenuedit-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp8vg3ptpn/kmenuedit-6.2.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9