Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c:4716:65: warning[-Wanalyzer-malloc-leak]: leak of ‘make_property("external-helper", 1, 2, 0, 0, &ca_prop_get_external_helper, 0, 0, 0, 0, & ca_prop_set_external_helper, 0, 0, 0, 0, 0)’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c: scope_hint: In function ‘cm_tdbush_iface_ca’
# 4714|   	case cm_tdbush_property_special:
# 4715|   		assert(ret->cm_offset == 0);
# 4716|-> 		if ((ret->cm_access == cm_tdbush_property_read) ||
# 4717|   		    (ret->cm_access == cm_tdbush_property_readwrite)) {
# 4718|   			switch (ret->cm_bus_type) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
certmonger-0.79.19-build/certmonger-0.79.19/src/tdbush.c:4716:65: warning[-Wanalyzer-malloc-leak]: leak of ‘make_property("is-default", 4, 2, 0, 0, 0, 0, 0, &ca_prop_get_is_default, 0, 0, 0, 0, & ca_prop_set_is_default, 0, 0)’
# 4714|   	case cm_tdbush_property_special:
# 4715|   		assert(ret->cm_offset == 0);
# 4716|-> 		if ((ret->cm_access == cm_tdbush_property_read) ||
# 4717|   		    (ret->cm_access == cm_tdbush_property_readwrite)) {
# 4718|   			switch (ret->cm_bus_type) {

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-85.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namecertmonger-0.79.20-1.fc41
diffbase-store-results-to/tmp/tmpjd1riw8o/certmonger-0.79.20-1.fc41.tar.xz
diffbase-time-created2024-07-03 12:13:17
diffbase-time-finished2024-07-03 12:16:21
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpjd1riw8o/certmonger-0.79.20-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpjd1riw8o/certmonger-0.79.20-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-85.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namecertmonger-0.79.19-5.fc40
store-results-to/tmp/tmptlnswl9_/certmonger-0.79.19-5.fc40.tar.xz
time-created2024-07-03 12:09:31
time-finished2024-07-03 12:13:04
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptlnswl9_/certmonger-0.79.19-5.fc40.tar.xz' '--gcc-analyze' '/tmp/tmptlnswl9_/certmonger-0.79.19-5.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9