qt5-qtquickcontrols2-5.15.14-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquickcombobox.cpp: scope_hint: In member function ‘int QQuickComboBoxPrivate::match(int, const QString&, Qt::MatchFlags) const’
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquickcombobox.cpp:642:22: warning[-Wdeprecated-declarations]: ‘Qt::MatchRegExp’ is deprecated: MatchRegExp is deprecated. Use MatchRegularExpression instead
#  642 |             case Qt::MatchRegExp: {
#      |                      ^~~~~~~~~~~
/usr/include/qt5/QtCore/qbytearray.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:50: included_from: Included from here.
/usr/include/qt5/QtCore/qhashfunctions.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/qlist.h:47: included_from: Included from here.
/usr/include/qt5/QtCore/qhash.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qdebug.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qloggingcategory.h:44: included_from: Included from here.
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquickcombobox_p.h:51: included_from: Included from here.
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquickcombobox.cpp:37: included_from: Included from here.
/usr/include/qt5/QtCore/qnamespace.h:1599:9: note: declared here
# 1599 |         MatchRegExp Q_DECL_ENUMERATOR_DEPRECATED_X("MatchRegExp is deprecated. Use MatchRegularExpression instead") = 4,
#      |         ^~~~~~~~~~~
#  640|                       return idx;
#  641|                   break;
#  642|->             case Qt::MatchRegExp: {
#  643|                   QRegularExpression rx(QRegularExpression::anchoredPattern(text), options);
#  644|                   if (rx.match(t).hasMatch())

Error: CLANG_WARNING: [#def2]
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquickstackview.cpp:1159:9: warning[core.CallAndMessage]: Called C++ object pointer is null
# 1157|           d->depthChange(d->elements.count(), oldDepth);
# 1158|           d->setCurrentItem(element);
# 1159|->         element->setStatus(QQuickStackView::Active);
# 1160|       }
# 1161|   }

Error: CLANG_WARNING: [#def3]
qt5-qtquickcontrols2-5.15.14-build/qtquickcontrols2-everywhere-src-5.15.14/src/quicktemplates2/qquicktumbler.cpp:998:13: warning[core.CallAndMessage]: Called C++ object pointer is null
#  996|           tumblerPrivate->setupViewData(tumblerPrivate->contentItem);
#  997|   
#  998|->         if (delegateItem->parentItem() == tumblerPrivate->viewContentItem) {
#  999|               // This item belongs to the "new" view, meaning that the tumbler's contentItem
# 1000|               // was probably assigned declaratively. If they're not equal, calling

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-15.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameqt5-qtquickcontrols2-5.15.14-1.fc41
store-results-to/tmp/tmpwxm2rgh1/qt5-qtquickcontrols2-5.15.14-1.fc41.tar.xz
time-created2024-07-03 17:43:22
time-finished2024-07-03 17:50:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpwxm2rgh1/qt5-qtquickcontrols2-5.15.14-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpwxm2rgh1/qt5-qtquickcontrols2-5.15.14-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9