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-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 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-85.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | certmonger-0.79.20-1.fc41 |
diffbase-store-results-to | /tmp/tmpjd1riw8o/certmonger-0.79.20-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 12:13:17 |
diffbase-time-finished | 2024-07-03 12:16:21 |
diffbase-tool | csmock |
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-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-85.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | certmonger-0.79.19-5.fc40 |
store-results-to | /tmp/tmptlnswl9_/certmonger-0.79.19-5.fc40.tar.xz |
time-created | 2024-07-03 12:09:31 |
time-finished | 2024-07-03 12:13:04 |
title | Fixed defects |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |