libfido2-1.15.0-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libfido2-1.15.0-build/libfido2-1.15.0/examples/assert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libfido2-1.15.0-build/libfido2-1.15.0/examples/cred.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
libfido2-1.15.0-build/libfido2-1.15.0/examples/select.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
libfido2-1.15.0-build/libfido2-1.15.0/openbsd-compat/readpassphrase.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def5]
libfido2-1.15.0-build/libfido2-1.15.0/openbsd-compat/readpassphrase.c: scope_hint: In function ‘readpassphrase’
libfido2-1.15.0-build/libfido2-1.15.0/openbsd-compat/readpassphrase.c:98:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/tty", 2)’
#   96|   	 * generate SIGTTOU, so do it *before* installing the signal handlers.
#   97|   	 */
#   98|-> 	if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) {
#   99|   		memcpy(&term, &oterm, sizeof(term));
#  100|   		if (!(flags & RPP_ECHO_ON))

Error: CPPCHECK_WARNING: [#def6]
libfido2-1.15.0-build/libfido2-1.15.0/openbsd-compat/recallocarray.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
libfido2-1.15.0-build/libfido2-1.15.0/src/aes256.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def8]
libfido2-1.15.0-build/libfido2-1.15.0/src/bio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def9]
libfido2-1.15.0-build/libfido2-1.15.0/src/cbor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
libfido2-1.15.0-build/libfido2-1.15.0/src/cred.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
libfido2-1.15.0-build/libfido2-1.15.0/src/dev.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
libfido2-1.15.0-build/libfido2-1.15.0/src/hid_linux.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
libfido2-1.15.0-build/libfido2-1.15.0/src/io.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
libfido2-1.15.0-build/libfido2-1.15.0/src/largeblob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def15]
libfido2-1.15.0-build/libfido2-1.15.0/src/nfc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def16]
libfido2-1.15.0-build/libfido2-1.15.0/src/u2f.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def17]
libfido2-1.15.0-build/libfido2-1.15.0/tools/assert_get.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def18]
libfido2-1.15.0-build/libfido2-1.15.0/tools/bio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def19]
libfido2-1.15.0-build/libfido2-1.15.0/tools/config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
libfido2-1.15.0-build/libfido2-1.15.0/tools/config.c: scope_hint: In function ‘config_pin_minlen_rpid’
libfido2-1.15.0-build/libfido2-1.15.0/tools/config.c:165:46: warning[-Wanalyzer-malloc-leak]: leak of ‘*rpid’
#  163|   	otmp = tmp;
#  164|   	for (n = 0; (cp = strsep(&tmp, ",")) != NULL; n++) {
#  165|-> 		if (n == SIZE_MAX || (rpid = recallocarray(rpid, n, n + 1,
#  166|   		    sizeof(*rpid))) == NULL)
#  167|   			err(1, "recallocarray");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
libfido2-1.15.0-build/libfido2-1.15.0/tools/config.c:165:46: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
#  163|   	otmp = tmp;
#  164|   	for (n = 0; (cp = strsep(&tmp, ",")) != NULL; n++) {
#  165|-> 		if (n == SIZE_MAX || (rpid = recallocarray(rpid, n, n + 1,
#  166|   		    sizeof(*rpid))) == NULL)
#  167|   			err(1, "recallocarray");

Error: CPPCHECK_WARNING: [#def22]
libfido2-1.15.0-build/libfido2-1.15.0/tools/cred_make.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def23]
libfido2-1.15.0-build/libfido2-1.15.0/tools/largeblob.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def24]
libfido2-1.15.0-build/libfido2-1.15.0/tools/token.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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-155.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibfido2-1.15.0-1.fc41
store-results-to/tmp/tmp9nr78rup/libfido2-1.15.0-1.fc41.tar.xz
time-created2024-07-03 14:40:50
time-finished2024-07-03 14:42:15
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp9nr78rup/libfido2-1.15.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp9nr78rup/libfido2-1.15.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9