kf6-syntax-highlighting-6.3.0-1.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
kf6-syntax-highlighting-6.3.0-build/syntax-highlighting-6.3.0/src/lib/rule.cpp:11: included_from: Included from here.
kf6-syntax-highlighting-6.3.0-build/syntax-highlighting-6.3.0/src/lib/dynamicregexpcache_p.h:30:9: warning[cplusplus.NewDelete]: Use of memory after it is freed
#   28|           auto regexp = new QRegularExpression(key.first, patternOptions);
#   29|           m_cache.insert(key, regexp);
#   30|->         return *regexp;
#   31|       }
#   32|   

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