libbytesize-2.12-1.20260115161202590039.pr166.21.ga1effe9

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
libbytesize-2.12/src/bs_size.c: scope_hint: In function 'bs_size_new_from_str'
libbytesize-2.12/src/bs_size.c:511:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
/usr/include/features.h:540: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/limits.h:26: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/16/include/limits.h:210: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/16/include/syslimits.h:9: included_from: Included from here.
/usr/lib/gcc/x86_64-redhat-linux/16/include/limits.h:34: included_from: Included from here.
/usr/include/gmp-x86_64.h:57: included_from: Included from here.
/usr/include/gmp.h:59: included_from: Included from here.
libbytesize-2.12/src/bs_size.c:1: included_from: Included from here.
libbytesize-2.12/src/bs_size.c:7: included_from: Included from here.
/usr/include/string.h:439:15: note: argument 1 of 'strlen' must be a pointer to a null-terminated string
#  509|           return NULL;
#  510|       }
#  511|->     str_len = strlen (loc_size_str);
#  512|   
#  513|       match_data = pcre2_match_data_create_from_pattern (regex, NULL);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-24.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260115.120730.g959e8f3.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibbytesize-2.12-1.20260115161202590039.pr166.21.ga1effe9
store-results-to/tmp/tmpdp9s_wl2/libbytesize-2.12-1.20260115161202590039.pr166.21.ga1effe9.tar.xz
time-created2026-01-15 16:27:29
time-finished2026-01-15 16:28:46
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpdp9s_wl2/libbytesize-2.12-1.20260115161202590039.pr166.21.ga1effe9.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpdp9s_wl2/libbytesize-2.12-1.20260115161202590039.pr166.21.ga1effe9.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9