libunibreak-6.1-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/graphemebreak.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/linebreak.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3]
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/linebreak.c:994:5: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  992|       s[1] = char2;
#  993|       set_linebreaks_utf32(s, 2, lang, brks);
#  994|->     return brks[0];
#  995|   }

Error: CLANG_WARNING: [#def4]
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/eastasianwidthdef.c:24: included_from: Included from here.
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/eastasianwidthdef.h:27: included_from: Included from here.
libunibreak-6.1-build/libunibreak-libunibreak_6_1/src/unibreakdef.h:84:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   82|           const unsigned char *mid_ptr =
#   83|               (const unsigned char *)ptr + mid * size;
#   84|->         utf32_t mid_start = *(const utf32_t *)mid_ptr;
#   85|           utf32_t mid_end = *((const utf32_t *)mid_ptr + 1);
#   86|   

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-227.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibunibreak-6.1-1.fc41
store-results-to/tmp/tmpoqh1_15j/libunibreak-6.1-1.fc41.tar.xz
time-created2024-07-03 15:59:29
time-finished2024-07-03 16:00:57
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpoqh1_15j/libunibreak-6.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpoqh1_15j/libunibreak-6.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9