Error: CPPCHECK_WARNING: [#def1] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/lib/libdevmapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def11] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/lib/luks2/luks2_reencrypt.c:1872:6: warning[core.NullDereference]: Access to field 'digest_new' results in a dereference of a null pointer (loaded from variable 'rh') # 1870| # 1871| /* FIXME: validate in reencrypt context load */ # 1872|-> if (rh->digest_new < 0 && rh->mode != CRYPT_REENCRYPT_DECRYPT) # 1873| return -EINVAL; # 1874| Error: CPPCHECK_WARNING: [#def25] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/lib/random.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def29] cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/setup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def30] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/lib/utils.c: scope_hint: In function 'crypt_keyfile_device_read' cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:331:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor '<unknown>' cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:31: included_from: Included from here. cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/internal.h:190:57: note: in definition of macro 'log_err' cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils.c:220:29: note: in expansion of macro '_' # 329| r = 0; # 330| out: # 331|-> if (fd != STDIN_FILENO) # 332| close(fd); # 333| Error: CPPCHECK_WARNING: [#def32] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/lib/utils_keyring.c: scope_hint: In function 'find_key_by_type_and_desc' cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c:173:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/keys", 0)' cryptsetup-2.7.1-build/cryptsetup-2.7.1/lib/utils_keyring.c:22: included_from: Included from here. # 171| return 0; # 172| # 173|-> while ((n = read(f, buf + buffer_len, sizeof(buf) - buffer_len - 1)) > 0) { # 174| buffer_len += n; # 175| buf[buffer_len] = '\0'; Error: CPPCHECK_WARNING: [#def39] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/src/cryptsetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def47] cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/integritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def48] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/src/utils_luks.c: scope_hint: In function ‘tools_read_json_file’ cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:227:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’ cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:23: included_from: Included from here. cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_luks.c:183:17: note: in expansion of macro ‘log_dbg’ # 225| free(buf); # 226| } # 227|-> return r; # 228| } # 229| Error: CPPCHECK_WARNING: [#def50] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c: scope_hint: In function ‘parse_log’ cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:281:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*rc.log_fd’ cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/cryptsetup.h:33: included_from: Included from here. cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:26: included_from: Included from here. cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/cryptsetup.h:134:58: note: in definition of macro ‘log_std’ cryptsetup-2.7.1-build/cryptsetup-2.7.1/src/utils_reencrypt_luks1.c:320:25: note: in expansion of macro ‘_’ # 279| # 280| s = read(rc->log_fd, rc->log_buf, SECTOR_SIZE); # 281|-> if (s == -1) { # 282| log_err(_("Cannot read reencryption log file.")); # 283| return -EIO; Error: CPPCHECK_WARNING: [#def55] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-build/cryptsetup-2.7.1/src/veritysetup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def57] cryptsetup-2.7.1-build/cryptsetup-2.7.1/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.1-1.fc40 |
store-results-to | /tmp/tmpb8vc8eng/cryptsetup-2.7.1-1.fc40.tar.xz |
time-created | 2024-07-03 12:12:59 |
time-finished | 2024-07-03 12:15:11 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpb8vc8eng/cryptsetup-2.7.1-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpb8vc8eng/cryptsetup-2.7.1-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |