2025-05-06 18:37 ftp://ftp.de.debian.org/debian/pool/main/o/opendnssec/opendnssec_2.1.13.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --library=sqlite3 --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 7303e80 (2025-05-06 19:50:58 +0200) count: 1284 1270 elapsed-time: 5.9 6.1 head-timing-info: old-timing-info: head results: opendnssec-2.1.13/common/clientpipe.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/clientpipe.c:126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/clientpipe.c:156:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/clientpipe.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/datastructure.c:98:56: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/datastructure.c:149:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/cmdhandler.c:260:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:287:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:402:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:432:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:511:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:584:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:172:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:248:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:279:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:423:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:476:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/duration.c:185:13: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] opendnssec-2.1.13/common/duration.c:261:5: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] opendnssec-2.1.13/common/duration.c:260:25: note: Assuming allocation function fails opendnssec-2.1.13/common/duration.c:260:11: note: Assignment 'str=(char*)calloc(count,sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/duration.c:261:5: note: Null pointer dereference opendnssec-2.1.13/common/duration.c:262:5: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] opendnssec-2.1.13/common/duration.c:260:25: note: Assuming allocation function fails opendnssec-2.1.13/common/duration.c:260:11: note: Assignment 'str=(char*)calloc(count,sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/duration.c:262:5: note: Null pointer dereference opendnssec-2.1.13/common/duration.c:438:24: style:inconclusive: Function 'set_time_now_str' argument 1 names different: declaration 'now' definition 'time_arg'. [funcArgNamesDifferent] opendnssec-2.1.13/common/duration.h:139:28: note: Function 'set_time_now_str' argument 1 names different: declaration 'now' definition 'time_arg'. opendnssec-2.1.13/common/duration.c:438:24: note: Function 'set_time_now_str' argument 1 names different: declaration 'now' definition 'time_arg'. opendnssec-2.1.13/common/duration.c:71:33: style: Parameter 'd1' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/duration.c:71:52: style: Parameter 'd2' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/duration.c:114:11: style: Variable 'P' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/duration.c:217:32: style: Parameter 'duration' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/duration.c:483:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/duration.c:185:17: style: Variable 'str' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/janitor.c:115:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_DETACHED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:301:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGSTKSZ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:336:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:738:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:759:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:778:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/janitor.c:803:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/file.c:554:13: style: Condition 'old' is always true [knownConditionTrueFalse] opendnssec-2.1.13/common/file.c:325:29: style:inconclusive: Function 'ods_strlowercmp' argument 1 names different: declaration 's1' definition 'str1'. [funcArgNamesDifferent] opendnssec-2.1.13/common/file.h:152:33: note: Function 'ods_strlowercmp' argument 1 names different: declaration 's1' definition 'str1'. opendnssec-2.1.13/common/file.c:325:29: note: Function 'ods_strlowercmp' argument 1 names different: declaration 's1' definition 'str1'. opendnssec-2.1.13/common/file.c:325:47: style:inconclusive: Function 'ods_strlowercmp' argument 2 names different: declaration 's2' definition 'str2'. [funcArgNamesDifferent] opendnssec-2.1.13/common/file.h:152:49: note: Function 'ods_strlowercmp' argument 2 names different: declaration 's2' definition 'str2'. opendnssec-2.1.13/common/file.c:325:47: note: Function 'ods_strlowercmp' argument 2 names different: declaration 's2' definition 'str2'. opendnssec-2.1.13/common/file.c:360:11: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/file.c:106:21: style: Variable 'len_file' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/file.c:108:22: style: Variable 'len_total' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/file.c:419:19: style: Variable 'read_size' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/file.c:541:18: style: Variable 'count' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/janitor.c:779:9: error: Memory leak: b [memleak] opendnssec-2.1.13/common/janitor.c:84:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *threadclass [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:83:26: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:83:26: note: Assignment '*threadclass=malloc(sizeof(struct janitor_threadclass_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:84:6: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:330:18: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:330:18: note: Assignment 'info=malloc(sizeof(struct janitor_thread_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:331:5: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:332:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:330:18: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:330:18: note: Assignment 'info=malloc(sizeof(struct janitor_thread_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:332:5: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:333:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:330:18: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:330:18: note: Assignment 'info=malloc(sizeof(struct janitor_thread_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:333:5: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:334:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:330:18: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:330:18: note: Assignment 'info=malloc(sizeof(struct janitor_thread_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:334:5: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:335:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] opendnssec-2.1.13/common/janitor.c:330:18: note: Assuming allocation function fails opendnssec-2.1.13/common/janitor.c:330:18: note: Assignment 'info=malloc(sizeof(struct janitor_thread_struct))', assigned value is 0 opendnssec-2.1.13/common/janitor.c:335:5: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:645:72: warning: Either the condition 'function==NULL' is redundant or there is possible null pointer dereference: function. [nullPointerRedundantCheck] opendnssec-2.1.13/common/janitor.c:644:53: note: Assuming that condition 'function==NULL' is not redundant opendnssec-2.1.13/common/janitor.c:645:72: note: Null pointer dereference opendnssec-2.1.13/common/janitor.c:81:51: style:inconclusive: Function 'janitor_threadclass_create' argument 1 names different: declaration 'threadclassptr' definition 'threadclass'. [funcArgNamesDifferent] opendnssec-2.1.13/common/janitor.h:51:62: note: Function 'janitor_threadclass_create' argument 1 names different: declaration 'threadclassptr' definition 'threadclass'. opendnssec-2.1.13/common/janitor.c:81:51: note: Function 'janitor_threadclass_create' argument 1 names different: declaration 'threadclassptr' definition 'threadclass'. opendnssec-2.1.13/common/janitor.c:444:35: style: Variable 'info' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/janitor.c:490:34: style: Parameter 'workaround' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/janitor.c:721:36: style: Variable 'frames' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/janitor.c:545:22: style: Unused variable: thrinfo [unusedVariable] opendnssec-2.1.13/common/janitor.c:719:13: style: Unused variable: ss [unusedVariable] opendnssec-2.1.13/common/janitor.c:721:36: style: Unused variable: frames [unusedVariable] opendnssec-2.1.13/common/locks.c:56:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/log.c:89:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/log.c:243:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/cmdhandler.c:451:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] opendnssec-2.1.13/common/cmdhandler.c:96:46: style: Condition 'argi+ncmdwords>=argc' is always false [knownConditionTrueFalse] opendnssec-2.1.13/common/cmdhandler.c:90:55: note: Assuming that condition 'argi+ncmdwords=argc' is always false opendnssec-2.1.13/common/cmdhandler.c:525:23: style: Condition 'cmdhandler->need_to_exit' is always false [knownConditionTrueFalse] opendnssec-2.1.13/common/cmdhandler.c:515:37: note: Assuming that condition 'cmdhandler->need_to_exit==0' is not redundant opendnssec-2.1.13/common/cmdhandler.c:525:23: note: Condition 'cmdhandler->need_to_exit' is always false opendnssec-2.1.13/common/cmdhandler.c:515:12: warning: Either the condition '!cmdhandler' is redundant or there is possible null pointer dereference: cmdhandler. [nullPointerRedundantCheck] opendnssec-2.1.13/common/cmdhandler.c:511:5: note: Assuming that condition '!cmdhandler' is not redundant opendnssec-2.1.13/common/cmdhandler.c:515:12: note: Null pointer dereference opendnssec-2.1.13/common/cmdhandler.c:558:13: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdclient [nullPointerOutOfMemory] opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assuming allocation function fails opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assignment 'cmdclient=malloc(sizeof(struct cmdhandler_ctx_type))', assigned value is 0 opendnssec-2.1.13/common/cmdhandler.c:558:13: note: Null pointer dereference opendnssec-2.1.13/common/cmdhandler.c:559:13: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdclient [nullPointerOutOfMemory] opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assuming allocation function fails opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assignment 'cmdclient=malloc(sizeof(struct cmdhandler_ctx_type))', assigned value is 0 opendnssec-2.1.13/common/cmdhandler.c:559:13: note: Null pointer dereference opendnssec-2.1.13/common/cmdhandler.c:560:13: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdclient [nullPointerOutOfMemory] opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assuming allocation function fails opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assignment 'cmdclient=malloc(sizeof(struct cmdhandler_ctx_type))', assigned value is 0 opendnssec-2.1.13/common/cmdhandler.c:560:13: note: Null pointer dereference opendnssec-2.1.13/common/cmdhandler.c:561:13: warning: If memory allocation fails, then there is a possible null pointer dereference: cmdclient [nullPointerOutOfMemory] opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assuming allocation function fails opendnssec-2.1.13/common/cmdhandler.c:557:31: note: Assignment 'cmdclient=malloc(sizeof(struct cmdhandler_ctx_type))', assigned value is 0 opendnssec-2.1.13/common/cmdhandler.c:561:13: note: Null pointer dereference opendnssec-2.1.13/common/log.c:265:12: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] opendnssec-2.1.13/common/cmdhandler.c:416:65: style:inconclusive: Function 'cmdhandler_create' argument 2 names different: declaration 'functions' definition 'commands'. [funcArgNamesDifferent] opendnssec-2.1.13/common/cmdhandler.h:94:82: note: Function 'cmdhandler_create' argument 2 names different: declaration 'functions' definition 'commands'. opendnssec-2.1.13/common/cmdhandler.c:416:65: note: Function 'cmdhandler_create' argument 2 names different: declaration 'functions' definition 'commands'. opendnssec-2.1.13/common/cmdhandler.c:67:46: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/common/cmdhandler.c:91:23: style: Variable 'nextcmdname' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/cmdhandler.c:578:34: style: Parameter 'cmdhandler' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/log.c:83:26: style:inconclusive: Function 'ods_log_init' argument 1 names different: declaration 'program_name' definition 'programname'. [funcArgNamesDifferent] opendnssec-2.1.13/common/log.h:63:31: note: Function 'ods_log_init' argument 1 names different: declaration 'program_name' definition 'programname'. opendnssec-2.1.13/common/log.c:83:26: note: Function 'ods_log_init' argument 1 names different: declaration 'program_name' definition 'programname'. opendnssec-2.1.13/common/log.c:83:67: style:inconclusive: Function 'ods_log_init' argument 3 names different: declaration 'target_name' definition 'targetname'. [funcArgNamesDifferent] opendnssec-2.1.13/common/log.h:63:73: note: Function 'ods_log_init' argument 3 names different: declaration 'target_name' definition 'targetname'. opendnssec-2.1.13/common/log.c:83:67: note: Function 'ods_log_init' argument 3 names different: declaration 'target_name' definition 'targetname'. opendnssec-2.1.13/common/cmdhandler.c:118:18: style: Variable 'argi' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/cmdhandler.c:386:9: style: Unused variable: err [unusedVariable] opendnssec-2.1.13/common/cmdhandler.c:508:32: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/cmdhandler.c:509:13: style: Unused variable: i [unusedVariable] opendnssec-2.1.13/common/pselect.c:31:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/privdrop.c:218:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NGROUPS_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/fifoq.c:49:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fifoq_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/fifoq.c:66:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIFOQ_MAX_COUNT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/fifoq.c:93:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIFOQ_MAX_COUNT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/fifoq.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/fifoq.c:144:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/privdrop.c:218:9: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] opendnssec-2.1.13/common/privdrop.c:78:18: style: Variable 'olduid' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/privdrop.c:121:18: style: Variable 'oldgid' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/privdrop.c:163:25: style: Variable 'final_group_len' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/privdrop.c:163:9: style: Variable 'final_group_len' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/scheduler/task.c:77:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/task.c:129:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/task.c:156:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable task_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/task.c:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_WHATEVER [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/task.c:202:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_WHENEVER [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/task.c:153:35: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/scheduler/task.c:169:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/scheduler/task.c:169:37: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/scheduler/schedule.c:62:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldns_rbnode_t [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:80:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:192:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:244:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:294:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:326:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:413:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:461:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_CLASS_ENFORCER [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:494:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:580:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:601:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_handler [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:618:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/schedule.c:636:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_CLASS_SIGNER [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/scheduler/worker.c:42:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable worker_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/str.c:128:22: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] opendnssec-2.1.13/common/str.c:70:12: warning: If memory allocation fails, then there is a possible null pointer dereference: cat [nullPointerOutOfMemory] opendnssec-2.1.13/common/str.c:69:26: note: Assuming allocation function fails opendnssec-2.1.13/common/str.c:69:11: note: Assignment 'cat=(char*)malloc(len*sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/str.c:70:12: note: Null pointer dereference opendnssec-2.1.13/common/str.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: cat [nullPointerOutOfMemory] opendnssec-2.1.13/common/str.c:69:26: note: Assuming allocation function fails opendnssec-2.1.13/common/str.c:69:11: note: Assignment 'cat=(char*)malloc(len*sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/str.c:75:5: note: Null pointer dereference opendnssec-2.1.13/common/str.c:72:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] opendnssec-2.1.13/common/str.c:69:26: note: Assuming allocation function fails opendnssec-2.1.13/common/str.c:69:11: note: Assignment 'cat=(char*)malloc(len*sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/str.c:72:19: note: Null pointer addition opendnssec-2.1.13/common/str.c:129:15: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/scheduler/schedule.c:574:19: style: Obsolescent function 'ctime_r' called. It is recommended to use 'strftime' instead. [prohibitedctime_rCalled] opendnssec-2.1.13/common/scheduler/schedule.c:301:21: error: Common realloc mistake: 'tasks' nulled but not freed upon failure [memleakOnRealloc] opendnssec-2.1.13/common/scheduler/schedule.c:81:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/scheduler/schedule.c:519:16: style: Variable 'task' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/common/scheduler/schedule.c:592:33: style: Parameter 'task' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/common/scheduler/schedule.c:81:25: style: Variable 'node' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/scheduler/schedule.c:81:20: style: Variable 'node' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/scheduler/schedule.c:414:26: style: Variable 'node2' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/common/util.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_RRSIG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:86:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:217:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:275:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_MAX_PACKETLEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/util.c:311:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/utilities.c:68:13: style:inconclusive: Function 'alloc' argument 1 names different: declaration 'ptr' definition 'p'. [funcArgNamesDifferent] opendnssec-2.1.13/common/utilities.h:116:24: note: Function 'alloc' argument 1 names different: declaration 'ptr' definition 'p'. opendnssec-2.1.13/common/utilities.c:68:13: note: Function 'alloc' argument 1 names different: declaration 'ptr' definition 'p'. opendnssec-2.1.13/enforcer/src/daemon/cfg.c:63:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/cfg.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_CFG_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/cfg.c:60:47: style: Parameter 'oldcfg' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/daemon/cfg.c:155:40: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/daemon/ctrl_cmd.c:107:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_STOP_RESPONSE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/queue_cmd.c:78:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:81:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable engine_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:114:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable workerthreadclass [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:124:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:182:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable need_to_exit [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:202:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable need_to_exit [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:273:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:445:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_WRITE_PIDFILE_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/engine.c:635:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/time_leap_cmd.c:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/common/longgetopt.c:21:22: style: Condition 'count==0' is always true [knownConditionTrueFalse] opendnssec-2.1.13/common/longgetopt.c:16:14: note: Assuming that condition 'count>0' is not redundant opendnssec-2.1.13/common/longgetopt.c:21:22: note: Condition 'count==0' is always true opendnssec-2.1.13/common/longgetopt.c:89:50: style: Condition 's[context->_optpos+1]=='\0'' is always true [knownConditionTrueFalse] opendnssec-2.1.13/common/longgetopt.c:82:53: note: Assuming that condition 's[context->_optpos+1]!='\0'' is not redundant opendnssec-2.1.13/common/longgetopt.c:89:50: note: Condition 's[context->_optpos+1]=='\0'' is always true opendnssec-2.1.13/common/longgetopt.c:145:49: style: Condition 'optstring[0]=='\0'' is always false [knownConditionTrueFalse] opendnssec-2.1.13/common/longgetopt.c:143:25: note: Assuming that condition 'optstring[0]=='+'' is not redundant opendnssec-2.1.13/common/longgetopt.c:145:49: note: Condition 'optstring[0]=='\0'' is always false opendnssec-2.1.13/common/longgetopt.c:200:33: style:inconclusive: Function 'strtoargs' argument 2 names different: declaration 'argc' definition 'argcptr'. [funcArgNamesDifferent] opendnssec-2.1.13/common/longgetopt.h:29:44: note: Function 'strtoargs' argument 2 names different: declaration 'argc' definition 'argcptr'. opendnssec-2.1.13/common/longgetopt.c:200:33: note: Function 'strtoargs' argument 2 names different: declaration 'argc' definition 'argcptr'. opendnssec-2.1.13/common/longgetopt.c:200:50: style:inconclusive: Function 'strtoargs' argument 3 names different: declaration 'argv' definition 'argvptr'. [funcArgNamesDifferent] opendnssec-2.1.13/common/longgetopt.h:29:58: note: Function 'strtoargs' argument 3 names different: declaration 'argv' definition 'argvptr'. opendnssec-2.1.13/common/longgetopt.c:200:50: note: Function 'strtoargs' argument 3 names different: declaration 'argv' definition 'argvptr'. opendnssec-2.1.13/common/longgetopt.c:281:13: warning: Size of pointer 'args' used instead of size of its data. [pointerSize] opendnssec-2.1.13/enforcer/src/daemon/engine.c:587:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:63:26: style: Parameter 'context' can be declared as pointer to const. However it seems that 'run' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:111:43: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:63:26: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:63:51: style: Parameter 'argv' can be declared as const array. However it seems that 'run' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:111:43: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/daemon/verbosity_cmd.c:63:51: note: Parameter 'argv' can be declared as const array opendnssec-2.1.13/enforcer/src/db/database_version_ext.c:32:51: style: Parameter 'connection' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/database_version.c:241:48: style: Condition 'database_version_list_get_associated(database_version_list)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/database_version.c:241:48: note: Calling function 'database_version_list_get_associated' returns 0 opendnssec-2.1.13/enforcer/src/db/database_version.c:241:48: note: Condition 'database_version_list_get_associated(database_version_list)' is always false opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:218:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_BIND [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:570:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_DATA_TRUNCATED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:738:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_OPT_CONNECT_TIMEOUT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:977:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_LONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1090:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_LONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1279:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_LONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:2126:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYSQL_TYPE_LONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:107:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:617:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:1064:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:1477:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:92:26: style: Variable 'backend_sqlite' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:254:26: style: Variable 'backend_sqlite' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_backend_sqlite.c:271:26: style: Variable 'backend_sqlite' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_value.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] opendnssec-2.1.13/enforcer/src/db/hsm_key.c:1467:61: style:inconclusive: Function 'hsm_key_list_new_copy' argument 1 names different: declaration 'hsm_key_copy' definition 'from_hsm_key_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:462:68: note: Function 'hsm_key_list_new_copy' argument 1 names different: declaration 'hsm_key_copy' definition 'from_hsm_key_list'. opendnssec-2.1.13/enforcer/src/db/hsm_key.c:1467:61: note: Function 'hsm_key_list_new_copy' argument 1 names different: declaration 'hsm_key_copy' definition 'from_hsm_key_list'. opendnssec-2.1.13/enforcer/src/db/hsm_key.c:1435:30: style: Parameter 'hsm_key' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/hsm_key.c:1435:57: style: Parameter 'clause_list' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/key_data.c:1665:64: style:inconclusive: Function 'key_data_list_new_copy' argument 1 names different: declaration 'key_data_copy' definition 'from_key_data_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/key_data.h:506:71: note: Function 'key_data_list_new_copy' argument 1 names different: declaration 'key_data_copy' definition 'from_key_data_list'. opendnssec-2.1.13/enforcer/src/db/key_data.c:1665:64: note: Function 'key_data_list_new_copy' argument 1 names different: declaration 'key_data_copy' definition 'from_key_data_list'. opendnssec-2.1.13/enforcer/src/db/key_data.c:650:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/key_data.c:650:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/key_data.c:1633:32: style: Parameter 'key_data' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/key_data.c:1633:60: style: Parameter 'clause_list' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/key_dependency.c:680:82: style:inconclusive: Function 'key_dependency_list_new_copy' argument 1 names different: declaration 'key_dependency_copy' definition 'from_key_dependency_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/key_dependency.h:229:89: note: Function 'key_dependency_list_new_copy' argument 1 names different: declaration 'key_dependency_copy' definition 'from_key_dependency_list'. opendnssec-2.1.13/enforcer/src/db/key_dependency.c:680:82: note: Function 'key_dependency_list_new_copy' argument 1 names different: declaration 'key_dependency_copy' definition 'from_key_dependency_list'. opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:174:18: style: Variable 'field' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:659:25: style: Variable 'backend_mysql' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:675:25: style: Variable 'backend_mysql' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1383:14: style: Variable 'sqlp' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1384:14: style: Variable 'left' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1472:23: style: Variable 'first' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1486:14: style: Variable 'sqlp' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1487:14: style: Variable 'left' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/db_backend_mysql.c:1801:19: style: Variable 'first' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/policy_ext.c:99:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/key_state.c:895:67: style:inconclusive: Function 'key_state_list_new_copy' argument 1 names different: declaration 'key_state_copy' definition 'from_key_state_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/key_state.h:288:74: note: Function 'key_state_list_new_copy' argument 1 names different: declaration 'key_state_copy' definition 'from_key_state_list'. opendnssec-2.1.13/enforcer/src/db/key_state.c:895:67: note: Function 'key_state_list_new_copy' argument 1 names different: declaration 'key_state_copy' definition 'from_key_state_list'. opendnssec-2.1.13/enforcer/src/db/policy_key_ext.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/policy.c:746:103: style: Condition 'db_value_to_uint32(db_value_set_at(value_set,10),&(policy->signatures_validity_keyset))&&0' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/policy.c:1949:102: style: Condition 'db_value_from_uint32(db_value_set_get(value_set,8),policy->signatures_validity_keyset)&&0' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/policy.c:2500:102: style: Condition 'db_value_from_uint32(db_value_set_get(value_set,8),policy->signatures_validity_keyset)&&0' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/policy.c:2635:58: style:inconclusive: Function 'policy_list_new_copy' argument 1 names different: declaration 'policy_copy' definition 'from_policy_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/policy.h:758:65: note: Function 'policy_list_new_copy' argument 1 names different: declaration 'policy_copy' definition 'from_policy_list'. opendnssec-2.1.13/enforcer/src/db/policy.c:2635:58: note: Function 'policy_list_new_copy' argument 1 names different: declaration 'policy_copy' definition 'from_policy_list'. opendnssec-2.1.13/enforcer/src/db/policy_key.c:977:70: style:inconclusive: Function 'policy_key_list_new_copy' argument 1 names different: declaration 'policy_key_copy' definition 'from_policy_key_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/policy_key.h:348:77: note: Function 'policy_key_list_new_copy' argument 1 names different: declaration 'policy_key_copy' definition 'from_policy_key_list'. opendnssec-2.1.13/enforcer/src/db/policy_key.c:977:70: note: Function 'policy_key_list_new_copy' argument 1 names different: declaration 'policy_key_copy' definition 'from_policy_key_list'. opendnssec-2.1.13/enforcer/src/db/test/test.c:46:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUE_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:507:21: style: Local variable 'value_set' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:58:24: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:507:21: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:508:18: style: Local variable 'result' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:60:21: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:508:18: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:189:42: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_initialize' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:273:65: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:189:42: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:194:40: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_shutdown' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:274:63: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:194:40: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:199:39: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_connect' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:275:62: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:199:39: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:205:42: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_disconnect' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:276:65: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:205:42: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:210:38: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_create' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:277:61: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:210:38: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:218:50: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_read' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:278:59: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:218:50: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:226:38: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_update' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:279:61: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:226:38: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:235:38: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_delete' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:280:61: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:235:38: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:242:37: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_count' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:281:60: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:242:37: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:251:37: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_free' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:282:59: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:251:37: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:255:49: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_transaction_begin' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:283:72: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:255:49: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:260:50: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_transaction_commit' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:284:73: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:260:50: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:265:52: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_backend_handle_transaction_rollback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:285:75: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:265:52: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:330:18: style: Variable 'local_clause' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:363:25: style: Variable 'local_configuration' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:364:25: style: Variable 'local_configuration2' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:419:24: style: Variable 'local_object_field' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:420:24: style: Variable 'local_object_field2' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:435:29: style: Variable 'local_object_field_list' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:490:21: style: Variable 'local_value_set' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:491:21: style: Variable 'local_value_set2' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:506:42: style: Parameter 'data' can be declared as pointer to const. However it seems that '__db_result_list_next' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:560:59: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:506:42: note: Parameter 'data' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:539:18: style: Variable 'local_result' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_classes.c:540:18: style: Variable 'local_result2' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:441:25: style: Condition 'test_from_result(test_list->test,result)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:441:25: note: Calling function 'test_from_result' returns 0 opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:441:25: note: Condition 'test_from_result(test_list->test,result)' is always false opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:459:25: style: Condition 'test_from_result(test_list->test,result)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:459:25: note: Calling function 'test_from_result' returns 0 opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:459:25: note: Condition 'test_from_result(test_list->test,result)' is always false opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:87:13: style: Local variable 'test' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:54:16: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:87:13: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:389:18: style: Local variable 'test_list' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:55:21: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:389:18: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:509:14: style: Local variable 'test2' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:472:17: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_database_operations.c:509:14: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_database_version.c:303:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_database_version.c:303:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_database_version.c:304:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:261:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:261:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:291:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:291:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:509:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:509:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:537:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:537:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:560:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:560:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:586:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:586:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:620:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:620:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:609:16: style: Variable 'local_object' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:686:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:686:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:687:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:262:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:262:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:301:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:301:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:634:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:634:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:669:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:669:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:709:16: style: Local variable 'hsm_key_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/hsm_key.h:139:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:709:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:743:17: style: Variable 'local_object' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:796:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:796:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:797:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:425:16: style: Local variable 'id' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:44:19: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:425:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:472:23: style: Variable 'local_object' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:517:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:517:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:518:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:261:16: style: Local variable 'key_data_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/key_data.h:145:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:261:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:286:16: style: Local variable 'key_data_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/key_data.h:145:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:286:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:322:16: style: Local variable 'key_data_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/key_data.h:145:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:322:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:344:16: style: Local variable 'key_data_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/key_data.h:145:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:344:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:365:16: style: Local variable 'id' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:44:19: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:365:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:376:16: style: Local variable 'id' shadows outer variable [shadowVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:44:19: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:376:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:388:16: style: Local variable 'key_data_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/key_data.h:145:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:388:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:445:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:445:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:446:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:261:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:261:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:285:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:285:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:380:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:380:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:405:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:405:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:426:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:426:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:438:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:438:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:463:19: style: Variable 'local_object' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:510:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:510:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:511:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy.c:853:15: style: Variable 'local_object' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/db/test/test_policy.c:951:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy.c:951:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_policy.c:952:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:261:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:261:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:291:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:291:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:612:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:612:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:653:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:653:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:689:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:689:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:727:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:727:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:768:16: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:768:16: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:853:22: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:853:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:854:9: style: Unused variable: ret [unusedVariable] opendnssec-2.1.13/enforcer/src/enforcer/autostart_cmd.c:59:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/zone_db_ext.c:151:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforce_cmd.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforce_task.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/repositorylist_cmd.c:43:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_CFGFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/repositorylist_cmd.c:126:26: style: Parameter 'context' can be declared as pointer to const. However it seems that 'run' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/enforcer/src/enforcer/repositorylist_cmd.c:138:49: note: You might need to cast the function pointer here opendnssec-2.1.13/enforcer/src/enforcer/repositorylist_cmd.c:126:26: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/enforcer/src/enforcer/update_repositorylist_cmd.c:77:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_CFGFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:165:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_INVALID [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_UNRETENTIVE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:293:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_NA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:348:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_RUMOURED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:450:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:737:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:807:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:868:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:903:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DNSKEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_RUMOURED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1053:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_RUMOURED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1197:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_DENIAL_TYPE_NSEC3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1224:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_UNRETENTIVE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1278:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_OMNIPRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1438:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_OMNIPRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1951:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_UNUSED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2357:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_KEY_ROLE_KSK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2607:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_NA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2840:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_OMNIPRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/backup_hsmkeys_cmd.c:203:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:70:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:137:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_UNUSED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:445:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:477:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:499:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:548:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:586:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:618:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:644:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_SHARED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:744:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_DELETE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:793:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_DELETE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/hsmkey/hsm_key_factory.c:826:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_STATE_DELETE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/db/zone_db.c:1960:61: style:inconclusive: Function 'zone_list_db_new_copy' argument 1 names different: declaration 'zone_copy' definition 'from_zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:492:68: note: Function 'zone_list_db_new_copy' argument 1 names different: declaration 'zone_copy' definition 'from_zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:1960:61: note: Function 'zone_list_db_new_copy' argument 1 names different: declaration 'zone_copy' definition 'from_zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:1979:47: style:inconclusive: Function 'zone_list_db_object_store' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:500:54: note: Function 'zone_list_db_object_store' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:1979:47: note: Function 'zone_list_db_object_store' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:1989:40: style:inconclusive: Function 'zone_list_db_free' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:506:47: note: Function 'zone_list_db_free' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:1989:40: note: Function 'zone_list_db_free' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2017:39: style:inconclusive: Function 'zone_list_db_copy' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:514:46: note: Function 'zone_list_db_copy' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2017:39: note: Function 'zone_list_db_copy' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2017:72: style:inconclusive: Function 'zone_list_db_copy' argument 2 names different: declaration 'from_zone_list_db' definition 'from_zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:514:82: note: Function 'zone_list_db_copy' argument 2 names different: declaration 'from_zone_list_db' definition 'from_zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2017:72: note: Function 'zone_list_db_copy' argument 2 names different: declaration 'from_zone_list_db' definition 'from_zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2363:38: style:inconclusive: Function 'zone_list_db_get' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:521:45: note: Function 'zone_list_db_get' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2363:38: note: Function 'zone_list_db_get' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2419:49: style:inconclusive: Function 'zone_list_db_get_by_clauses' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:536:56: note: Function 'zone_list_db_get_by_clauses' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2419:49: note: Function 'zone_list_db_get_by_clauses' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2461:51: style:inconclusive: Function 'zone_list_db_get_by_policy_id' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:544:58: note: Function 'zone_list_db_get_by_policy_id' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2461:51: note: Function 'zone_list_db_get_by_policy_id' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2547:53: style:inconclusive: Function 'zone_list_db_begin' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:561:60: note: Function 'zone_list_db_begin' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2547:53: note: Function 'zone_list_db_begin' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2603:52: style:inconclusive: Function 'zone_list_db_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:571:59: note: Function 'zone_list_db_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2603:52: note: Function 'zone_list_db_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2669:50: style:inconclusive: Function 'zone_list_db_get_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:581:57: note: Function 'zone_list_db_get_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2669:50: note: Function 'zone_list_db_get_next' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2705:42: style:inconclusive: Function 'zone_list_db_size' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. [funcArgNamesDifferent] opendnssec-2.1.13/enforcer/src/db/zone_db.h:589:49: note: Function 'zone_list_db_size' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:2705:42: note: Function 'zone_list_db_size' argument 1 names different: declaration 'zone_list_db' definition 'zone_list'. opendnssec-2.1.13/enforcer/src/db/zone_db.c:745:15: style: Local variable 'policy_id' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/db/policy.h:146:26: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/db/zone_db.c:745:15: note: Shadow variable opendnssec-2.1.13/enforcer/src/db/zone_db.c:1930:30: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/db/zone_db.c:1930:54: style: Parameter 'clause_list' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/hsmkey/key_generate_cmd.c:83:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/key_purge_cmd.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:176:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_STATE_NA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:79:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RDF_TYPE_DNAME [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:113:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:252:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_ROLE_ZSK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:295:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_ROLE_ZSK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:379:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_ROLE_ZSK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:444:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:58:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:161:13: warning: If memory allocation fails, then there is a possible null pointer dereference: deplist2 [nullPointerOutOfMemory] opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:156:46: note: Assuming allocation function fails opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:156:20: note: Assignment 'deplist2=(key_dependency_t**)calloc(deplist2_size,sizeof(key_dependency_t*))', assigned value is 0 opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:161:13: note: Null pointer dereference opendnssec-2.1.13/enforcer/src/keystate/key_purge.c:69:29: style: Variable 'deplist2_size' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:303:7: style: Condition 'hsmkey' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:434:33: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds.c:444:7: style: Unused variable: buf [unusedVariable] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds_retract_task.c:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_ds_submit_task.c:49:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_SUCCESS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_export_cmd.c:78:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RDF_TYPE_DNAME [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_export_cmd.c:127:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_export_cmd.c:217:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_DS_AT_PARENT_SUBMIT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_export_cmd.c:298:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_import_cmd.c:112:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_KEY_KEY_TYPE_RSA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_import_cmd.c:262:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_STATE_TYPE_DS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_import_cmd.c:404:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_export_cmd.c:290:16: style: Variable 'hsmkey' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:169:11: debug: Function::addArguments found argument 'printheader' with varid 0. [varid0] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:71:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_DS_AT_PARENT_SEEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:97:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_DATA_DS_AT_PARENT_INVALID [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:184:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printheader [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:373:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:368:17: style: Local variable 'keystate' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:69:1: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:368:17: note: Shadow variable opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:72:16: style: Variable 'dsretract' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:72:6: style: Variable 'dsretract' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:115:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1423:6: style: Condition 'process' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1415:15: note: Assignment 'process=1', assigned value is 1 opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1423:6: note: Condition 'process' is always true opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2888:13: style: Condition 'key_data_updated' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2836:22: note: Assignment 'key_data_updated=1', assigned value is 1 opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2888:13: note: Condition 'key_data_updated' is always true opendnssec-2.1.13/enforcer/src/keystate/keystate_rollover_cmd.c:177:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2594:3: warning: If memory allocation fails, then there is a possible null pointer dereference: deplist2 [nullPointerOutOfMemory] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2589:39: note: Assuming allocation function fails opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2589:13: note: Assignment 'deplist2=(key_dependency_t**)calloc(deplist2_size,sizeof(key_dependency_t*))', assigned value is 0 opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:2594:3: note: Null pointer dereference opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1937:6: style: Local variable 'match' shadows outer function [shadowFunction] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:270:1: note: Shadowed declaration opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1937:6: note: Shadow variable opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1486:97: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1547:97: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] opendnssec-2.1.13/enforcer/src/enforcer/enforcer.c:1578:97: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] opendnssec-2.1.13/enforcer/src/keystate/keystate_rollover_cmd.c:56:12: style: Variable 'error' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/keystate/rollover_list_cmd.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zone_add_cmd.c:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zone_del_cmd.c:133:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/keystate_import_cmd.c:480:9: style: Condition 'zonename' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/keystate/zone_set_policy_cmd.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zonelist_export.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zonelist_export_cmd.c:78:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZONELIST_EXPORT_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zonelist_import_cmd.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zonelist_import.c:77:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZONELIST_IMPORT_ERR_ARGS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/keystate/zonelist_update.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:236:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:225:18: style: Condition 'db_do(sql,sizeof(sql)-left)' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:225:18: note: Calling function 'db_do' returns -1 opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:225:18: note: Condition 'db_do(sql,sizeof(sql)-left)' is always true opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:282:19: style: Condition 'connect_db(cfg)' is always true [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:282:19: note: Calling function 'connect_db' returns -1 opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:282:19: note: Condition 'connect_db(cfg)' is always true opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:88:42: style: Parameter 'cfg' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:233:26: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/enforcer/src/ods-enforcer-db-setup.c:235:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:82:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_SOCKETFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:121:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:198:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:377:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_SOCKETFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcerd.c:138:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_CFGFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcerd.c:139:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/enforcer/src/parser/confparser.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:261:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:396:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_PIDFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:447:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_SOCKETFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:470:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_WORKINGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:619:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_EN_VERBOSITY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:636:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_WORKERTHREADS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/parser/confparser.c:687:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENFORCER_DATABASE_TYPE_MYSQL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:207:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:350:29: warning: If resource allocation fails, then there is a possible null pointer dereference: cmd2 [nullPointerOutOfResources] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:348:27: note: Assuming allocation function fails opendnssec-2.1.13/enforcer/src/ods-enforcer.c:348:27: note: Assignment 'cmd2=popen("pgrep ods-enforcerd","r")', assigned value is 0 opendnssec-2.1.13/enforcer/src/ods-enforcer.c:350:29: note: Null pointer dereference opendnssec-2.1.13/enforcer/src/ods-enforcer.c:69:13: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/enforcer/src/ods-enforcer.c:379:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/enforcer/src/ods-migrate.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-migrate.c:328:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_CFGFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/ods-migrate.c:356:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/enforcer/src/ods-migrate.c:329:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/enforcer/src/parser/confparser.c:449:16: warning: If memory allocation fails, then there is a possible null pointer dereference: dup [nullPointerOutOfMemory] opendnssec-2.1.13/enforcer/src/parser/confparser.c:444:21: note: Assuming allocation function fails opendnssec-2.1.13/enforcer/src/parser/confparser.c:444:21: note: Assignment 'dup=strdup(str)', assigned value is 0 opendnssec-2.1.13/enforcer/src/parser/confparser.c:449:16: note: Null pointer dereference opendnssec-2.1.13/enforcer/src/policy/policy_export_cmd.c:76:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_import_cmd.c:87:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_import.c:96:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_import.c:232:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_IMPORT_ERR_ARGS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_EXPORT_ERR_MEMORY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:419:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:536:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_resalt_task.c:119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable schedule_DEFER [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_resalt_task.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_resalt_task.c:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/signconf/signconf_task.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSTEM_MAXLEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNCONF_EXPORT_ERR_DATABASE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGNCONF_EXPORT_ERR_ARGS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:158:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:215:12: style: Condition '!(error=26)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:217:12: style: Condition '!(error=2)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:219:12: style: Condition '!(error=3)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:224:12: style: Condition '!(error=4)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:229:12: style: Condition '!(error=5)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:231:12: style: Condition '!(error=6)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:236:12: style: Condition '!(error=7)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:241:12: style: Condition '!(error=8)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:252:12: style: Condition '!(error=9)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:257:12: style: Condition '!(error=10)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:264:12: style: Condition '!(error=11)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:266:12: style: Condition '!(error=12)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:269:12: style: Condition '!(error=13)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:272:20: style: Condition '!(error=14)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:278:20: style: Condition '!(error=15)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:281:20: style: Condition '!(error=16)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:283:20: style: Condition '!(error=17)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:286:20: style: Condition '!(error=18)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:289:20: style: Condition '!(error=19)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:292:12: style: Condition '!(error=20)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:294:12: style: Condition '!(error=21)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:300:12: style: Condition '!(error=22)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:302:12: style: Condition '!(error=23)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:307:12: style: Condition '!(error=24)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:312:12: style: Condition '!(error=25)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:343:16: style: Condition '!(error=101)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:346:16: style: Condition '!(error=102)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:349:16: style: Condition '!(error=103)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:351:16: style: Condition '!(error=104)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:353:16: style: Condition '!(error=105)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:355:16: style: Condition '!(error=106)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:360:16: style: Condition '!(error=107)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:365:16: style: Condition '!(error=108)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:215:20: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:213:11: note: error is assigned opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:215:20: note: error is overwritten opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:343:24: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:341:15: note: error is assigned opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:343:24: note: error is overwritten opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:290:28: style: Variable 'node5' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/signconf/signconf_xml.c:367:28: style: Variable 'node3' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/utils/kaspcheck.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kaspcheck.c:74:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kaspcheck.c:64:27: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/enforcer/src/utils/kaspcheck.c:72:23: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/libhsm/checks/confparser.c:107:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/checks/hsmcheck.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/checks/hsmcheck.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:78:12: style: Condition '!(error=2)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:80:12: style: Condition '!(error=3)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:83:12: style: Condition '!(error=4)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:85:12: style: Condition '!(error=5)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:90:12: style: Condition '!(error=6)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:95:12: style: Condition '!(error=7)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:97:12: style: Condition '!(error=8)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:102:12: style: Condition '!(error=9)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:107:12: style: Condition '!(error=10)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:118:12: style: Condition '!(error=11)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:123:12: style: Condition '!(error=12)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:129:12: style: Condition '!(error=13)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:131:12: style: Condition '!(error=14)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:134:12: style: Condition '!(error=15)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:137:20: style: Condition '!(error=16)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:143:20: style: Condition '!(error=17)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:146:20: style: Condition '!(error=18)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:152:6: style: Condition '!(error=19)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:154:20: style: Condition '!(error=20)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:157:20: style: Condition '!(error=21)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:160:20: style: Condition '!(error=22)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:162:20: style: Condition '!(error=23)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:166:12: style: Condition '!(error=24)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:168:12: style: Condition '!(error=25)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:173:12: style: Condition '!(error=26)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:178:12: style: Condition '!(error=27)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:183:12: style: Condition '!(error=28)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:186:12: style: Condition '!(error=29)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:193:12: style: Condition '!(error=30)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:195:12: style: Condition '!(error=31)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:200:12: style: Condition '!(error=32)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:202:12: style: Condition '!(error=33)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:207:12: style: Condition '!(error=34)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:212:12: style: Condition '!(error=35)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:215:12: style: Condition '!(error=36)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:217:12: style: Condition '!(error=37)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:223:12: style: Condition '!(error=38)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:228:12: style: Condition '!(error=39)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:230:12: style: Condition '!(error=40)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:235:12: style: Condition '!(error=41)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:237:12: style: Condition '!(error=42)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:242:12: style: Condition '!(error=43)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:266:20: style: Condition '!(error=101)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:269:20: style: Condition '!(error=102)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:272:20: style: Condition '!(error=103)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:277:20: style: Condition '!(error=104)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:279:20: style: Condition '!(error=105)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:283:20: style: Condition '!(error=106)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:286:20: style: Condition '!(error=107)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:289:20: style: Condition '!(error=108)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:292:20: style: Condition '!(error=109)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:308:20: style: Condition '!(error=201)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:311:20: style: Condition '!(error=202)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:314:20: style: Condition '!(error=203)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:319:20: style: Condition '!(error=204)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:321:20: style: Condition '!(error=205)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:325:20: style: Condition '!(error=206)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:328:20: style: Condition '!(error=207)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:331:20: style: Condition '!(error=208)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:334:20: style: Condition '!(error=209)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:337:20: style: Condition '!(error=210)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:353:20: style: Condition '!(error=301)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:356:20: style: Condition '!(error=302)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:359:20: style: Condition '!(error=303)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:364:20: style: Condition '!(error=304)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:366:20: style: Condition '!(error=305)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:370:20: style: Condition '!(error=306)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:373:20: style: Condition '!(error=307)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:376:20: style: Condition '!(error=308)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:379:20: style: Condition '!(error=309)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:382:20: style: Condition '!(error=310)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:385:20: style: Condition '!(error=311)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:388:20: style: Condition '!(error=312)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:197:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:253:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1254:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1445:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_SCHEMA_DIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1715:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_SCHEMA_DIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1797:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_SCHEMA_DIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:78:20: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:76:11: note: error is assigned opendnssec-2.1.13/enforcer/src/policy/policy_export.c:78:20: note: error is overwritten opendnssec-2.1.13/enforcer/src/policy/policy_export.c:266:28: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:264:19: note: error is assigned opendnssec-2.1.13/enforcer/src/policy/policy_export.c:266:28: note: error is overwritten opendnssec-2.1.13/enforcer/src/policy/policy_export.c:308:28: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:306:19: note: error is assigned opendnssec-2.1.13/enforcer/src/policy/policy_export.c:308:28: note: error is overwritten opendnssec-2.1.13/enforcer/src/policy/policy_export.c:353:28: style: Variable 'error' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/enforcer/src/policy/policy_export.c:351:19: note: error is assigned opendnssec-2.1.13/enforcer/src/policy/policy_export.c:353:28: note: error is overwritten opendnssec-2.1.13/libhsm/src/bin/confparser.c:107:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:156:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:84:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:118:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:239:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:239:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:270:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:270:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmspeed.c:270:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmtest.c:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmtest.c:167:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RSASHA1 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:96:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HSM_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:356:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:421:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_KEY_ZONE_KEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:641:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:576:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:577:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:701:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:702:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:223:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:228:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:249:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:579:46: warning: If memory allocation fails, then there is a possible null pointer dereference: repository [nullPointerOutOfMemory] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:575:28: note: Assuming allocation function fails opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:575:28: note: Assignment 'repository=strdup(argv[0])', assigned value is 0 opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:579:46: note: Null pointer dereference opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:196:31: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:315:11: style: Variable 'fresult' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:391:29: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:570:27: style: Parameter 'argv' can be declared as const array [constParameter] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:330:9: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:576:13: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:669:14: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:697:14: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/bin/hsmutil.c:701:14: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2298:40: debug: Function::addArguments found argument 'int' with varid 0. [varid0] opendnssec-2.1.13/libhsm/src/lib/pin.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:112:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:157:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:171:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:187:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:423:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/pin.c:69:19: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/pin.c:61:22: style: union member 'semun::array' is never used. [unusedStructMember] opendnssec-2.1.13/libhsm/src/lib/pin.c:239:23: style: Variable 'size' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:315:14: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:334:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKR_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:300:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKR_FUNCTION_FAILED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:441:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:567:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKR_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:657:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKF_SERIAL_SESSION [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:711:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKR_CRYPTOKI_NOT_INITIALIZED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:829:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKA_KEY_TYPE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:870:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKA_MODULUS_BITS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:966:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:998:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1092:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_ULONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1133:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_ULONG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1290:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKA_CLASS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1383:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKA_ID [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1443:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKO_PUBLIC_KEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1466:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKO_PRIVATE_KEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1585:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKO_PRIVATE_KEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1703:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1789:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1858:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulValueLen [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1885:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RDF_TYPE_B64 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1899:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RDF_TYPE_B64 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2044:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKM_MD5 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2213:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_RRSIG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pin_callback [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2410:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKS_RW_USER_FUNCTIONS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2452:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RSASHA256 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2562:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKK_RSA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2646:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_TRUE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2759:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_TRUE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2840:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_TRUE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2936:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CK_TRUE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3173:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_MAX_PACKETLEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3233:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RDF_TYPE_DNAME [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3288:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_DNSKEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3331:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CKR_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3495:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3588:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:864:7: style: Condition '!(max_iter=150)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:865:7: style: Condition '!(max_iter=500)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:866:7: style: Condition '!(max_iter=2500)' is always false [knownConditionTrueFalse] opendnssec-2.1.13/signer/src/adapter/adapi.c:184:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapi.c:279:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapi.c:383:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapi.c:402:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapi.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:303:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:304:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1240:10: style: Variable 'start' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:315:12: style: Variable 'grp' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:334:12: style: Variable 'pwd' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1423:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/enforcer/src/utils/kc_helper.c:1777:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/adapter/adapi.c:78:29: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/adapter/adapi.c:92:26: style: Parameter 'zone' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/adapter/adapi.c:279:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/adapter/adapter.c:51:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable adapter_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapter.c:103:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapter.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adapter.c:184:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adfile.c:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adfile.c:197:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adfile.c:302:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adfile.c:331:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:84:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:152:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:479:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:505:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnsin_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:521:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnsout_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:536:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:572:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:595:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:630:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:668:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_DNS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:688:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:777:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adfile.c:99:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/adfile.c:112:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/adfile.c:141:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/adfile.c:155:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/adfile.c:167:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/adutil.c:58:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SE_ADFILE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/adutil.c:183:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/adapter/adutil.c:55:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/adapter/addns.c:333:47: style: Condition 'tmp_serial>new_serial' is always true [knownConditionTrueFalse] opendnssec-2.1.13/signer/src/adapter/addns.c:323:32: note: Assuming that condition 'tmp_serial<=new_serial' is not redundant opendnssec-2.1.13/signer/src/adapter/addns.c:333:47: note: Condition 'tmp_serial>new_serial' is always true opendnssec-2.1.13/signer/src/adapter/addns.c:307:28: style: Variable 'result' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/signer/src/adapter/addns.c:296:28: note: result is assigned opendnssec-2.1.13/signer/src/adapter/addns.c:307:28: note: result is overwritten opendnssec-2.1.13/signer/src/adapter/addns.c:98:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/addns.c:110:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/adapter/addns.c:570:17: style: Variable 'new_addns' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/daemon/cfg.c:54:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/cfg.c:114:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_CFG_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/cfg.c:202:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable address [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/adapter/addns.c:570:17: style: Variable 'new_addns' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:251:47: debug: Function::addArguments found argument 'netio' with varid 0. [varid0] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:57:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dnshandler_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:108:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:139:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable udp_data [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:239:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:255:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PACKET_SIZE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:289:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_data [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/cfg.c:110:40: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/daemon/cfg.c:146:51: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/daemon/dnshandler.c:254:22: style: Variable 'dnshandler' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/daemon/engine.c:76:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable engine_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:113:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable workerthreadclass [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:128:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handlerthreadclass [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:158:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handlerthreadclass [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:253:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable need_to_exit [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable need_to_exit [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:335:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:522:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_FILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:571:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_DNS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:620:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:708:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:771:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:280:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_FORCEREAD [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:299:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:383:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_CLASS_IN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:497:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:547:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:568:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:590:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:610:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:625:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:640:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:657:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/engine.c:538:29: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] opendnssec-2.1.13/signer/src/daemon/engine.c:75:18: style: Local variable 'engine' shadows outer variable [shadowVariable] opendnssec-2.1.13/signer/src/daemon/engine.c:66:21: note: Shadowed declaration opendnssec-2.1.13/signer/src/daemon/engine.c:75:18: note: Shadow variable opendnssec-2.1.13/signer/src/daemon/engine.c:293:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/engine.c:293:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/engine.c:340:9: style: Unused variable: fd [unusedVariable] opendnssec-2.1.13/signer/src/daemon/engine.c:340:13: style: Unused variable: error [unusedVariable] opendnssec-2.1.13/signer/src/daemon/engine.c:710:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2489:20: error: Common realloc mistake: 'keys' nulled but not freed upon failure [memleakOnRealloc] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:269:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:302:7: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:269:5: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2439:32: style:inconclusive: Function 'hsm_destroy_context' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:282:32: note: Function 'hsm_destroy_context' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2439:32: note: Function 'hsm_destroy_context' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2478:26: style:inconclusive: Function 'hsm_list_keys' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:300:26: note: Function 'hsm_list_keys' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2478:26: note: Function 'hsm_list_keys' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2504:37: style:inconclusive: Function 'hsm_list_keys_repository' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:317:37: note: Function 'hsm_list_keys_repository' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2504:37: note: Function 'hsm_list_keys_repository' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2521:31: style:inconclusive: Function 'hsm_find_key_by_id' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:333:31: note: Function 'hsm_find_key_by_id' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2521:31: note: Function 'hsm_find_key_by_id' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2550:33: style:inconclusive: Function 'hsm_generate_rsa_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:350:33: note: Function 'hsm_generate_rsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2550:33: note: Function 'hsm_generate_rsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2638:33: style:inconclusive: Function 'hsm_generate_dsa_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:367:33: note: Function 'hsm_generate_dsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2638:33: note: Function 'hsm_generate_dsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2752:34: style:inconclusive: Function 'hsm_generate_gost_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:383:34: note: Function 'hsm_generate_gost_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2752:34: note: Function 'hsm_generate_gost_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2832:35: style:inconclusive: Function 'hsm_generate_ecdsa_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:399:35: note: Function 'hsm_generate_ecdsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2832:35: note: Function 'hsm_generate_ecdsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2928:35: style:inconclusive: Function 'hsm_generate_eddsa_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:416:35: note: Function 'hsm_generate_eddsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2928:35: note: Function 'hsm_generate_eddsa_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3024:27: style:inconclusive: Function 'hsm_remove_key' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:431:27: note: Function 'hsm_remove_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3024:27: note: Function 'hsm_remove_key' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3063:27: style:inconclusive: Function 'hsm_get_key_id' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:453:27: note: Function 'hsm_get_key_id' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3063:27: note: Function 'hsm_get_key_id' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3089:29: style:inconclusive: Function 'hsm_get_key_info' argument 1 names different: declaration 'context' definition 'ctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:467:29: note: Function 'hsm_get_key_info' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3089:29: note: Function 'hsm_get_key_info' argument 1 names different: declaration 'context' definition 'ctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3375:28: style:inconclusive: Function 'hsm_attach' argument 2 names different: declaration 'token_name' definition 'token_label'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:528:24: note: Function 'hsm_attach' argument 2 names different: declaration 'token_name' definition 'token_label'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3375:28: note: Function 'hsm_attach' argument 2 names different: declaration 'token_name' definition 'token_label'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3488:28: style:inconclusive: Function 'hsm_print_error' argument 1 names different: declaration 'ctx' definition 'gctx'. [funcArgNamesDifferent] opendnssec-2.1.13/libhsm/src/lib/libhsm.h:557:40: note: Function 'hsm_print_error' argument 1 names different: declaration 'ctx' definition 'gctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3488:28: note: Function 'hsm_print_error' argument 1 names different: declaration 'ctx' definition 'gctx'. opendnssec-2.1.13/libhsm/src/lib/libhsm.c:252:35: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:374:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:374:38: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:374:52: style: Parameter 'tokenlabel' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:374:70: style: Parameter 'pin' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1877:56: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:1891:56: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2508:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3068:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3093:20: style: Variable 'session' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3441:34: style: Parameter 'session' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:3462:45: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/daemon/signercommands.c:700:9: style: Redundant initialization for 'now'. The initialized value is overwritten before it is read. [redundantInitialization] opendnssec-2.1.13/signer/src/daemon/signercommands.c:673:16: note: now is initialized opendnssec-2.1.13/signer/src/daemon/signercommands.c:700:9: note: now is overwritten opendnssec-2.1.13/signer/src/daemon/signercommands.c:44:49: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_help' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:712:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:44:49: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:101:16: style: Variable 'zone' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/daemon/signercommands.c:134:66: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_update' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:718:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:134:66: note: Parameter 'cmd' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:217:70: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_retransfer' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:722:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:217:70: note: Parameter 'cmd' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:294:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/daemon/signercommands.c:337:11: style: Variable 'signtime' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/daemon/signercommands.c:425:65: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_clear' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:715:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:425:65: note: Parameter 'cmd' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:496:11: style: Variable 'strtime' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/daemon/signercommands.c:607:50: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_start' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:720:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:607:50: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:622:52: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_running' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:723:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:622:52: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:637:54: style: Parameter 'context' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_verbosity' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:724:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:637:54: note: Parameter 'context' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:637:69: style: Parameter 'cmd' can be declared as pointer to const. However it seems that 'cmdhandler_handle_cmd_verbosity' is a callback function, if 'cmd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] opendnssec-2.1.13/signer/src/daemon/signercommands.c:724:77: note: You might need to cast the function pointer here opendnssec-2.1.13/signer/src/daemon/signercommands.c:637:69: note: Parameter 'cmd' can be declared as pointer to const opendnssec-2.1.13/signer/src/daemon/signercommands.c:655:77: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:874:25: style: Variable 'modulus' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signercommands.c:140:27: style: Variable 'zl_changed' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signercommands.c:431:24: style: Variable 'inbserial' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signertasks.c:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:142:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:432:24: style: Variable 'intserial' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signertasks.c:194:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_HSM_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:216:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:247:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:433:24: style: Variable 'outserial' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signertasks.c:281:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:354:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:468:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signercommands.c:499:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/signercommands.c:526:20: style: Variable 'buf[i]' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/libhsm/src/lib/libhsm.c:2629:12: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/daemon/xfrhandler.c:172:47: debug: Function::addArguments found argument 'netio' with varid 0. [varid0] opendnssec-2.1.13/signer/src/daemon/xfrhandler.c:55:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfrhandler_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/xfrhandler.c:125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/xfrhandler.c:176:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PACKET_SIZE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/xfrhandler.c:175:22: style: Variable 'xfrhandler' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/hsm.c:89:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/daemon/signertasks.c:388:9: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] opendnssec-2.1.13/signer/src/hsm.c:139:15: style: Parameter 'owner' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/daemon/signertasks.c:491:16: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/ods-signer.c:80:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_SOCKFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signer.c:120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signer.c:197:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_MAXLINE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signer.c:381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_SOCKFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signerd.c:127:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_CFGFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signerd.c:181:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] opendnssec-2.1.13/signer/src/ods-signerd.c:128:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/signer/src/parser/addnsparser.c:98:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/addnsparser.c:192:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/addnsparser.c:283:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:199:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:304:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:432:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENDNSSEC_ENFORCER_WORKINGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:489:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_PIDFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:525:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_SOCKFILE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:548:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_WORKDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:626:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_VERBOSITY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:643:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_WORKERTHREADS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:660:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_WORKERTHREADS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/ods-signer.c:206:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] opendnssec-2.1.13/signer/src/ods-signer.c:349:25: warning: If resource allocation fails, then there is a possible null pointer dereference: cmd2 [nullPointerOutOfResources] opendnssec-2.1.13/signer/src/ods-signer.c:348:27: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/ods-signer.c:348:27: note: Assignment 'cmd2=popen("pgrep ods-signerd","r")', assigned value is 0 opendnssec-2.1.13/signer/src/ods-signer.c:349:25: note: Null pointer dereference opendnssec-2.1.13/signer/src/ods-signer.c:350:23: warning: If resource allocation fails, then there is a possible null pointer dereference: cmd2 [nullPointerOutOfResources] opendnssec-2.1.13/signer/src/ods-signer.c:348:27: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/ods-signer.c:348:27: note: Assignment 'cmd2=popen("pgrep ods-signerd","r")', assigned value is 0 opendnssec-2.1.13/signer/src/ods-signer.c:350:23: note: Null pointer dereference opendnssec-2.1.13/signer/src/ods-signer.c:69:13: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/ods-signer.c:383:26: style: Variable 'long_options' can be declared as const array [constVariable] opendnssec-2.1.13/signer/src/parser/addnsparser.c:53:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/addnsparser.c:149:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/addnsparser.c:238:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/signconfparser.c:109:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/signconfparser.c:439:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/zonelistparser.c:119:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/zonelistparser.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/confparser.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: dup [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/parser/confparser.c:522:21: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/parser/confparser.c:522:21: note: Assignment 'dup=strdup(str)', assigned value is 0 opendnssec-2.1.13/signer/src/parser/confparser.c:527:16: note: Null pointer dereference opendnssec-2.1.13/signer/src/parser/confparser.c:256:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/confparser.c:338:23: style: Variable 'interface' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/confparser.c:441:13: style: Variable 'lwd' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/parser/confparser.c:446:13: style: Variable 'lwd' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/backup.c:237:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/backup.c:309:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/backup.c:502:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/zonelistparser.c:207:49: style: Checking if unsigned expression 'strlen(zone_name)' is less than zero. [unsignedLessThanZero] opendnssec-2.1.13/signer/src/parser/zonelistparser.c:106:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/denial.c:54:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable denial_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/denial.c:89:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/denial.c:112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/denial.c:154:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/denial.c:270:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/denial.c:337:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/parser/signconfparser.c:347:13: warning: If memory allocation fails, then there is a possible null pointer dereference: signatureresourcerecords [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/parser/signconfparser.c:344:42: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/parser/signconfparser.c:344:42: note: Assignment 'signatureresourcerecords=malloc(sizeof(char*)*(xpathObj->nodesetval->nodeNr+1))', assigned value is 0 opendnssec-2.1.13/signer/src/parser/signconfparser.c:347:13: note: Null pointer dereference opendnssec-2.1.13/signer/src/parser/signconfparser.c:349:9: warning: If memory allocation fails, then there is a possible null pointer dereference: signatureresourcerecords [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/parser/signconfparser.c:344:42: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/parser/signconfparser.c:344:42: note: Assignment 'signatureresourcerecords=malloc(sizeof(char*)*(xpathObj->nodesetval->nodeNr+1))', assigned value is 0 opendnssec-2.1.13/signer/src/parser/signconfparser.c:349:9: note: Null pointer dereference opendnssec-2.1.13/signer/src/parser/signconfparser.c:58:15: style: Variable 'new_key' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/denial.c:80:17: style: Variable 'rrset' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/denial.c:155:26: style: Variable 'dstatus' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/denial.c:160:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/denial.c:299:18: style: Variable 'ttl' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/ixfr.c:110:5: error: There is an unknown macro here somewhere. Configuration is required. If ods_log_assert is a macro then please configure it. [unknownMacro] opendnssec-2.1.13/signer/src/signer/backup.c:59:13: warning:inconclusive: Width 3990 given in format string (no. 1) is smaller than destination buffer 'buf[4000]'. [invalidScanfFormatWidth_smaller] opendnssec-2.1.13/signer/src/signer/backup.c:257:21: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] opendnssec-2.1.13/signer/src/signer/domain.c:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_EMERG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:94:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domain_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:176:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEEEBUG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:201:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3PARAMS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:255:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3PARAMS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:312:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:348:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:374:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:408:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/domain.c:489:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/backup.c:106:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/backup.c:123:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/backup.c:160:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/backup.c:177:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/backup.c:194:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/backup.c:211:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/keys.c:55:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keylist_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/keys.c:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locator [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/keys.c:103:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/keys.c:209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_FILE_MAGIC_V2 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/keys.c:80:13: style: Condition '&kl->keys[i]' is always true [knownConditionTrueFalse] opendnssec-2.1.13/signer/src/signer/domain.c:170:15: style: Condition '*p' is always true [knownConditionTrueFalse] opendnssec-2.1.13/signer/src/signer/domain.c:74:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] opendnssec-2.1.13/signer/src/signer/domain.c:76:7: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/domain.c:74:12: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/domain.c:141:34: style: Parameter 'domain' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/signer/nsec3params.c:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/nsec3params.c:113:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nsec3params_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/nsec3params.c:150:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_FILE_MAGIC_V2 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:50:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldns_rbnode_t [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:67:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldns_rbnode_t [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:128:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namedb_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:169:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:200:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ASSERT_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:355:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:393:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:440:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:480:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_FIRST [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:509:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_FIRST [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:552:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:570:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_FIRST [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:595:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_FIRST [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:642:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:706:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:770:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:813:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:849:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:874:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:904:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:981:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:1027:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:1063:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:1082:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/namedb.c:1154:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:50:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signconf_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:91:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_FILE_MAGIC_V2 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:357:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TASK_NONE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/signconf.c:436:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_EMERG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_EMERG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:160:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_IXFR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:205:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rrset_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:266:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_added [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:286:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_added [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:308:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rr_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:341:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:378:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_added [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:441:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_RRSIG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:461:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exists [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:585:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_FIRST [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:857:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_PARSE_ERR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:876:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:938:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/stats.c:42:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stats_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/stats.c:94:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/stats.c:57:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:57:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:58:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:58:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:59:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:59:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:60:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:60:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:61:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:61:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:62:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:62:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:63:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:63:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:64:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:64:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:65:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:65:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:66:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:66:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/stats.c:67:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: stats [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/stats.c:42:45: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/stats.c:42:25: note: Assignment 'stats=(stats_type*)malloc(sizeof(stats_type))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:43:17: note: Calling function 'stats_clear', 1st argument 'stats' value is 0 opendnssec-2.1.13/signer/src/signer/stats.c:67:5: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/namedb.c:1133:16: style: Variable 'z' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/namedb.c:875:29: style: Variable 'nxt_node' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/namedb.c:981:25: style: Variable 'node' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/tools.c:54:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/tools.c:95:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/tools.c:169:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_OPEN_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/tools.c:183:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:63:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:191:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:287:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_DNSKEY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:377:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_NSEC3PARAMS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:398:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:436:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:534:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:625:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:669:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_UNCHANGED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:712:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZONE_ZL_UPDATED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:798:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:1046:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:77:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zonelist_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:103:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_RNGDIR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:124:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ldns_rbnode_t [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:227:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZONE_ZL_ADDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:240:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:267:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:401:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:419:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RBTREE_NULL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zonelist.c:141:25: style: Variable 'node' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zonelist.c:269:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/acl.c:53:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACL_RANGE_MASK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:80:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_ACL_SUBNET_BAD_RANGE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:286:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:374:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:418:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/acl.c:47:28: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:75:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:91:17: style: Variable 'shifts' can be declared as const array [constVariable] opendnssec-2.1.13/signer/src/wire/acl.c:126:33: style: Parameter 'port' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:221:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:221:46: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:221:59: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:240:34: style: Parameter 'minval' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:240:52: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:240:65: style: Parameter 'maxval' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/acl.c:129:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zone.c:824:51: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:831:51: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:832:48: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:838:49: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:844:51: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:845:49: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:846:52: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:847:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:848:52: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:859:55: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:860:51: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:861:47: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:862:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:863:45: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:864:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:865:77: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:866:51: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:867:78: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:868:49: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:869:78: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:870:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:871:76: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:872:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:873:76: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:874:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:875:68: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:876:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:877:78: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:878:48: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:879:66: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:880:53: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:881:68: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:882:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:883:65: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:884:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:885:65: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:886:50: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:894:66: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:895:52: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:896:45: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:897:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:898:72: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:899:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:900:69: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:901:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/signer/zone.c:283:14: style: Variable 'dnskey' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/zone.c:308:17: style: Variable 'rrset' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/zone.c:309:14: style: Variable 'n3prr' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/signer/zone.c:372:14: style: Variable 'n3prr' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/axfr.c:61:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/axfr.c:161:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/axfr.c:398:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/zone.c:58:9: style: Unused variable: err [unusedVariable] opendnssec-2.1.13/signer/src/signer/zone.c:291:20: style: Variable 'dnskey' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zone.c:308:17: style: Variable 'rrset' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zone.c:309:14: style: Variable 'n3prr' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zone.c:534:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/zone.c:1045:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/buffer.c:84:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/buffer.c:249:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PACKET_SIZE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/buffer.c:1102:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RCODE_NOERROR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/buffer.c:1123:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_PACKET_QUERY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/buffer.c:1135:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/buffer.c:163:17: style: Parameter 'bits' can be declared as const array [constParameter] opendnssec-2.1.13/signer/src/wire/edns.c:53:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edns_rr_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/edns.c:69:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable edns_data_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/edns.c:95:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDNS_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/edns.c:124:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_LEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/edns.c:167:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDNS_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/edns.c:162:38: style: Parameter 'err' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/axfr.c:60:19: style: Variable 'expire' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/listener.c:48:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listener_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/listener.c:66:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interface_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/netio.c:42:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable netio_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:469:44: debug: Function::addArguments found argument 'netio' with varid 0. [varid0] opendnssec-2.1.13/signer/src/wire/netio.c:60:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable netio_handler_list_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/netio.c:171:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/netio.c:217:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:106:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notify_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:153:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_DNS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:185:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTIFY_MAX_UDP [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:247:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:273:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_PACKET_NOTIFY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:311:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:403:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:438:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTIFY_RETRY_TIMEOUT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:493:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETIO_EVENT_READ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:559:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_DNS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/notify.c:145:18: style: Variable 'dnsout' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/notify.c:548:18: style: Variable 'dnsout' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/netio.c:72:61: style: Parameter 'handler' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/sock.c:388:41: debug: Function::addArguments found argument 'netio' with varid 0. [varid0] opendnssec-2.1.13/signer/src/wire/query.c:51:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable query_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:117:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:138:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_PACKET_QUERY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:160:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:178:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:193:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:208:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:274:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:427:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFFER_PKT_HEADER_SIZE [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:515:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rr [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:534:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_SECTION_ANY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:640:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:705:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_DISCARDED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:720:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RCODE_SERVFAIL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RCODE_SERVFAIL [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:790:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:844:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:981:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_LEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:66:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:123:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:142:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:158:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:202:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:253:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:294:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:373:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:394:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_PROCESSED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:455:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETIO_EVENT_READ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:524:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_PROCESSED [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:651:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETIO_EVENT_TIMEOUT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/sock.c:340:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] opendnssec-2.1.13/signer/src/wire/sock.c:334:24: note: status is assigned opendnssec-2.1.13/signer/src/wire/sock.c:340:16: note: status is overwritten opendnssec-2.1.13/signer/src/wire/sock.c:363:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/sock.c:448:29: style: Variable 'accept_data' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/sock.c:294:23: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/sock.c:346:24: style: Variable 'status' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/tcpset.c:48:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_conn_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tcpset.c:71:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tcp_set_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tcpset.c:113:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tcpset.c:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tcpset.c:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCPSET_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/query.c:536:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/tsig.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:178:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsig_key_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:214:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsig_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:277:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tsig_rr_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:298:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:332:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:444:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:587:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_CLASS_ANY [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:660:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_ERROR_BADSIG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:684:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_TSIG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/tsig.c:715:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_NOT_PRESENT [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1995:42: debug: Function::addArguments found argument 'netio' with varid 0. [varid0] opendnssec-2.1.13/signer/src/wire/tsig.c:208:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/tsig.c:208:31: style: Parameter 'algo' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/tsig.c:208:43: style: Parameter 'secret' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/wire/xfrd.c:110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXDOMAINLEN [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:200:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_FILE_MAGIC_V3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:321:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfrd_type [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:514:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_storage [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:543:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DNS_PORT_STRING [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:571:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:608:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIG_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:684:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:732:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:792:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:852:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_SOA [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:938:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1017:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_STATUS_OK [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1179:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRD_PKT_BAD [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1283:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1343:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_reading [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1424:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCPSET_MAX [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1485:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_AXFR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1544:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRD_PKT_XFR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1589:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETIO_EVENT_READ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1643:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1706:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDNS_RR_TYPE_IXFR [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1743:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRD_MAX_UDP [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1783:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1800:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRD_PKT_BAD [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1865:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFRD_MAX_UDP [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:1907:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADAPTER_DNS [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:2014:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NETIO_EVENT_READ [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/wire/xfrd.c:2119:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODS_SE_FILE_MAGIC_V3 [valueFlowBailoutIncompleteVar] opendnssec-2.1.13/signer/src/signer/rrset.c:542:9: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assignment 'matches=malloc(sizeof(struct rrsigkeymatching)*(signconf->keys->count+nrrsigs))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:542:9: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:542:39: warning: If memory allocation fails, then there is a possible null pointer dereference: rrsigs [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:608:33: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:608:33: note: Assignment 'rrsigs=malloc(sizeof(rrsig_type*)*nrrsigs)', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:615:47: note: Calling function 'rrsigkeymatching', 3rd argument 'rrsigs' value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:542:39: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:543:9: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assignment 'matches=malloc(sizeof(struct rrsigkeymatching)*(signconf->keys->count+nrrsigs))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:543:9: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:549:16: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assignment 'matches=malloc(sizeof(struct rrsigkeymatching)*(signconf->keys->count+nrrsigs))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:549:16: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:549:66: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assignment 'matches=malloc(sizeof(struct rrsigkeymatching)*(signconf->keys->count+nrrsigs))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:549:66: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:611:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rrsigs [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:608:33: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:608:33: note: Assignment 'rrsigs=malloc(sizeof(rrsig_type*)*nrrsigs)', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:611:9: note: Null pointer dereference opendnssec-2.1.13/signer/src/signer/rrset.c:85:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] opendnssec-2.1.13/signer/src/signer/rrset.c:87:7: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/rrset.c:85:12: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/rrset.c:142:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] opendnssec-2.1.13/signer/src/signer/rrset.c:145:7: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/rrset.c:142:12: note: Found duplicate branches for 'if' and 'else'. opendnssec-2.1.13/signer/src/signer/rrset.c:680:14: style: Local variable 'i' shadows outer variable [shadowVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:583:12: note: Shadowed declaration opendnssec-2.1.13/signer/src/signer/rrset.c:680:14: note: Shadow variable opendnssec-2.1.13/signer/src/signer/rrset.c:735:14: style: Local variable 'i' shadows outer variable [shadowVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:583:12: note: Shadowed declaration opendnssec-2.1.13/signer/src/signer/rrset.c:735:14: note: Shadow variable opendnssec-2.1.13/signer/src/signer/rrset.c:740:17: style: Local variable 'j' shadows outer variable [shadowVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:583:19: note: Shadowed declaration opendnssec-2.1.13/signer/src/signer/rrset.c:740:17: note: Shadow variable opendnssec-2.1.13/signer/src/signer/rrset.c:787:14: style: Local variable 'i' shadows outer variable [shadowVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:583:12: note: Shadowed declaration opendnssec-2.1.13/signer/src/signer/rrset.c:787:14: note: Shadow variable opendnssec-2.1.13/signer/src/signer/rrset.c:278:37: style: Parameter 'rrset' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/signer/rrset.c:527:32: style: Parameter 'rrsig' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/signer/rrset.c:527:49: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] opendnssec-2.1.13/signer/src/signer/rrset.c:238:25: style: Variable 'lstatus' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:587:23: style: Variable 'algorithm' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:583:19: style: Unused variable: j [unusedVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:587:13: style: Variable 'algorithm' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:860:21: style: Variable 'ldnsstatus' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/signer/rrset.c:875:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:205:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:206:56: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:207:60: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:208:55: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:209:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:210:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:211:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:212:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:213:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:214:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:215:60: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:216:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:217:61: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:218:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:219:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:220:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:221:60: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:222:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:228:61: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:229:55: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:230:55: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:231:56: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:232:56: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:233:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:234:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:235:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:241:61: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:242:55: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:243:60: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:244:67: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:245:58: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:246:63: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:247:70: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:248:56: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:249:61: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] opendnssec-2.1.13/signer/src/wire/xfrd.c:1916:13: style: Condition '!xfrd->master' is always true [knownConditionTrueFalse] opendnssec-2.1.13/signer/src/wire/xfrd.c:1914:24: note: Assignment 'xfrd->master=NULL', assigned value is 0 opendnssec-2.1.13/signer/src/wire/xfrd.c:1916:13: note: Condition '!xfrd->master' is always true opendnssec-2.1.13/signer/src/wire/xfrd.c:850:44: style:inconclusive: Function 'xfrd_parse_soa' argument 6 names different: declaration 'serial' definition 'soa_serial'. [funcArgNamesDifferent] opendnssec-2.1.13/signer/src/wire/xfrd.c:63:15: note: Function 'xfrd_parse_soa' argument 6 names different: declaration 'serial' definition 'soa_serial'. opendnssec-2.1.13/signer/src/wire/xfrd.c:850:44: note: Function 'xfrd_parse_soa' argument 6 names different: declaration 'serial' definition 'soa_serial'. opendnssec-2.1.13/signer/src/wire/xfrd.c:1899:17: style: Variable 'dnsin' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/xfrd.c:2074:14: style: Variable 'd' can be declared as pointer to const [constVariablePointer] opendnssec-2.1.13/signer/src/wire/xfrd.c:852:23: style: Variable 'type' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:927:23: style: Variable 'type' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:928:20: style: Variable 'rrlen' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:929:18: style: Variable 'ttl' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:1269:19: style: Variable 'len' is assigned a value that is never used. [unreadVariable] opendnssec-2.1.13/signer/src/wire/xfrd.c:1418:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diff: head opendnssec-2.1.13/common/privdrop.c:163:9: style: Variable 'final_group_len' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/common/scheduler/schedule.c:81:20: style: Variable 'node' is assigned a value that is never used. [unreadVariable] 2.17.0 opendnssec-2.1.13/common/str.c:72:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] opendnssec-2.1.13/common/str.c:69:26: note: Assuming allocation function fails opendnssec-2.1.13/common/str.c:69:11: note: Assignment 'cat=(char*)malloc(len*sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/str.c:72:19: note: Null pointer addition head opendnssec-2.1.13/common/str.c:72:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] opendnssec-2.1.13/common/str.c:69:26: note: Assuming allocation function fails opendnssec-2.1.13/common/str.c:69:11: note: Assignment 'cat=(char*)malloc(len*sizeof(char))', assigned value is 0 opendnssec-2.1.13/common/str.c:72:19: note: Null pointer addition head opendnssec-2.1.13/enforcer/src/db/test/test_database_version.c:303:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_hsm_key.c:686:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_key_data.c:796:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_key_dependency.c:517:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_key_state.c:445:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_policy.c:951:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_policy_key.c:510:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/db/test/test_zone.c:853:15: style: Variable 'pSuite' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/enforcer/src/keystate/keystate_list_cmd.c:72:6: style: Variable 'dsretract' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/signer/src/daemon/engine.c:293:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] head opendnssec-2.1.13/signer/src/signer/rrset.c:549:66: warning: If memory allocation fails, then there is a possible null pointer dereference: matches [nullPointerOutOfMemory] opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assuming allocation function fails opendnssec-2.1.13/signer/src/signer/rrset.c:540:46: note: Assignment 'matches=malloc(sizeof(struct rrsigkeymatching)*(signconf->keys->count+nrrsigs))', assigned value is 0 opendnssec-2.1.13/signer/src/signer/rrset.c:549:66: note: Null pointer dereference head opendnssec-2.1.13/signer/src/signer/rrset.c:587:13: style: Variable 'algorithm' is assigned a value that is never used. [unreadVariable] DONE