kf6-kcoreaddons-6.3.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp: scope_hint: In function ‘QStringList KStringHandler::perlSplit(const QRegularExpression&, const QString&, int)’
kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp:132:65: warning[-Wdeprecated-declarations]: ‘QRegularExpressionMatchIterator QRegularExpression::globalMatch(QStringView, qsizetype, MatchType, MatchOptions) const’ is deprecated: Use globalMatchView instead.
#  132 |     QRegularExpressionMatchIterator iter = separator.globalMatch(strView);
#      |                                            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/QRegularExpression:1: included_from: Included from here.
kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp:16: included_from: Included from here.
/usr/include/qt6/QtCore/qregularexpression.h:118:37: note: declared here
#  118 |     QRegularExpressionMatchIterator globalMatch(QStringView subjectView,
#      |                                     ^~~~~~~~~~~
#  130|       separator.setPatternOptions(QRegularExpression::UseUnicodePropertiesOption);
#  131|   
#  132|->     QRegularExpressionMatchIterator iter = separator.globalMatch(strView);
#  133|       QRegularExpressionMatch match;
#  134|       while (iter.hasNext() && (ignoreMax || list.count() < max - 1)) {

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-230.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-kcoreaddons-6.3.0-1.fc41
store-results-to/tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:02:59
time-finished2024-07-03 14:05:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9