Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
openssl-3.2.1-build/openssl-3.2.1/crypto/cms/cms_env.c: scope_hint: In function 'cms_RecipientInfo_ktri_decrypt'
openssl-3.2.1-build/openssl-3.2.1/crypto/cms/cms_env.c:597:21: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
#  595|       if (cms->d.envelopedData->encryptedContentInfo->havenocert
#  596|               && !cms->d.envelopedData->encryptedContentInfo->debug) {
#  597|->         X509_ALGOR *calg = ec->contentEncryptionAlgorithm;
#  598|           char name[OSSL_MAX_NAME_SIZE];
#  599|   

Error: CLANG_WARNING: [#def2]
openssl-3.2.1-build/openssl-3.2.1/ssl/record/rec_layer_s3.c:95:51: warning[core.NullDereference]: Dereference of null pointer
#   93|           max_early_data = s->recv_max_early_data;
#   94|       else
#   95|->         max_early_data = s->recv_max_early_data < sess->ext.max_early_data
#   96|                            ? s->recv_max_early_data : sess->ext.max_early_data;
#   97|   

Error: CPPCHECK_WARNING: [#def3]
openssl-3.2.1-build/openssl-3.2.1/test/threadpool_test.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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-157.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameopenssl-3.2.2-3.fc41
diffbase-store-results-to/tmp/tmpuavh4xo8/openssl-3.2.2-3.fc41.tar.xz
diffbase-time-created2024-07-03 17:00:57
diffbase-time-finished2024-07-03 17:36:15
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpuavh4xo8/openssl-3.2.2-3.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpuavh4xo8/openssl-3.2.2-3.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-157.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameopenssl-3.2.1-2.fc40
store-results-to/tmp/tmp2vs9slfn/openssl-3.2.1-2.fc40.tar.xz
time-created2024-07-03 16:25:23
time-finished2024-07-03 17:00:28
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp2vs9slfn/openssl-3.2.1-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp2vs9slfn/openssl-3.2.1-2.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9