opendnssec-2.1.14-0.3rc1.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-156): [#def1]
/usr/bin/ods-kasp2html:31:17: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/usr/bin/ods-kasp2html:39:18: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-88): [#def3]
/usr/sbin/ods-control:39:24: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-149): [#def4]
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_mysql:24:17: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def5]
/usr/share/opendnssec/migration/1.4-2.0_db_convert/convert_sqlite:16:17: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def6]
/usr/share/opendnssec/migration/convert_mysql_to_sqlite:24:17: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def7]
/usr/share/opendnssec/migration/convert_sqlite_to_mysql:24:17: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: COMPILER_WARNING (CWE-563): [#def8]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘findcommand’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:67:104: warning[-Wunused-parameter]: unused parameter ‘user’
Error: COMPILER_WARNING (CWE-252): [#def9]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘cmdhandler_perform_command’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:173:13: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def10]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:202:17: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def11]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:209:21: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def12]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:232:25: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def13]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:246:13: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def14]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘cmdhandler_accept_client’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:386:9: warning[-Wunused-variable]: unused variable ‘err’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘cmdhandler_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:471:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmdh’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:54: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:470:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:470:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:470:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-563): [#def16]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘cmdhandler_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:509:13: warning[-Wunused-variable]: unused variable ‘i’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘cmdhandler_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:558:35: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘cmdclient’
/usr/include/sys/select.h:30: included_from: Included from here.
/usr/include/sys/types.h:179: included_from: Included from here.
/usr/include/stdlib.h:514: included_from: Included from here.
/usr/include/ldns/ldns.h:93: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:37: included_from: Included from here.
Error: COMPILER_WARNING: [#def18]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c: scope_hint: In function ‘self_pipe_trick’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.c:596:35: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c: scope_hint: In function ‘duration_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:55:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘duration’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:54:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:54:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:54:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c: scope_hint: In function ‘duration2string’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:261:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘str’
Error: COMPILER_WARNING: [#def21]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c: scope_hint: In function ‘duration2string’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:309:15: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING (CWE-134): [#def22]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c: scope_hint: In function ‘time_datestamp’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/duration.c:499:5: warning[-Wformat-nonliteral]: format not a string literal, format string not checked
Error: COMPILER_WARNING: [#def23]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c: scope_hint: In function ‘ods_build_path’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:128:13: warning[-Wstringop-truncation]: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:112:20: note: length computed here
Error: COMPILER_WARNING: [#def24]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c: scope_hint: In function ‘ods_build_path’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:149:17: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 1 equals source length
Error: COMPILER_WARNING: [#def25]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c: scope_hint: In function ‘ods_replace’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:394:9: warning[-Wstringop-truncation]: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:378:17: note: length computed here
Error: COMPILER_WARNING: [#def26]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c: scope_hint: In function ‘ods_str_list_add’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:549:40: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:549:40: note: earlier argument should specify number of elements, later size of each element
Error: COMPILER_WARNING: [#def27]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:562:31: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.c:562:31: note: earlier argument should specify number of elements, later size of each element
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘janitor_threadclass_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:84:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*threadclass’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘janitor_thread_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:331:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘info’
Error: COMPILER_WARNING (CWE-563): [#def30]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘outputbacktrace’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:490:34: warning[-Wunused-parameter]: unused parameter ‘workaround’
Error: COMPILER_WARNING (CWE-563): [#def31]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:545:22: warning[-Wunused-variable]: unused variable ‘thrinfo’
Error: COMPILER_WARNING (CWE-563): [#def32]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:550:11: warning[-Wunused-variable]: unused variable ‘bt’
Error: COMPILER_WARNING (CWE-563): [#def33]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:551:9: warning[-Wunused-variable]: unused variable ‘count’
Error: COMPILER_WARNING (CWE-563): [#def34]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘handlesignal’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:551:16: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-1164): [#def35]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: At top level
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:640:1: warning[-Wunused-function]: ‘callbackstring’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def36]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘callbackstring’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:640:38: warning[-Wunused-parameter]: unused parameter ‘pc’
Error: CPPCHECK_WARNING (CWE-401): [#def37]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:696: error[memleakOnRealloc]: Common realloc mistake: 'string' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-563): [#def38]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:719:13: warning[-Wunused-variable]: unused variable ‘ss’
Error: COMPILER_WARNING (CWE-563): [#def39]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘janitor_trapsignals’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:721:36: warning[-Wunused-variable]: unused variable ‘frames’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c: scope_hint: In function ‘janitor_pthread_barrier_init’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:778:15: warning[-Wanalyzer-malloc-leak]: leak of ‘b’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:43: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-401): [#def41]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:779: error[memleak]: Memory leak: b
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/janitor.c:790:14: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘b’
Error: COMPILER_WARNING (CWE-1164): [#def43]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c: scope_hint: At top level
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c:75:13: warning[-Wunused-function]: ‘alert’ declared ‘static’ but never defined
Error: COMPILER_WARNING (CWE-195): [#def44]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c: scope_hint: In function ‘alertoutput’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c:89:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def45]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c: scope_hint: In function ‘alertinteger’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c:100:15: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def46]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c: scope_hint: In function ‘alertsyslog’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c:192:22: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-252): [#def47]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c: scope_hint: In function ‘alertsyslog’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/locks.c:197:11: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/longgetopt.c: scope_hint: In function ‘strtoargs’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/longgetopt.c:286:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c:70:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fifoq’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c: scope_hint: In function ‘fifoq_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.h:54: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.h:50: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.h:48: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c:49:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c:49:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.c:49:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-563): [#def50]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c: scope_hint: In function ‘schedule_get_first_task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:81:20: warning[-Wunused-variable]: unused variable ‘node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c: scope_hint: In function ‘schedule_purge_owner’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:287:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tasks’
Error: CPPCHECK_WARNING (CWE-401): [#def52]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:301: error[memleakOnRealloc]: Common realloc mistake: 'tasks' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def53]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c: scope_hint: In function ‘schedule_task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:351:21: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘malloc(40)’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.h:54: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.h:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.h:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:44: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:161:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:162:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:162:5: note: in expansion of macro ‘ods_log_assert’
/usr/include/openssl/crypto.h:519: included_from: Included from here.
/usr/include/openssl/comp.h:22: included_from: Included from here.
/usr/include/openssl/ssl.h:29: included_from: Included from here.
/usr/include/ldns/dane.h:30: included_from: Included from here.
/usr/include/ldns/ldns.h:98: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:40: included_from: Included from here.
/opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/15.0.0/include-fixed/pthread.h:790:12: note: argument 1 of ‘pthread_mutex_init’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c: scope_hint: In function ‘schedule_scheduletask’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.c:624:20: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(owner)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c: scope_hint: In function ‘task_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c:79:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.h:54: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c:37: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c:78:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c:78:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.c:78:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c: scope_hint: In function ‘worker_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c:43:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘worker’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/task.h:54: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/fifoq.h:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.h:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c:27: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c:42:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c:42:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/worker.c:42:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def57]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/str.c: scope_hint: In function ‘ods_strcat_delim’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/str.c:70:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘cat’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/str.c:37: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: COMPILER_WARNING: [#def58]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/strlcat.c:64: warning[-Wpedantic]: ISO C forbids an empty translation unit
Error: COMPILER_WARNING: [#def59]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/strlcpy.c:60: warning[-Wpedantic]: ISO C forbids an empty translation unit
Error: COMPILER_WARNING (CWE-563): [#def60]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/ctrl_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/ctrl_cmd.c:78:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-195): [#def61]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_create_workers’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:167:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-252): [#def62]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_create_workers’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:168:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def63]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:445:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:445:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
Error: COMPILER_WARNING (CWE-843): [#def65]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:456:104: warning[-Wcast-function-type]: cast between incompatible function types from ‘void (*)(void *)’ to ‘void * (*)(void *)’
Error: COMPILER_WARNING (CWE-843): [#def66]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:456:122: warning[-Wcast-function-type]: cast between incompatible function types from ‘db_connection_t * (*)(engine_type *)’ {aka ‘struct db_connection * (*)(struct engine_struct *)’} to ‘void (*)(void *)’
Error: COMPILER_WARNING (CWE-252): [#def67]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:528:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def68]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:549:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def69]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:559:19: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def70]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:564:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def71]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:573:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def72]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:575:29: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipefd[0]’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/cfg.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:128:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/log.h:207:19: note: in definition of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:163:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/log.h:207:19: note: in definition of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:112:5: note: in expansion of macro ‘ods_log_assert’
Error: COMPILER_WARNING (CWE-843): [#def73]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c: scope_hint: In function ‘engine_init’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.c:628:25: warning[-Wcast-function-type]: cast between incompatible function types from ‘void * (*)(sig_atomic_t)’ {aka ‘void * (*)(int)’} to ‘void (*)(int)’
Error: COMPILER_WARNING (CWE-563): [#def74]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c:69:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def75]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c:69:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def76]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c: scope_hint: In function ‘run_flush’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c:143:45: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def77]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/queue_cmd.c:143:57: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_object.c: scope_hint: In function ‘db_object_field_list_add’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_object.c:83:21: warning[-Wanalyzer-malloc-leak]: leak of ‘db_object_field_new_copy(object_field)’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_object.c: scope_hint: In function ‘db_object_field_list_add’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_result.c: scope_hint: In function ‘db_result_list_copy’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_result.c:83:20: warning[-Wanalyzer-malloc-leak]: leak of ‘db_result_new_copy(result)’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/db/db_result.c: scope_hint: In function ‘db_result_list_copy’
Error: COMPILER_WARNING (CWE-563): [#def80]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c: scope_hint: In function ‘perform_enforce’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c:53:21: warning[-Wunused-parameter]: unused parameter ‘sockfd’
Error: COMPILER_WARNING (CWE-563): [#def81]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c: scope_hint: In function ‘enforce_task_perform’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c:138:33: warning[-Wunused-parameter]: unused parameter ‘task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c: scope_hint: In function ‘enforce_task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforce_task.c:147:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(owner)’
Error: COMPILER_WARNING (CWE-563): [#def83]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforcer.c: scope_hint: In function ‘policyApproval’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/enforcer.c:1025:36: warning[-Wunused-variable]: unused variable ‘dnskey_algorithm_rollover’
Error: COMPILER_WARNING (CWE-134): [#def84]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c: scope_hint: In function ‘perform_repositorylist’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c:81:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def85]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c:96:25: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-563): [#def86]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c:126:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def87]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/repositorylist_cmd.c:126:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def88]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_all_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_all_cmd.c:102:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def89]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_all_cmd.c:102:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def90]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_conf_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_conf_cmd.c:59:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def91]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_conf_cmd.c:59:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def92]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_repositorylist_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_repositorylist_cmd.c:128:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def93]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/enforcer/update_repositorylist_cmd.c:128:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-134): [#def94]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/backup_hsmkeys_cmd.c: scope_hint: In function ‘list’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/backup_hsmkeys_cmd.c:138:5: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def95]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/backup_hsmkeys_cmd.c:142:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-563): [#def96]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_generate_cb’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:436:40: warning[-Wunused-parameter]: unused parameter ‘task’
Error: COMPILER_WARNING (CWE-563): [#def97]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_generate_policy_cb’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:468:47: warning[-Wunused-parameter]: unused parameter ‘task’
Error: COMPILER_WARNING (CWE-563): [#def98]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_generate_all_cb’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:490:44: warning[-Wunused-parameter]: unused parameter ‘task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_schedule_generate’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:548:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("hsm_key_factory_schedule_generation")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_schedule_generate_policy’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:586:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("hsm_key_factory_schedule_generation_policy")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_schedule_generate_all’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:618:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("hsm_key_factory_schedule_generation")’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def102]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_delete_key’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:848:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘key_data’
Error: COMPILER_WARNING (CWE-457): [#def103]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function 'hsm_key_factory_delete_key'
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:848:9: warning[-Wmaybe-uninitialized]: 'key_data' may be used uninitialized
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:838:21: note: 'key_data' was declared here
Error: COMPILER_WARNING (CWE-457): [#def104]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c: scope_hint: In function ‘hsm_key_factory_delete_key’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:848:9: warning[-Wmaybe-uninitialized]: ‘key_data’ may be used uninitialized
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/hsmkey/hsm_key_factory.c:838:21: note: ‘key_data’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-416): [#def105]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/key_purge.c: scope_hint: In function ‘free_all’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/key_purge.c:55:25: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘deplist2’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def106]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/key_purge.c:57:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘deplist2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/key_purge.c: scope_hint: In function ‘removeDeadKeysNow’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/key_purge.c:159:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘deplist2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c: scope_hint: In function ‘exec_dnskey_by_id’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c:193:36: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(ds_command, "w")’
/usr/include/ldns/buffer.h:16: included_from: Included from here.
/usr/include/ldns/ldns.h:96: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/scheduler/schedule.h:38: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/daemon/engine.h:43: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c:34: included_from: Included from here.
Error: COMPILER_WARNING (CWE-134): [#def109]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c: scope_hint: In function ‘ds_list_keys’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c:268:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def110]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c:279:17: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-563): [#def111]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c: scope_hint: In function ‘run_ds_cmd’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds.c:444:14: warning[-Wunused-variable]: unused variable ‘buf’
Error: COMPILER_WARNING (CWE-563): [#def112]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_retract_task.c: scope_hint: In function ‘keystate_ds_retract_task_perform’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_retract_task.c:40:45: warning[-Wunused-parameter]: unused parameter ‘task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_retract_task.c: scope_hint: In function ‘keystate_ds_retract_task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_retract_task.c:53:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(owner)’
Error: COMPILER_WARNING (CWE-563): [#def114]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_submit_task.c: scope_hint: In function ‘keystate_ds_submit_task_perform’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_submit_task.c:42:44: warning[-Wunused-parameter]: unused parameter ‘task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_submit_task.c: scope_hint: In function ‘keystate_ds_submit_task’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_ds_submit_task.c:55:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(owner)’
Error: COMPILER_WARNING (CWE-195): [#def116]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_import_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_import_cmd.c:547:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
Error: COMPILER_WARNING (CWE-563): [#def117]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_list_cmd.c: scope_hint: In function ‘keystate’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/keystate_list_cmd.c:72:13: warning[-Wunused-variable]: unused variable ‘dsretract’
Error: COMPILER_WARNING (CWE-134): [#def118]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/rollover_list_cmd.c: scope_hint: In function ‘print_zone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/rollover_list_cmd.c:95:25: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def119]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/rollover_list_cmd.c: scope_hint: In function ‘perform_rollover_list’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/rollover_list_cmd.c:137:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING: [#def120]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_del_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_del_cmd.c:187:9: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 13 equals source length
Error: COMPILER_WARNING: [#def121]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_del_cmd.c:220:13: warning[-Wstringop-overflow=]: ‘strncat’ specified bound 13 equals source length
Error: COMPILER_WARNING (CWE-563): [#def122]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c: scope_hint: At top level
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c:46:20: warning[-Wunused-variable]: ‘module_str’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def123]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c:64:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def124]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c:64:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-134): [#def125]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c:91:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def126]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_list_cmd.c:127:13: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-563): [#def127]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_set_policy_cmd.c: scope_hint: In function ‘set_zone_policy’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_set_policy_cmd.c:74:57: warning[-Wunused-parameter]: unused parameter ‘dbconn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_set_policy_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zone_set_policy_cmd.c:137:40: warning[-Wanalyzer-malloc-leak]: leak of ‘policy_name’
Error: COMPILER_WARNING (CWE-563): [#def129]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_export_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_export_cmd.c:59:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def130]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_export_cmd.c:59:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-134): [#def131]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_import.c: scope_hint: In function ‘zonelist_import’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_import.c:225:29: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-477): [#def132]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_update.c: scope_hint: In function ‘zonelist_update’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_update.c:77:9: warning[-Wdeprecated-declarations]: ‘xmlKeepBlanksDefault’ is deprecated
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
/usr/include/libxml2/libxml/xpath.h:27: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.h:38: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/keystate/zonelist_update.c:31: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:957:17: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcer.c: scope_hint: In function ‘interface_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcer.c:350:12: warning[-Wanalyzer-malloc-leak]: leak of ‘popen("pgrep ods-enforcerd", "r")’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcer.c:49: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def134]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcer.c:350:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘popen("pgrep ods-enforcerd", "r")’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcer.c:37: included_from: Included from here.
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
Error: COMPILER_WARNING (CWE-477): [#def135]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c: scope_hint: In function ‘program_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c:101:5: warning[-Wdeprecated-declarations]: ‘xmlInitGlobals’ is deprecated
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c:35: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:923:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def136]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c:103:5: warning[-Wdeprecated-declarations]: ‘xmlInitThreads’ is deprecated
/usr/include/libxml2/libxml/parser.h:28: included_from: Included from here.
/usr/include/libxml2/libxml/threads.h:58:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def137]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c: scope_hint: In function ‘program_teardown’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c:116:5: warning[-Wdeprecated-declarations]: ‘xmlCleanupGlobals’ is deprecated
/usr/include/libxml2/libxml/parser.h:926:17: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def138]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c: scope_hint: In function ‘main’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-enforcerd.c:153:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def139]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c: scope_hint: In function ‘callback’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:132:27: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def140]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:132:53: warning[-Wunused-parameter]: unused parameter ‘names’
Error: COMPILER_WARNING (CWE-1164): [#def141]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c: scope_hint: At top level
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:279:1: warning[-Wunused-function]: ‘dblayer_close’ defined but not used
Error: COMPILER_WARNING (CWE-477): [#def142]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c: scope_hint: In function ‘main’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:364:5: warning[-Wdeprecated-declarations]: ‘xmlInitGlobals’ is deprecated
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:31: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:923:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def143]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:366:5: warning[-Wdeprecated-declarations]: ‘xmlInitThreads’ is deprecated
/usr/include/libxml2/libxml/parser.h:28: included_from: Included from here.
/usr/include/libxml2/libxml/threads.h:58:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def144]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/ods-migrate.c:435:5: warning[-Wdeprecated-declarations]: ‘xmlCleanupGlobals’ is deprecated
/usr/include/libxml2/libxml/parser.h:926:17: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def145]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.c: scope_hint: In function ‘parse_conf_clisock_filename’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.c:449:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.h:37: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.c:154:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/parser/confparser.c:155:5: note: in expansion of macro ‘ods_log_assert’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: COMPILER_WARNING (CWE-563): [#def146]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_list_cmd.c:61:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def147]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_list_cmd.c:61:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-134): [#def148]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_list_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_list_cmd.c:75:9: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-134): [#def149]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_list_cmd.c:80:25: warning[-Wformat-nonliteral]: format not a string literal, argument types not checked
Error: COMPILER_WARNING (CWE-563): [#def150]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_purge_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_purge_cmd.c:59:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def151]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_purge_cmd.c:59:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def152]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_cmd.c:62:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def153]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_cmd.c:62:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def154]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c: scope_hint: In function ‘performresalt’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c:103:26: warning[-Wunused-parameter]: unused parameter ‘task’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c: scope_hint: In function ‘flush_resalt_task_all’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c:199:23: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(policy_name(policy_list_next(policy_list_new(dbconn))))’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c: scope_hint: In function ‘flush_resalt_task_now’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/policy/policy_resalt_task.c:224:23: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(policy_name(policy_list_next(policy_list_new(dbconn))))’
Error: COMPILER_WARNING (CWE-563): [#def157]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_cmd.c: scope_hint: In function ‘run’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_cmd.c:61:39: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def158]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_cmd.c:61:51: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def159]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c: scope_hint: In function ‘perform’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c:40:20: warning[-Wunused-parameter]: unused parameter ‘task’
Error: COMPILER_WARNING (CWE-563): [#def160]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c: scope_hint: In function ‘signconf_task_flush_zone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c:76:64: warning[-Wunused-parameter]: unused parameter ‘dbconn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c: scope_hint: In function ‘signconf_task_flush_zone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/signconf/signconf_task.c:81:12: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(zonename)’
Error: COMPILER_WARNING (CWE-843): [#def162]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c: scope_hint: In function ‘check_rng’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:136:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(FILE *, const char *, ...)’ to ‘void (*)(void *, const char *, ...)’
Error: COMPILER_WARNING (CWE-843): [#def163]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:137:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(FILE *, const char *, ...)’ to ‘void (*)(void *, const char *, ...)’
Error: COMPILER_WARNING (CWE-843): [#def164]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:167:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(FILE *, const char *, ...)’ to ‘void (*)(void *, const char *, ...)’
Error: COMPILER_WARNING (CWE-843): [#def165]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:168:17: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(FILE *, const char *, ...)’ to ‘void (*)(void *, const char *, ...)’
Error: COMPILER_WARNING: [#def166]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c: scope_hint: In function ‘check_zonelist’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:1753:45: warning[-Wformat-overflow=]: ‘%s’ directive argument is null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def167]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c: scope_hint: In function ‘check_kasp’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/enforcer/src/utils/kc_helper.c:1851:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/checks/hsmcheck.c: scope_hint: In function ‘main’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/checks/hsmcheck.c:83:22: warning[-Wanalyzer-malloc-leak]: leak of ‘config’
Error: COMPILER_WARNING (CWE-563): [#def169]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/bin/hsmutil.c: scope_hint: In function ‘cmd_copy’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/bin/hsmutil.c:281:11: warning[-Wunused-variable]: unused variable ‘repository’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/bin/hsmutil.c: scope_hint: In function ‘main’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/bin/hsmutil.c:659:22: warning[-Wanalyzer-malloc-leak]: leak of ‘config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘libhsm_key_new’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:804:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1350:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘libhsm_key_new’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘libhsm_key_new’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘libhsm_key_new’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘libhsm_key_new’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:803:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:803:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:803:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘hsm_hex_parse’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1352:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bytes’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1350:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1350:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1350:5: note: in expansion of macro ‘CHECKALLOC’
Error: CPPCHECK_WARNING (CWE-401): [#def173]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:2505: error[memleakOnRealloc]: Common realloc mistake: 'keys' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘hsm_get_key_info’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3193:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key_info’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3191:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3191:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3191:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING: [#def175]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘hsm_get_error’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3524:18: warning[-Wformat-truncation=]: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 501 and 510
/usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 3 or more bytes (assuming 523) into a destination of size 512
Error: GCC_ANALYZER_WARNING (CWE-476): [#def176]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3687:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:1350:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:803:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c: scope_hint: In function ‘keycache_lookup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3686:13: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3686:13: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/libhsm/src/lib/libhsm.c:3686:13: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-195): [#def177]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapi.c: scope_hint: In function ‘adapi_process_rr’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapi.c:329:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-476): [#def178]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c: scope_hint: In function ‘adapter_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c:52:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘adapter’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.h:48: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c:51:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c:51:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.c:51:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def179]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c: scope_hint: In function ‘dnsin_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:506:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addns’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapi.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:505:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:505:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:505:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def180]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c: scope_hint: In function ‘dnsout_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:522:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addns’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:521:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:521:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:521:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-563): [#def181]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c: scope_hint: In function ‘dnsin_update’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.c:570:17: warning[-Wunused-variable]: unused variable ‘new_addns’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c: scope_hint: In function ‘engine_config’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c:73:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ecfg’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.h:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c:71:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c:71:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.c:71:9: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.h:40: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c: scope_hint: In function ‘dnshandler_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:53: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:170:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:209:5: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:170:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:174:9: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def185]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c: scope_hint: In function ‘dnshandler_cleanup.part.0’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:290:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*dnshandler_1(D)->socklist.udp[i].s’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:57:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:71:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c:71:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/dnshandler.c: scope_hint: In function ‘dnshandler_cleanup.part.0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def186]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:77:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘engine’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.h:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:76:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:76:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:76:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-252): [#def187]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_create_workers’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:230:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def188]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:234:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_start_workers’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:250:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘context’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:249:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:249:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:249:9: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-563): [#def190]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_wakeup_workers’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:293:12: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-563): [#def191]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:340:9: warning[-Wunused-variable]: unused variable ‘fd’
Error: COMPILER_WARNING (CWE-563): [#def192]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:340:13: warning[-Wunused-variable]: unused variable ‘error’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:344:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:188:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/log.h:207:19: note: in definition of macro ‘ods_log_assert’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def194]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:344:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[1]’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:188:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/log.h:207:19: note: in definition of macro ‘ods_log_assert’
Error: COMPILER_WARNING (CWE-477): [#def195]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:410:17: warning[-Wdeprecated-declarations]: ‘xmlCleanupGlobals’ is deprecated
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:52: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:926:17: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def196]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:430:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def197]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:439:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipefd[1]’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:188:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/log.h:207:19: note: in definition of macro ‘ods_log_assert’
Error: COMPILER_WARNING (CWE-252): [#def198]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:440:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-843): [#def199]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:449:25: warning[-Wcast-function-type]: cast between incompatible function types from ‘void * (*)(sig_atomic_t)’ {aka ‘void * (*)(int)’} to ‘void (*)(int)’
Error: COMPILER_WARNING (CWE-252): [#def200]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:469:9: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-195): [#def201]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c: scope_hint: In function ‘engine_cleanup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.c:901:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-563): [#def202]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_help’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:44:64: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def203]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_zones’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:94:65: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘getlong’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:302:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘endptr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def205]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:321:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘endptr’
Error: COMPILER_WARNING (CWE-563): [#def206]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_sign’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:337:11: warning[-Wunused-but-set-variable]: variable ‘signtime’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def207]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_queue’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:492:65: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def208]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_flush’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:543:65: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def209]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_reload’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:564:66: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def210]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_stop’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:586:64: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def211]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:607:65: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-563): [#def212]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_running’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:622:67: warning[-Wunused-parameter]: unused parameter ‘cmd’
Error: COMPILER_WARNING (CWE-1164): [#def213]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:655:1: warning[-Wunused-function]: ‘cmdhandler_handle_cmd_error’ defined but not used
Error: COMPILER_WARNING (CWE-563): [#def214]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: In function ‘cmdhandler_handle_cmd_error’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:655:62: warning[-Wunused-parameter]: unused parameter ‘context’
Error: COMPILER_WARNING (CWE-909): [#def215]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c: scope_hint: At top level
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:712:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.h:41: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:10: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def216]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:713:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def217]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:714:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def218]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:715:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def219]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:716:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def220]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:717:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def221]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:718:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def222]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:719:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def223]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:720:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def224]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:721:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def225]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:722:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def226]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:723:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def227]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:724:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-909): [#def228]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signercommands.c:725:8: warning[-Wmissing-field-initializers]: missing initializer for field ‘names’ of ‘struct cmd_func_block’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/cmdhandler.h:73:12: note: ‘names’ declared here
Error: COMPILER_WARNING (CWE-563): [#def229]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘worker_check_jobs’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:135:61: warning[-Wunused-parameter]: unused parameter ‘ntasks’
Error: COMPILER_WARNING (CWE-563): [#def230]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_readsignconf’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:209:46: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: COMPILER_WARNING (CWE-563): [#def231]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_forcereadsignconf’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:239:33: warning[-Wunused-parameter]: unused parameter ‘task’
Error: COMPILER_WARNING (CWE-563): [#def232]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:239:51: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: COMPILER_WARNING (CWE-563): [#def233]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_signzone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:268:42: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: COMPILER_WARNING (CWE-563): [#def234]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_readzone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:352:42: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: CPPCHECK_WARNING (CWE-758): [#def235]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:388: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: COMPILER_WARNING (CWE-393): [#def236]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_readzone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:405:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-563): [#def237]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_forcereadzone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:408:47: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: COMPILER_WARNING (CWE-563): [#def238]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c: scope_hint: In function ‘do_writezone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/signertasks.c:457:43: warning[-Wunused-parameter]: unused parameter ‘zonename’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c: scope_hint: In function ‘xfrhandler_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c:56:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘xfrh’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.h:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.h:40: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c:55:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c:55:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/xfrhandler.c:55:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def240]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c: scope_hint: In function ‘interface_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c:349:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘popen("pgrep ods-signerd", "r")’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c:49: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c:37: included_from: Included from here.
/usr/include/stdio.h:654:14: note: argument 3 of ‘fgets’ must be non-null
Error: COMPILER_WARNING (CWE-252): [#def241]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c: scope_hint: In function ‘interface_start’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signer.c:349:9: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-477): [#def242]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c: scope_hint: In function ‘program_setup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c:97:5: warning[-Wdeprecated-declarations]: ‘xmlInitGlobals’ is deprecated
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c:39: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:923:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def243]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c:99:5: warning[-Wdeprecated-declarations]: ‘xmlInitThreads’ is deprecated
/usr/include/libxml2/libxml/parser.h:28: included_from: Included from here.
/usr/include/libxml2/libxml/threads.h:58:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def244]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c: scope_hint: In function ‘program_teardown’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c:109:5: warning[-Wdeprecated-declarations]: ‘xmlCleanupGlobals’ is deprecated
/usr/include/libxml2/libxml/parser.h:926:17: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def245]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c: scope_hint: In function ‘main’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/ods-signerd.c:141:9: warning[-Wunused-result]: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def246]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/addnsparser.c: scope_hint: In function ‘parse_addns_remote’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/addnsparser.c:126:13: warning[-Wanalyzer-double-free]: double-‘free’ of ‘port’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def247]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c: scope_hint: In function ‘parse_conf_zonelist_filename’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:438:9: warning[-Wanalyzer-null-argument]: use of NULL ‘dup’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:34: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:363:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:364:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:437:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:437:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:437:9: note: in expansion of macro ‘CHECKALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def248]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:444:9: warning[-Wanalyzer-null-argument]: use of NULL ‘dup’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:363:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:364:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:443:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:443:9: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:443:9: note: in expansion of macro ‘CHECKALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def249]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c: scope_hint: In function ‘parse_conf_clisock_filename’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:527:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dup’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:363:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.c:364:5: note: in expansion of macro ‘ods_log_assert’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/signconfparser.c: scope_hint: In function ‘parse_sc_dnskey_sigrrs’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/signconfparser.c:347:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘signatureresourcerecords’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c: scope_hint: In function ‘domain_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c:95:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘domain’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/backup.h:37: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c:34: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c:94:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c:94:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/domain.c:94:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c: scope_hint: In function ‘part_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c:51:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘part’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/util.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c:50:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c:50:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/ixfr.c:50:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-697): [#def253]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/keys.c: scope_hint: In function ‘keylist_lookup_by_locator’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/keys.c:80:13: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘kl->keys + (sizetype)((long unsigned int)i * 56)’ must not be NULL
Error: COMPILER_WARNING (CWE-195): [#def254]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c: scope_hint: In function ‘rrset_lookup_ttl’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:265:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c: scope_hint: In function ‘rrsigkeymatching’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:542:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘matches’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:542:45: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rrsigs’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def257]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:542:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: COMPILER_WARNING (CWE-195): [#def258]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c: scope_hint: In function ‘rrsigkeymatching’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:546:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:555:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘matches’
Error: COMPILER_WARNING (CWE-563): [#def260]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:583:19: warning[-Wunused-variable]: unused variable ‘j’
Error: COMPILER_WARNING (CWE-563): [#def261]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:587:13: warning[-Wunused-variable]: unused variable ‘algorithm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c: scope_hint: In function ‘rrset_sign’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:611:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘rrsigs’
Error: COMPILER_WARNING (CWE-195): [#def263]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c: scope_hint: In function ‘rrset_sign’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:760:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def264]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/rrset.c:769:15: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c: scope_hint: In function ‘signconf_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c:51:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sc’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/confparser.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/parser/signconfparser.h:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c:50:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c:50:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/signconf.c:50:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c: scope_hint: In function ‘stats_clear’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c:57:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stats’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c:56:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c:56:5: note: in expansion of macro ‘ods_log_assert’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/stats.c:56:5: note: in expansion of macro ‘ods_log_assert’
Error: COMPILER_WARNING (CWE-563): [#def267]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:58:9: warning[-Wunused-variable]: unused variable ‘err’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:80:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘zone’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/addns.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/adapter/adapter.h:48: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:32: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:63:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:63:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:63:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-563): [#def269]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_rollback_dnskeys’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:283:14: warning[-Wunused-but-set-variable]: variable ‘dnskey’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def270]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:308:17: warning[-Wunused-variable]: unused variable ‘rrset’
Error: COMPILER_WARNING (CWE-563): [#def271]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_publish_nsec3param’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:309:14: warning[-Wunused-variable]: unused variable ‘n3prr’
Error: COMPILER_WARNING (CWE-195): [#def272]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_add_rr’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:588:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def273]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_del_nsec3params’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:683:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c: scope_hint: In function ‘zone_recover2’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/signer/zone.c:908:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(salt)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c: scope_hint: In function ‘acl_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c:133:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘acl’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c:34: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c:132:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c:132:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/acl.c:132:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c: scope_hint: In function ‘listener_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:49:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘listener’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:48:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:48:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:48:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c: scope_hint: In function ‘listener_push’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:74:53: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(address)’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:66:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/listener.c:66:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c: scope_hint: In function ‘netio_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:43:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘netio’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.h:55: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:17: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:42:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:42:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:42:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c: scope_hint: In function ‘netio_add_handler’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:61:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘l’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:60:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:60:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/netio.c:60:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c: scope_hint: In function ‘sock_handle_tcp_accept’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:476:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tcp_data’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/cfg.h:35: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/daemon/engine.h:40: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:475:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:475:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:475:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:493:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tcp_handler’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:475:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:492:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:492:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/sock.c:492:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c: scope_hint: In function ‘tcp_conn_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:50:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tcp_conn’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.h:41: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:33: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:48:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:48:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:48:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def283]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c: scope_hint: In function ‘tcp_set_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:72:5: warning[-Wanalyzer-null-argument]: use of NULL ‘tcp_set’ where non-null expected
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:71:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:71:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tcpset.c:71:5: note: in expansion of macro ‘CHECKALLOC’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘tsig_openssl_init_algorithm’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:74:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘algorithm’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.h:38: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:73:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:73:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:73:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-477): [#def285]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘cleanup_context’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:130:5: warning[-Wdeprecated-declarations]: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/ssl.h:38: included_from: Included from here.
/usr/include/ldns/dane.h:30: included_from: Included from here.
/usr/include/ldns/ldns.h:98: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/buffer.h:40: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.h:39: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:36: included_from: Included from here.
/usr/include/openssl/hmac.h:35:28: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def286]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘context_add_cleanup’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:144:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:143:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:143:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:143:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING (CWE-477): [#def287]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘create_context’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:154:5: warning[-Wdeprecated-declarations]: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/hmac.h:33:33: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def288]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:155:5: warning[-Wdeprecated-declarations]: ‘HMAC_CTX_reset’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/hmac.h:34:27: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def289]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘init_context’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:169:5: warning[-Wdeprecated-declarations]: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/hmac.h:43:27: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def290]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘update’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:176:5: warning[-Wdeprecated-declarations]: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/hmac.h:45:27: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def291]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c: scope_hint: In function ‘final’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig-openssl.c:184:5: warning[-Wdeprecated-declarations]: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0
/usr/include/openssl/hmac.h:47:27: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c: scope_hint: In function ‘tsig_key_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:195:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘key’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/file.h:36: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:37: included_from: Included from here.
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:178:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:178:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:178:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c: scope_hint: In function ‘tsig_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:215:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tsig’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:214:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:214:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:214:5: note: in expansion of macro ‘CHECKALLOC’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c: scope_hint: In function ‘tsig_rr_create’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:278:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘trr’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/common/status.h:121:30: note: in definition of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:277:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:277:5: note: in expansion of macro ‘CHECKALLOC’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/tsig.c:277:5: note: in expansion of macro ‘CHECKALLOC’
Error: COMPILER_WARNING: [#def295]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c: scope_hint: In function ‘xfrd_handle_packet’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1197:42: warning[-Wimplicit-fallthrough=]: this statement may fall through
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1198:9: note: here
Error: COMPILER_WARNING: [#def296]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c: scope_hint: In function ‘xfrd_tcp_read’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1550:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1553:9: note: here
Error: COMPILER_WARNING: [#def297]
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c: scope_hint: In function ‘xfrd_udp_read’
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1834:13: warning[-Wimplicit-fallthrough=]: this statement may fall through
opendnssec-2.1.14-build/opendnssec-2.1.14rc1/signer/src/wire/xfrd.c:1837:9: note: here
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-201.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | opendnssec-2.1.14-0.3rc1.fc42 |
store-results-to | /tmp/tmpfspkwvj1/opendnssec-2.1.14-0.3rc1.fc42.tar.xz |
time-created | 2024-11-13 02:12:39 |
time-finished | 2024-11-13 02:15:03 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpfspkwvj1/opendnssec-2.1.14-0.3rc1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpfspkwvj1/opendnssec-2.1.14-0.3rc1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |