Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-398): [#def1]
fmt-12.1.0/include/fmt/format.h:671: error[throwInNoexceptFunction]: Unhandled exception thrown in function declared not to throw exceptions.
#  669|   
#  670|   FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
#  671|->   return to_unsigned(
#  672|         1 + (cp >= 0x1100 &&
#  673|              (cp <= 0x115f ||  // Hangul Jamo init. consonants

Error: CPPCHECK_WARNING (CWE-664): [#def2]
fmt-12.1.0/include/fmt/format.h:2196: warning[mismatchingContainerExpression]: Iterators to containers from different expressions 'sv' and 's' are used together.
# 2194|           size += cp_width;
# 2195|           // If this is the end of the string, account for closing '"'.
# 2196|->         if (display_width < display_width_limit && sv.end() == s.end()) {
# 2197|             ++display_width;
# 2198|             ++size;

Error: CPPCHECK_WARNING (CWE-664): [#def3]
fmt-12.1.0/include/fmt/format.h:2214: warning[mismatchingContainerExpression]: Iterators to containers from different expressions 'sv' and 's' are used together.
# 2212|         // If this is the end of the string, account for closing '"'.
# 2213|         if (is_debug && display_width < display_width_limit &&
# 2214|->           sv.end() == s.end()) {
# 2215|           ++display_width;
# 2216|           ++size;

Error: COMPILER_WARNING: [#def4]
fmt-12.1.0/include/fmt/format.h:3958:8: warning[-Wsubobject-linkage]: ‘fmt::v12::formatter<views_filter_view_test::codec_mask, char, void>’ has a base ‘fmt::v12::formatter<std::ranges::filter_view<std::ranges::ref_view<const std::array<int, 4> >, views_filter_view_test::format_as(codec_mask)::<lambda(auto:38)> >, char, void>’ which has internal linkage
# 3958 | struct formatter<T, Char, void_t<detail::format_as_result<T>>>
#      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 3956|   
# 3957|   template <typename T, typename Char>
# 3958|-> struct formatter<T, Char, void_t<detail::format_as_result<T>>>
# 3959|       : formatter<detail::format_as_result<T>, Char> {
# 3960|     template <typename FormatContext>

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-234.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namefmt-11.2.0-4.fc44
diffbase-store-results-to/tmp/tmp75rvf4d4/fmt-11.2.0-4.fc44.tar.xz
diffbase-time-created2026-08-03 14:12:28
diffbase-time-finished2026-08-03 14:17:12
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp75rvf4d4/fmt-11.2.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp75rvf4d4/fmt-11.2.0-4.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-234.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namefmt-12.1.0-3.fc45
store-results-to/tmp/tmpoyr1_dvj/fmt-12.1.0-3.fc45.tar.xz
time-created2026-08-03 14:17:36
time-finished2026-08-03 14:21:35
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpoyr1_dvj/fmt-12.1.0-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpoyr1_dvj/fmt-12.1.0-3.fc45.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9