Error: CPPCHECK_WARNING: [#def1] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/bitlk/bitlk.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def2] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/base64.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def3] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/cipher_check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def4] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/crypto_cipher_kernel.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def5] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/crypto_openssl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def6] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/crypto_storage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def7] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/pbkdf_check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def8] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/crypto_backend/utf8.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def9] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/integrity/integrity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def10] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/libdevmapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def11] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/loopaes/loopaes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def12] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks1/keyencryption.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def13] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks1/keymanage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def14] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/hw_opal/hw_opal.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def15] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_digest_pbkdf2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def16] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_disk_metadata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def17] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_json_format.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def18] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_json_metadata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def19] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_keyslot.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def20] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_keyslot_luks2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def21] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_keyslot_reenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def22] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_luks1_convert.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def23] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_reencrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def24] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_reencrypt.c:1859:6: warning[core.NullDereference]: Access to field 'digest_new' results in a dereference of a null pointer (loaded from variable 'rh') # 1857| # 1858| /* FIXME: validate in reencrypt context load */ # 1859|-> if (rh->digest_new < 0 && rh->mode != CRYPT_REENCRYPT_DECRYPT) # 1860| return -EINVAL; # 1861| Error: CPPCHECK_WARNING: [#def25] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_reencrypt_digest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def26] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_segment.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def27] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/luks2/luks2_token.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def28] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/random.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def29] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/setup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def30] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/tcrypt/tcrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-775): [#def31] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils.c: scope_hint: In function 'crypt_keyfile_device_read' cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils.c:318:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor '<unknown>' cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils.c:18: included_from: Included from here. cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/internal.h:179:57: note: in definition of macro 'log_err' cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils.c:207:29: note: in expansion of macro '_' # 316| r = 0; # 317| out: # 318|-> if (fd != STDIN_FILENO) # 319| close(fd); # 320| Error: CPPCHECK_WARNING: [#def32] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_crypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def33] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def34] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_device_locking.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def35] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_devpath.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def36] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_io.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def37] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_keyring.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-775): [#def38] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_keyring.c: scope_hint: In function 'find_key_by_type_and_desc' cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_keyring.c:160:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/keys", 0)' cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_keyring.c:9: included_from: Included from here. # 158| return 0; # 159| # 160|-> while ((n = read(f, buf + buffer_len, sizeof(buf) - buffer_len - 1)) > 0) { # 161| /* coverity[overflow:FALSE] */ # 162| buffer_len += (size_t)n; Error: CPPCHECK_WARNING: [#def39] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_pbkdf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def40] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_storage_wrappers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def41] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/utils_wipe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def42] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/verity/rs_decode_char.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def43] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/verity/rs_encode_char.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def44] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/verity/verity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def45] cryptsetup-2.7.3-build/cryptsetup-2.7.3/lib/verity/verity_hash.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def46] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/cryptsetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def47] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/integritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def48] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_blockdev.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-775): [#def49] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_luks.c: scope_hint: In function ‘tools_read_json_file’ cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_luks.c:214:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’ cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_luks.c:10: included_from: Included from here. cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_luks.c:170:17: note: in expansion of macro ‘log_dbg’ # 212| free(buf); # 213| } # 214|-> return r; # 215| } # 216| Error: CPPCHECK_WARNING: [#def50] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_password.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def51] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_progress.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def52] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def53] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt_luks1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-775): [#def54] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt_luks1.c: scope_hint: In function ‘parse_log’ cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt_luks1.c:268:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*rc.log_fd’ cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/cryptsetup.h:20: included_from: Included from here. cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt_luks1.c:13: included_from: Included from here. cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/cryptsetup.h:121:58: note: in definition of macro ‘log_std’ cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_reencrypt_luks1.c:307:25: note: in expansion of macro ‘_’ # 266| # 267| s = read(rc->log_fd, rc->log_buf, SECTOR_SIZE); # 268|-> if (s == -1) { # 269| log_err(_("Cannot read reencryption log file.")); # 270| return -EIO; Error: CPPCHECK_WARNING: [#def55] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/utils_tools.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def56] cryptsetup-2.7.3-build/cryptsetup-2.7.3/src/veritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def57] cryptsetup-2.7.3-build/cryptsetup-2.7.3/tokens/ssh/cryptsetup-ssh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-143.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | cryptsetup-2.7.3-1.fc41 |
store-results-to | /tmp/tmpq30z6tdz/cryptsetup-2.7.3-1.fc41.tar.xz |
time-created | 2024-07-03 12:15:22 |
time-finished | 2024-07-03 12:17:09 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpq30z6tdz/cryptsetup-2.7.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpq30z6tdz/cryptsetup-2.7.3-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |