2022-06-26 14:44 ftp://ftp.de.debian.org/debian/pool/main/c/certmonger/certmonger_0.79.15.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 242afc3 (2022-06-25 21:42:55 +0200) count: 212 205 elapsed-time: 31.0 25.2 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: certmonger-0.79.15/src/cadata.c:169:15: warning: Either the condition 'a!=NULL' is redundant or there is possible null pointer dereference: a. [nullPointerRedundantCheck] certmonger-0.79.15/src/cadata.c:166:9: note: Assuming that condition 'a!=NULL' is not redundant certmonger-0.79.15/src/cadata.c:169:15: note: Null pointer dereference certmonger-0.79.15/src/cadata.c:513:17: warning: Either the condition '*list!=NULL' is redundant or there is possible null pointer dereference: *list. [nullPointerRedundantCheck] certmonger-0.79.15/src/cadata.c:509:14: note: Assuming that condition '*list!=NULL' is not redundant certmonger-0.79.15/src/cadata.c:513:17: note: Null pointer dereference certmonger-0.79.15/src/cadata.c:580:13: warning: Either the condition 'old_dp!=NULL' is redundant or there is possible null pointer dereference: old_dp. [nullPointerRedundantCheck] certmonger-0.79.15/src/cadata.c:576:15: note: Assuming that condition 'old_dp!=NULL' is not redundant certmonger-0.79.15/src/cadata.c:580:13: note: Null pointer dereference certmonger-0.79.15/src/cadata.c:459:15: style: Variable 'j' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/casave.c:912:22: style:inconclusive: Function 'cm_casave_start' argument 3 names different: declaration 'cm' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/casave.h:29:25: note: Function 'cm_casave_start' argument 3 names different: declaration 'cm' definition 'context'. certmonger-0.79.15/src/casave.c:912:22: note: Function 'cm_casave_start' argument 3 names different: declaration 'cm' definition 'context'. certmonger-0.79.15/src/certext.c:297:18: style: Condition 'bitstring!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2154:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2159:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2164:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2169:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2174:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2179:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2184:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:2189:11: style: Condition 'tmp!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certext.c:117:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/certext.c:145:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/certext.c:167:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/certext.c:1703:21: style:inconclusive: Function 'cm_certext_build_csr_extensions' argument 3 names different: declaration 'encoded' definition 'extensions'. [funcArgNamesDifferent] certmonger-0.79.15/src/certext.h:28:26: note: Function 'cm_certext_build_csr_extensions' argument 3 names different: declaration 'encoded' definition 'extensions'. certmonger-0.79.15/src/certext.c:1703:21: note: Function 'cm_certext_build_csr_extensions' argument 3 names different: declaration 'encoded' definition 'extensions'. certmonger-0.79.15/src/certext.c:1702:21: style: Parameter 'ctx' can be declared as pointer to const [constParameter] certmonger-0.79.15/src/certext.c:1656:10: style: Variable 'len' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/getcert.c:727:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] certmonger-0.79.15/src/getcert.c:4190:27: warning: Either the condition 'ca_name!=NULL' is redundant or there is possible null pointer dereference: ca_name. [nullPointerRedundantCheck] certmonger-0.79.15/src/getcert.c:4185:15: note: Assuming that condition 'ca_name!=NULL' is not redundant certmonger-0.79.15/src/getcert.c:4190:27: note: Null pointer dereference certmonger-0.79.15/src/getcert.c:1457:72: style:inconclusive: Function 'find_request_by_name' argument 3 names different: declaration 'path' definition 'name'. [funcArgNamesDifferent] certmonger-0.79.15/src/getcert.c:99:19: note: Function 'find_request_by_name' argument 3 names different: declaration 'path' definition 'name'. certmonger-0.79.15/src/getcert.c:1457:72: note: Function 'find_request_by_name' argument 3 names different: declaration 'path' definition 'name'. certmonger-0.79.15/src/getcert.c:1544:67: style:inconclusive: Function 'find_ca_by_name' argument 3 names different: declaration 'nickname' definition 'name'. [funcArgNamesDifferent] certmonger-0.79.15/src/getcert.c:97:21: note: Function 'find_ca_by_name' argument 3 names different: declaration 'nickname' definition 'name'. certmonger-0.79.15/src/getcert.c:1544:67: note: Function 'find_ca_by_name' argument 3 names different: declaration 'nickname' definition 'name'. certmonger-0.79.15/src/getcert.c:4884:18: style:inconclusive: Function 'help' argument 1 names different: declaration 'cmd' definition 'twopartcmd'. [funcArgNamesDifferent] certmonger-0.79.15/src/getcert.c:84:30: note: Function 'help' argument 1 names different: declaration 'cmd' definition 'twopartcmd'. certmonger-0.79.15/src/getcert.c:4884:18: note: Function 'help' argument 1 names different: declaration 'cmd' definition 'twopartcmd'. certmonger-0.79.15/src/getcert.c:1849:14: style: Local variable 'request' shadows outer function [shadowFunction] certmonger-0.79.15/src/getcert.c:741:1: note: Shadowed declaration certmonger-0.79.15/src/getcert.c:1849:14: note: Shadow variable certmonger-0.79.15/src/getcert.c:2513:14: style: Local variable 'request' shadows outer function [shadowFunction] certmonger-0.79.15/src/getcert.c:741:1: note: Shadowed declaration certmonger-0.79.15/src/getcert.c:2513:14: note: Shadow variable certmonger-0.79.15/src/getcert.c:3389:23: style: Local variable 'request' shadows outer function [shadowFunction] certmonger-0.79.15/src/getcert.c:741:1: note: Shadowed declaration certmonger-0.79.15/src/getcert.c:3389:23: note: Shadow variable certmonger-0.79.15/src/getcert.c:3950:14: style: Local variable 'request' shadows outer function [shadowFunction] certmonger-0.79.15/src/getcert.c:741:1: note: Shadowed declaration certmonger-0.79.15/src/getcert.c:3950:14: note: Shadow variable certmonger-0.79.15/src/certsave-o.c:189:39: style: Condition 'entry->cm_cert_storage_location!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/certsave-o.c:81:19: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] certmonger-0.79.15/src/certsave-o.c:64:9: note: Assuming that condition 'fp==NULL' is not redundant certmonger-0.79.15/src/certsave-o.c:81:19: note: Null pointer dereference certmonger-0.79.15/src/cm.c:626:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] certmonger-0.79.15/src/cm.c:1031:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] certmonger-0.79.15/src/cm.c:310:49: style:inconclusive: Function 'cm_break_h' argument 6 names different: declaration 'ctx' definition 'pvt'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.c:84:54: note: Function 'cm_break_h' argument 6 names different: declaration 'ctx' definition 'pvt'. certmonger-0.79.15/src/cm.c:310:49: note: Function 'cm_break_h' argument 6 names different: declaration 'ctx' definition 'pvt'. certmonger-0.79.15/src/cm.c:421:62: style:inconclusive: Function 'cm_service_entry' argument 2 names different: declaration 'now' definition 'current_time'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.c:75:26: note: Function 'cm_service_entry' argument 2 names different: declaration 'now' definition 'current_time'. certmonger-0.79.15/src/cm.c:421:62: note: Function 'cm_service_entry' argument 2 names different: declaration 'now' definition 'current_time'. certmonger-0.79.15/src/cm.c:503:59: style:inconclusive: Function 'cm_service_ca' argument 2 names different: declaration 'now' definition 'current_time'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.c:77:23: note: Function 'cm_service_ca' argument 2 names different: declaration 'now' definition 'current_time'. certmonger-0.79.15/src/cm.c:503:59: note: Function 'cm_service_ca' argument 2 names different: declaration 'now' definition 'current_time'. certmonger-0.79.15/src/cm.c:860:35: style:inconclusive: Function 'cm_start_entry' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:54:47: note: Function 'cm_start_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:860:35: note: Function 'cm_start_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:885:34: style:inconclusive: Function 'cm_stop_entry' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:53:46: note: Function 'cm_stop_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:885:34: note: Function 'cm_stop_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:938:37: style:inconclusive: Function 'cm_restart_entry' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:50:49: note: Function 'cm_restart_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:938:37: note: Function 'cm_restart_entry' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:945:45: style:inconclusive: Function 'cm_restart_entries_by_ca' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:51:57: note: Function 'cm_restart_entries_by_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:945:45: note: Function 'cm_restart_entries_by_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:963:44: style:inconclusive: Function 'cm_get_entry_by_busname' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:38:67: note: Function 'cm_get_entry_by_busname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:963:44: note: Function 'cm_get_entry_by_busname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:963:65: style:inconclusive: Function 'cm_get_entry_by_busname' argument 2 names different: declaration 'busname' definition 'name'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:39:25: note: Function 'cm_get_entry_by_busname' argument 2 names different: declaration 'busname' definition 'name'. certmonger-0.79.15/src/cm.c:963:65: note: Function 'cm_get_entry_by_busname' argument 2 names different: declaration 'busname' definition 'name'. certmonger-0.79.15/src/cm.c:975:45: style:inconclusive: Function 'cm_get_entry_by_nickname' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:36:68: note: Function 'cm_get_entry_by_nickname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:975:45: note: Function 'cm_get_entry_by_nickname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:987:42: style:inconclusive: Function 'cm_get_entry_by_index' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:35:65: note: Function 'cm_get_entry_by_index' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:987:42: note: Function 'cm_get_entry_by_index' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1071:32: style:inconclusive: Function 'cm_start_ca' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:59:44: note: Function 'cm_start_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1071:32: note: Function 'cm_start_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1099:31: style:inconclusive: Function 'cm_stop_ca' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:57:43: note: Function 'cm_stop_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1099:31: note: Function 'cm_stop_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1123:34: style:inconclusive: Function 'cm_restart_ca' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:55:46: note: Function 'cm_restart_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1123:34: note: Function 'cm_restart_ca' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1131:41: style:inconclusive: Function 'cm_get_ca_by_busname' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:46:61: note: Function 'cm_get_ca_by_busname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1131:41: note: Function 'cm_get_ca_by_busname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1131:62: style:inconclusive: Function 'cm_get_ca_by_busname' argument 2 names different: declaration 'busname' definition 'name'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:47:26: note: Function 'cm_get_ca_by_busname' argument 2 names different: declaration 'busname' definition 'name'. certmonger-0.79.15/src/cm.c:1131:62: note: Function 'cm_get_ca_by_busname' argument 2 names different: declaration 'busname' definition 'name'. certmonger-0.79.15/src/cm.c:1143:42: style:inconclusive: Function 'cm_get_ca_by_nickname' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:44:62: note: Function 'cm_get_ca_by_nickname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1143:42: note: Function 'cm_get_ca_by_nickname' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1155:39: style:inconclusive: Function 'cm_get_ca_by_index' argument 1 names different: declaration 'c' definition 'context'. [funcArgNamesDifferent] certmonger-0.79.15/src/cm.h:43:59: note: Function 'cm_get_ca_by_index' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:1155:39: note: Function 'cm_get_ca_by_index' argument 1 names different: declaration 'c' definition 'context'. certmonger-0.79.15/src/cm.c:318:70: style: Parameter 'te' can be declared as pointer to const [constParameter] certmonger-0.79.15/src/cm.c:421:62: style: Parameter 'current_time' can be declared as pointer to const [constParameter] certmonger-0.79.15/src/cm.c:503:59: style: Parameter 'current_time' can be declared as pointer to const [constParameter] certmonger-0.79.15/src/csrgen-o.c:396:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] certmonger-0.79.15/src/csrgen-o.c:86:14: style: Variable 'rdn' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/csrgen.c:87:16: style: Condition 'password!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/env-session.c:50:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] certmonger-0.79.15/src/dogtag.c:234:4: error: Common realloc mistake: 'aoptions' nulled but not freed upon failure [memleakOnRealloc] certmonger-0.79.15/src/dogtag.c:262:4: error: Common realloc mistake: 'soptions' nulled but not freed upon failure [memleakOnRealloc] certmonger-0.79.15/src/dogtag.c:85:11: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] certmonger-0.79.15/src/dogtag.c:73:12: note: Assuming that condition 'p!=NULL' is not redundant certmonger-0.79.15/src/dogtag.c:85:11: note: Null pointer dereference certmonger-0.79.15/src/hook.c:76:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] certmonger-0.79.15/src/ipa.c:1183:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] certmonger-0.79.15/src/json.c:650:17: style: Condition 'point>=0xd800' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/json.c:636:16: note: Assuming that condition 'point>=0xd800' is not redundant certmonger-0.79.15/src/json.c:644:15: note: Assuming condition is false certmonger-0.79.15/src/json.c:650:17: note: Condition 'point>=0xd800' is always true certmonger-0.79.15/src/json.c:713:17: style: Condition 'point>=0xd800' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/json.c:699:16: note: Assuming that condition 'point>=0xd800' is not redundant certmonger-0.79.15/src/json.c:707:15: note: Assuming condition is false certmonger-0.79.15/src/json.c:713:17: note: Condition 'point>=0xd800' is always true certmonger-0.79.15/src/json.c:713:38: style: Condition 'point<0xdc00' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/json.c:699:37: note: Assuming that condition 'point<0xdc00' is not redundant certmonger-0.79.15/src/json.c:707:15: note: Assuming condition is false certmonger-0.79.15/src/json.c:713:38: note: Condition 'point<0xdc00' is always true certmonger-0.79.15/src/json.c:1154:15: warning: Either the condition 'end==NULL' is redundant or there is possible null pointer dereference: component. [nullPointerRedundantCheck] certmonger-0.79.15/src/json.c:1155:13: note: Assuming that condition 'end==NULL' is not redundant certmonger-0.79.15/src/json.c:1153:8: note: end is assigned 'component' here. certmonger-0.79.15/src/json.c:1154:15: note: Null pointer dereference certmonger-0.79.15/src/iterate.c:383:27: style: Parameter 'holder' can be declared as pointer to const [constParameter] certmonger-0.79.15/src/keygen-n.c:155:6: style: Unused variable: retry [unusedVariable] certmonger-0.79.15/src/keygen-n.c:155:13: style: Unused variable: generated_size [unusedVariable] certmonger-0.79.15/src/keygen-o.c:296:15: warning: Either the condition 'keyfd==-1' is redundant or fdopen() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] certmonger-0.79.15/src/keygen-o.c:281:13: note: Assuming that condition 'keyfd==-1' is not redundant certmonger-0.79.15/src/keygen-o.c:296:15: note: Invalid argument certmonger-0.79.15/src/keyiread.c:124:11: style: Variable 'size' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/local.c:77:27: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] certmonger-0.79.15/src/main.c:62:15: style: Unused variable: u [unusedVariable] certmonger-0.79.15/src/pin.c:109:11: style: Condition 'pin!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/pkcs7.c:1012:30: warning: Either the condition 'p!=NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] certmonger-0.79.15/src/pkcs7.c:999:13: note: Assuming that condition 'p!=NULL' is not redundant certmonger-0.79.15/src/pkcs7.c:1025:8: note: Assignment to 'p=q' certmonger-0.79.15/src/pkcs7.c:1012:30: note: Null pointer subtraction certmonger-0.79.15/src/pkcs7.c:1050:30: warning: Either the condition 'p!=NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] certmonger-0.79.15/src/pkcs7.c:1038:13: note: Assuming that condition 'p!=NULL' is not redundant certmonger-0.79.15/src/pkcs7.c:1062:8: note: Assignment to 'p=q' certmonger-0.79.15/src/pkcs7.c:1050:30: note: Null pointer subtraction certmonger-0.79.15/src/pkcs7.c:307:25: style:inconclusive: Function 'cm_pkcs7_parsev' argument 9 names different: declaration 'buffers' definition 'buffer'. [funcArgNamesDifferent] certmonger-0.79.15/src/pkcs7.h:33:29: note: Function 'cm_pkcs7_parsev' argument 9 names different: declaration 'buffers' definition 'buffer'. certmonger-0.79.15/src/pkcs7.c:307:25: note: Function 'cm_pkcs7_parsev' argument 9 names different: declaration 'buffers' definition 'buffer'. certmonger-0.79.15/src/pkcs7.c:307:41: style:inconclusive: Function 'cm_pkcs7_parsev' argument 10 names different: declaration 'lengths' definition 'length'. [funcArgNamesDifferent] certmonger-0.79.15/src/pkcs7.h:33:46: note: Function 'cm_pkcs7_parsev' argument 10 names different: declaration 'lengths' definition 'length'. certmonger-0.79.15/src/pkcs7.c:307:41: note: Function 'cm_pkcs7_parsev' argument 10 names different: declaration 'lengths' definition 'length'. certmonger-0.79.15/src/pkcs7.c:310:17: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] certmonger-0.79.15/src/pkcs7.c:926:27: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] certmonger-0.79.15/src/prefs.c:418:17: style: Condition 'prefer!=-1' is always false [knownConditionTrueFalse] certmonger-0.79.15/src/prefs.c:375:21: style: Variable 'url' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:387:21: style: Variable 'url' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:399:21: style: Variable 'profile' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:424:21: style: Variable 'info' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:436:21: style: Variable 'path' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:448:21: style: Variable 'dbdir' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:460:21: style: Variable 'cert' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:475:21: style: Variable 'key' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/prefs.c:487:21: style: Variable 'pinfile' is not assigned a value. [unassignedVariable] certmonger-0.79.15/src/scep.c:943:23: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] certmonger-0.79.15/src/srvloc.c:59:45: style:inconclusive: Function 'cm_srvloc_resolve' argument 2 names different: declaration 'service' definition 'name'. [funcArgNamesDifferent] certmonger-0.79.15/src/srvloc.h:30:49: note: Function 'cm_srvloc_resolve' argument 2 names different: declaration 'service' definition 'name'. certmonger-0.79.15/src/srvloc.c:59:45: note: Function 'cm_srvloc_resolve' argument 2 names different: declaration 'service' definition 'name'. certmonger-0.79.15/src/store-files.c:1725:17: style: Condition 's!=NULL' is always true [knownConditionTrueFalse] certmonger-0.79.15/src/store-files.c:728:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] certmonger-0.79.15/src/store-gen.c:788:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/store-gen.c:789:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/store-gen.c:796:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/src/store-gen.c:812:34: style:inconclusive: Function 'cm_store_base64_to_bin' argument 4 names different: declaration 'maxlength' definition 'length'. [funcArgNamesDifferent] certmonger-0.79.15/src/store.h:59:31: note: Function 'cm_store_base64_to_bin' argument 4 names different: declaration 'maxlength' definition 'length'. certmonger-0.79.15/src/store-gen.c:812:34: note: Function 'cm_store_base64_to_bin' argument 4 names different: declaration 'maxlength' definition 'length'. certmonger-0.79.15/src/store-gen.c:877:62: style:inconclusive: Function 'cm_store_base64_as_bin' argument 3 names different: declaration 'insize' definition 'size'. [funcArgNamesDifferent] certmonger-0.79.15/src/store.h:60:68: note: Function 'cm_store_base64_as_bin' argument 3 names different: declaration 'insize' definition 'size'. certmonger-0.79.15/src/store-gen.c:877:62: note: Function 'cm_store_base64_as_bin' argument 3 names different: declaration 'insize' definition 'size'. certmonger-0.79.15/src/store-gen.c:898:52: style:inconclusive: Function 'cm_store_base64_from_hex' argument 2 names different: declaration 'hex' definition 's'. [funcArgNamesDifferent] certmonger-0.79.15/src/store.h:62:58: note: Function 'cm_store_base64_from_hex' argument 2 names different: declaration 'hex' definition 's'. certmonger-0.79.15/src/store-gen.c:898:52: note: Function 'cm_store_base64_from_hex' argument 2 names different: declaration 'hex' definition 's'. certmonger-0.79.15/src/submit-e.c:587:26: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] certmonger-0.79.15/src/submit-e.c:632:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] certmonger-0.79.15/src/submit-e.c:684:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] certmonger-0.79.15/src/submit-e.c:745:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] certmonger-0.79.15/src/submit-d.c:78:10: style: Variable 'subnode' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/submit-d.c:199:9: style: Variable 'node' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/submit-d.c:414:9: style: Variable 'node' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/submit-h.c:139:53: style:inconclusive: Boolean expression 'ctx->modify_env==cm_submit_h_env_modify_on' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] certmonger-0.79.15/src/submit-x.c:59:33: style:inconclusive: Function 'cm_submit_x_ccache_realm' argument 1 names different: declaration 'error_msg' definition 'msg'. [funcArgNamesDifferent] certmonger-0.79.15/src/submit-x.h:24:39: note: Function 'cm_submit_x_ccache_realm' argument 1 names different: declaration 'error_msg' definition 'msg'. certmonger-0.79.15/src/submit-x.c:59:33: note: Function 'cm_submit_x_ccache_realm' argument 1 names different: declaration 'error_msg' definition 'msg'. certmonger-0.79.15/src/submit-x.c:127:75: style:inconclusive: Function 'cm_submit_x_make_ccache' argument 3 names different: declaration 'error_msg' definition 'msg'. [funcArgNamesDifferent] certmonger-0.79.15/src/submit-x.h:23:13: note: Function 'cm_submit_x_make_ccache' argument 3 names different: declaration 'error_msg' definition 'msg'. certmonger-0.79.15/src/submit-x.c:127:75: note: Function 'cm_submit_x_make_ccache' argument 3 names different: declaration 'error_msg' definition 'msg'. certmonger-0.79.15/src/submit-x.c:291:35: style:inconclusive: Function 'cm_submit_x_init' argument 8 names different: declaration 'neg' definition 'negotiate'. [funcArgNamesDifferent] certmonger-0.79.15/src/submit-x.h:40:42: note: Function 'cm_submit_x_init' argument 8 names different: declaration 'neg' definition 'negotiate'. certmonger-0.79.15/src/submit-x.c:291:35: note: Function 'cm_submit_x_init' argument 8 names different: declaration 'neg' definition 'negotiate'. certmonger-0.79.15/src/submit-x.c:292:34: style:inconclusive: Function 'cm_submit_x_init' argument 9 names different: declaration 'del' definition 'delegate'. [funcArgNamesDifferent] certmonger-0.79.15/src/submit-x.h:41:41: note: Function 'cm_submit_x_init' argument 9 names different: declaration 'del' definition 'delegate'. certmonger-0.79.15/src/submit-x.c:292:34: note: Function 'cm_submit_x_init' argument 9 names different: declaration 'del' definition 'delegate'. certmonger-0.79.15/src/subproc.c:524:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] certmonger-0.79.15/src/subproc.c:525:8: style: Local variable 'i' shadows outer variable [shadowVariable] certmonger-0.79.15/src/subproc.c:463:6: note: Shadowed declaration certmonger-0.79.15/src/subproc.c:525:8: note: Shadow variable certmonger-0.79.15/src/subproc.c:203:12: style: Variable 'fds[1]' is assigned a value that is never used. [unreadVariable] certmonger-0.79.15/src/tdbus.c:96:0: error: #error "Don't know how to retrieve a watchable descriptor from a DBus watch!" [preprocessorErrorDirective] certmonger-0.79.15/src/tdbusm-check.c:216:14: style: Local variable 'b' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:34:26: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:216:14: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:227:7: style: Local variable 'n' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:19: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:227:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:238:8: style: Local variable 'p' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:41:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:238:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:249:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:249:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:259:14: style: Local variable 'b' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:34:26: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:259:14: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:261:8: style: Local variable 'p' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:41:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:261:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:272:14: style: Local variable 'b' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:34:26: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:272:14: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:274:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:274:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:285:14: style: Local variable 'b' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:34:26: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:285:14: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:287:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:287:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:299:7: style: Local variable 'n' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:19: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:299:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:300:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:300:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:311:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:311:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:311:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:311:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:322:9: style: Local variable 'ap' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:43:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:322:9: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:337:9: style: Local variable 'as' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:42:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:337:9: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:353:9: style: Local variable 'ass' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:52:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:353:9: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:372:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:372:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:372:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:372:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:372:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:372:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:385:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:385:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:385:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:385:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:403:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:403:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:403:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:403:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:404:14: style: Local variable 'b' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:34:26: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:404:14: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:416:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:416:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:416:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:416:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:417:7: style: Local variable 'n' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:19: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:417:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:429:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:429:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:429:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:429:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:429:19: style: Local variable 'as' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:42:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:429:19: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:444:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:444:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:444:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:444:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:444:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:444:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:444:23: style: Local variable 's4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:40:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:444:23: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:457:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:457:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:457:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:457:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:457:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:457:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:457:23: style: Local variable 's4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:40:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:457:23: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:469:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:469:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:469:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:469:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:469:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:469:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:469:23: style: Local variable 's4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:40:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:469:23: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:482:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:482:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:482:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:482:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:482:19: style: Local variable 'as' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:42:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:482:19: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:497:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:497:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:497:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:497:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:497:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:497:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:497:24: style: Local variable 'as' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:42:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:497:24: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:513:7: style: Local variable 'n1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:30: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:513:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:513:11: style: Local variable 'n2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:42: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:513:11: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:24: style: Local variable 'as1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:44:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:24: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:31: style: Local variable 'as2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:46:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:31: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:38: style: Local variable 'as3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:48:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:38: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:514:45: style: Local variable 'as4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:50:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:514:45: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:545:7: style: Local variable 'n1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:30: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:545:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:545:11: style: Local variable 'n2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:42: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:545:11: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:18: style: Local variable 's3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:39:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:18: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:24: style: Local variable 'as1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:44:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:24: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:31: style: Local variable 'as2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:46:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:31: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:38: style: Local variable 'as3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:48:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:38: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:546:45: style: Local variable 'as4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:50:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:546:45: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:577:7: style: Local variable 'n' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:35:19: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:577:7: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:578:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:578:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:578:13: style: Local variable 'as1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:44:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:578:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:578:20: style: Local variable 'as2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:46:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:578:20: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:578:27: style: Local variable 'as3' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:48:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:578:27: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:578:34: style: Local variable 'as4' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:50:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:578:34: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:664:26: style: Local variable 'd' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:84:37: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:664:26: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:678:26: style: Local variable 'd' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:84:37: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:678:26: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:679:8: style: Local variable 's' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:36:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:679:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:693:8: style: Local variable 's1' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:37:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:693:8: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:693:13: style: Local variable 's2' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:38:13: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:693:13: note: Shadow variable certmonger-0.79.15/src/tdbusm-check.c:693:19: style: Local variable 'ass' shadows outer variable [shadowVariable] certmonger-0.79.15/src/tdbusm-check.c:52:20: note: Shadowed declaration certmonger-0.79.15/src/tdbusm-check.c:693:19: note: Shadow variable certmonger-0.79.15/src/tdbusm.c:574:79: style:inconclusive: Function 'cm_tdbusm_get_ssn' argument 5 names different: declaration 'n' definition 'l'. [funcArgNamesDifferent] certmonger-0.79.15/src/tdbusm.h:39:37: note: Function 'cm_tdbusm_get_ssn' argument 5 names different: declaration 'n' definition 'l'. certmonger-0.79.15/src/tdbusm.c:574:79: note: Function 'cm_tdbusm_get_ssn' argument 5 names different: declaration 'n' definition 'l'. certmonger-0.79.15/src/tdbusm.c:1645:49: style:inconclusive: Function 'cm_tdbusm_set_ap' argument 2 names different: declaration 'p' definition 'ap'. [funcArgNamesDifferent] certmonger-0.79.15/src/tdbusm.h:100:53: note: Function 'cm_tdbusm_set_ap' argument 2 names different: declaration 'p' definition 'ap'. certmonger-0.79.15/src/tdbusm.c:1645:49: note: Function 'cm_tdbusm_set_ap' argument 2 names different: declaration 'p' definition 'ap'. certmonger-0.79.15/src/tdbusm.c:1658:49: style:inconclusive: Function 'cm_tdbusm_set_as' argument 2 names different: declaration 's' definition 'as'. [funcArgNamesDifferent] certmonger-0.79.15/src/tdbusm.h:101:53: note: Function 'cm_tdbusm_set_as' argument 2 names different: declaration 's' definition 'as'. certmonger-0.79.15/src/tdbusm.c:1658:49: note: Function 'cm_tdbusm_set_as' argument 2 names different: declaration 's' definition 'as'. certmonger-0.79.15/src/util-n.c:188:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] certmonger-0.79.15/src/util-n.c:197:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] certmonger-0.79.15/src/util-o.c:587:9: error: Returning pointer to local variable 'd' that will be invalid when returning. [returnDanglingLifetime] certmonger-0.79.15/src/util-o.c:580:45: note: Address of variable taken here. certmonger-0.79.15/src/util-o.c:580:45: note: Passed to initializer list. certmonger-0.79.15/src/util-o.c:583:8: note: Assuming condition is false certmonger-0.79.15/src/util-o.c:559:23: note: Variable created here. certmonger-0.79.15/src/util-o.c:587:9: note: Returning pointer to local variable 'd' that will be invalid when returning. certmonger-0.79.15/src/util-o.c:110:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] certmonger-0.79.15/src/util-o.c:119:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] certmonger-0.79.15/src/util.c:99:25: style:inconclusive: Function 'get_config_entry' argument 1 names different: declaration 'data' definition 'in_data'. [funcArgNamesDifferent] certmonger-0.79.15/src/util.h:22:30: note: Function 'get_config_entry' argument 1 names different: declaration 'data' definition 'in_data'. certmonger-0.79.15/src/util.c:99:25: note: Function 'get_config_entry' argument 1 names different: declaration 'data' definition 'in_data'. certmonger-0.79.15/tests/tools/addcinfo.c:52:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] certmonger-0.79.15/tests/tools/addcinfo.c:76:3: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] certmonger-0.79.15/tests/tools/base64.c:91:11: style: Checking if unsigned expression 'j' is less than zero. [unsignedLessThanZero] certmonger-0.79.15/src/tdbush.c:6001:27: style: Condition 'dict[n].value.s==NULL' is always false [knownConditionTrueFalse] certmonger-0.79.15/tests/tools/ls.c:40:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] certmonger-0.79.15/tests/tools/ls.c:57:8: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] diff: head certmonger-0.79.15/src/certext.c:117:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/src/certext.c:145:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/src/certext.c:167:36: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/src/certext.c:1702:21: style: Parameter 'ctx' can be declared as pointer to const [constParameter] 2.8 certmonger-0.79.15/src/certext.c:1702:21: style: Parameter 'ctx' can be declared with const [constParameter] head certmonger-0.79.15/src/cm.c:318:70: style: Parameter 'te' can be declared as pointer to const [constParameter] 2.8 certmonger-0.79.15/src/cm.c:318:70: style: Parameter 'te' can be declared with const [constParameter] head certmonger-0.79.15/src/cm.c:421:62: style: Parameter 'current_time' can be declared as pointer to const [constParameter] 2.8 certmonger-0.79.15/src/cm.c:421:62: style: Parameter 'current_time' can be declared with const [constParameter] head certmonger-0.79.15/src/cm.c:503:59: style: Parameter 'current_time' can be declared as pointer to const [constParameter] 2.8 certmonger-0.79.15/src/cm.c:503:59: style: Parameter 'current_time' can be declared with const [constParameter] head certmonger-0.79.15/src/iterate.c:383:27: style: Parameter 'holder' can be declared as pointer to const [constParameter] 2.8 certmonger-0.79.15/src/iterate.c:383:27: style: Parameter 'holder' can be declared with const [constParameter] head certmonger-0.79.15/src/store-gen.c:788:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/src/store-gen.c:789:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/src/store-gen.c:796:20: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head certmonger-0.79.15/tests/tools/addcinfo.c:52:37: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE