kf5-kconfig-5.116.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf5-kconfig-5.116.0-build/kconfig-5.116.0/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp:44:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'tempFile2'
#   42|       QTemporaryFile *tempFile4 = new QTemporaryFile(this);
#   43|       QTemporaryFile *tempFile5 = new QTemporaryFile(this);
#   44|->     QVERIFY(tempFile1->open());
#   45|       QVERIFY(tempFile2->open());
#   46|       QVERIFY(tempFile3->open());

Error: CLANG_WARNING: [#def2]
kf5-kconfig-5.116.0-build/kconfig-5.116.0/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp:44:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'tempFile3'
#   42|       QTemporaryFile *tempFile4 = new QTemporaryFile(this);
#   43|       QTemporaryFile *tempFile5 = new QTemporaryFile(this);
#   44|->     QVERIFY(tempFile1->open());
#   45|       QVERIFY(tempFile2->open());
#   46|       QVERIFY(tempFile3->open());

Error: CLANG_WARNING: [#def3]
kf5-kconfig-5.116.0-build/kconfig-5.116.0/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp:44:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'tempFile4'
#   42|       QTemporaryFile *tempFile4 = new QTemporaryFile(this);
#   43|       QTemporaryFile *tempFile5 = new QTemporaryFile(this);
#   44|->     QVERIFY(tempFile1->open());
#   45|       QVERIFY(tempFile2->open());
#   46|       QVERIFY(tempFile3->open());

Error: CLANG_WARNING: [#def4]
kf5-kconfig-5.116.0-build/kconfig-5.116.0/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp:44:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'tempFile5'
#   42|       QTemporaryFile *tempFile4 = new QTemporaryFile(this);
#   43|       QTemporaryFile *tempFile5 = new QTemporaryFile(this);
#   44|->     QVERIFY(tempFile1->open());
#   45|       QVERIFY(tempFile2->open());
#   46|       QVERIFY(tempFile3->open());

Error: COMPILER_WARNING (CWE-477): [#def5]
kf5-kconfig-5.116.0-build/kconfig-5.116.0/src/gui/kstandardshortcut.cpp:332:6: warning[-Wdeprecated-declarations]: ‘KStandardShortcut::SaveOptions’ is deprecated: Since 5.39. No known users
#  332 |     {SaveOptions, "SaveOptions", QT_TRANSLATE_NOOP3("KStandardShortcut", "Save Options", "@action"), 0, 0, QList<QKeySequence>(), false, Category::Settings},
#      |      ^~~~~~~~~~~
kf5-kconfig-5.116.0-build/kconfig-5.116.0/src/gui/kstandardshortcut.cpp:10: included_from: Included from here.
kf5-kconfig-5.116.0-build/kconfig-5.116.0/src/gui/kstandardshortcut.h:126:5: note: declared here
#  126 |     SaveOptions ///< @deprecated since 5.39
#      |     ^~~~~~~~~~~
#  330|       {ShowStatusbar, "ShowStatusbar", QT_TRANSLATE_NOOP3("KStandardShortcut", "Show Statusbar", "@action"), 0, 0, QList<QKeySequence>(), false, Category::View},
#  331|   #if KCONFIGGUI_BUILD_DEPRECATED_SINCE(5, 39)
#  332|->     {SaveOptions, "SaveOptions", QT_TRANSLATE_NOOP3("KStandardShortcut", "Save Options", "@action"), 0, 0, QList<QKeySequence>(), false, Category::Settings},
#  333|   #else
#  334|       // dummy entry

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-31.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kconfig-5.116.0-1.fc41
store-results-to/tmp/tmppxmn8fts/kf5-kconfig-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:43:32
time-finished2024-07-03 13:46:00
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppxmn8fts/kf5-kconfig-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppxmn8fts/kf5-kconfig-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9