2025-05-06 22:20 ftp://ftp.de.debian.org/debian/pool/main/o/openvpn-auth-ldap/openvpn-auth-ldap_2.0.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --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: 8e656e5 (2025-05-06 23:42:00 +0200) count: 166 160 elapsed-time: 3.6 3.7 head-timing-info: old-timing-info: head results: openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:111:34: style:inconclusive: Function 'Base64decode_len' argument 1 names different: declaration 'coded_src' definition 'bufcoded'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:94:35: note: Function 'Base64decode_len' argument 1 names different: declaration 'coded_src' definition 'bufcoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:111:34: note: Function 'Base64decode_len' argument 1 names different: declaration 'coded_src' definition 'bufcoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:126:24: style:inconclusive: Function 'Base64decode' argument 1 names different: declaration 'plain_dst' definition 'bufplain'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:95:25: note: Function 'Base64decode' argument 1 names different: declaration 'plain_dst' definition 'bufplain'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:126:24: note: Function 'Base64decode' argument 1 names different: declaration 'plain_dst' definition 'bufplain'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:126:46: style:inconclusive: Function 'Base64decode' argument 2 names different: declaration 'coded_src' definition 'bufcoded'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:95:48: note: Function 'Base64decode' argument 2 names different: declaration 'coded_src' definition 'bufcoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:126:46: note: Function 'Base64decode' argument 2 names different: declaration 'coded_src' definition 'bufcoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:24: style:inconclusive: Function 'Base64encode' argument 1 names different: declaration 'coded_dst' definition 'encoded'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:92:25: note: Function 'Base64encode' argument 1 names different: declaration 'coded_dst' definition 'encoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:24: note: Function 'Base64encode' argument 1 names different: declaration 'coded_dst' definition 'encoded'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:45: style:inconclusive: Function 'Base64encode' argument 2 names different: declaration 'plain_src' definition 'string'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:92:48: note: Function 'Base64encode' argument 2 names different: declaration 'plain_src' definition 'string'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:45: note: Function 'Base64encode' argument 2 names different: declaration 'plain_src' definition 'string'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:57: style:inconclusive: Function 'Base64encode' argument 3 names different: declaration 'len_plain_src' definition 'len'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.h:92:62: note: Function 'Base64encode' argument 3 names different: declaration 'len_plain_src' definition 'len'. openvpn-auth-ldap-auth-ldap-2.0.4/src/base64.c:179:57: note: Function 'Base64encode' argument 3 names different: declaration 'len_plain_src' definition 'len'. openvpn-auth-ldap-auth-ldap-2.0.4/src/xmalloc.c:54:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] openvpn-auth-ldap-auth-ldap-2.0.4/src/xmalloc.c:54:12: style: Variable 'oldptr' is assigned a value that is never used. [unreadVariable] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:166:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:90:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:91:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:91:12: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:92:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:92:12: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:95:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:96:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:96:12: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:97:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:97:12: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:100:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:100:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:21: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:21: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:21: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:21: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:103:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:104:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:104:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:107:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:107:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:108:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:109:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:110:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:110:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:114:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:114:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:115:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:115:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:116:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:117:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:73:11: style: Variable 'password' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lempar.c:8:1: error: syntax error [syntaxError] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:691:25: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:726:25: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:737:26: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:794:26: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:800:35: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:806:32: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:812:31: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/src/hash.c:819:26: style: Variable 'randbox' can be declared as const array [constVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:411:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:428:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:840:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1031:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1769:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1837:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1921:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2433:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2822:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3152:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3310:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:361:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:484:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:502:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:544:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1346:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1361:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1427:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2491:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2664:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2726:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2750:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3084:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3411:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3296:11: style: Condition 'pFile' is always true [knownConditionTrueFalse] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3183:11: error: Common realloc mistake: 'zNew' nulled but not freed upon failure [memleakOnRealloc] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:643:15: style: Parameter 'pTable' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1070:43: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1357:9: style: Parameter 'zTerm' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1358:10: style: Parameter 'pSkip' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1682:10: style: Variable 'pCode' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1747:10: style: Variable 'pName' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1749:10: style: Variable 'pCode' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1825:10: style: Variable 'pName' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1888:48: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:1910:10: style: Variable 'pName' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2473:34: style: Parameter 'zFilename' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2793:9: style: Variable 'zNewVersion' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:2973:11: style: Variable 'zDecl' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3068:11: style: Variable 'zHdr' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3138:9: style: Variable 'zFile' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3629:7: style: The if condition is the same as the previous if condition [duplicateCondition] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3622:7: note: First condition openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3629:7: note: Second condition openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1079:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1075:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1077:24: note: Assuming that condition 'spx->precprec' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1079:24: note: Condition 'spx->prec==spy->prec' is always true openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1081:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1075:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1077:24: note: Assuming that condition 'spx->precprec' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1081:24: note: Condition 'spx->prec==spy->prec' is always true openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1097:24: style: Condition 'spx->precprec' is always true [knownConditionTrueFalse] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1092:29: note: Assuming that condition 'spx->prec==spy->prec' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1097:24: note: Condition 'spx->precprec' is always true openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3179:10: style: Condition 'cp==0' is always false [knownConditionTrueFalse] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3247:5: error: Common realloc mistake: 'z' nulled but not freed upon failure [memleakOnRealloc] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:821:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:821:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:822:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:822:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:823:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:823:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:824:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:824:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:825:22: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:825:22: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:861:11: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:820:5: note: Assuming that condition '(stp)==0' is not redundant openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:826:22: note: Calling function 'buildshifts', 2nd argument 'stp' value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:861:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2154:18: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2154:18: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2155:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2155:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2156:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2156:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2157:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2157:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2158:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2158:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2159:11: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2159:11: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2159:23: warning: If memory allocation fails, then there is a possible null pointer dereference: origsp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2150:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2152:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2158:26: note: msp->subsym[0] is assigned 'origsp' here. openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2150:28: note: msp is assigned 'psp->rhs[psp->nrhs-1]' here. openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2152:35: note: Assignment 'origsp=msp', assigned value is symbolic=psp->rhs[psp->nrhs-1] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2159:23: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2162:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2162:9: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:9: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:50: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:50: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2164:34: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2164:34: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:9: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:9: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:21: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4413:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4411:33: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4411:10: note: Assignment 'sp=(struct symbol*)calloc(1,sizeof(struct symbol))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4413:5: note: Null pointer dereference openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1805:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2501:26: style:inconclusive: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. [funcArgNamesDifferent] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:100:26: note: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2501:26: note: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:353:25: style: Local variable 'freelist' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1125:23: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:353:25: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1016:19: style: Local variable 'stp' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:978:17: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1016:19: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3615:11: style: Local variable 'name' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3590:15: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3615:11: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3665:9: style: Local variable 'i' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3589:7: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3665:9: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4351:11: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4351:11: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4517:11: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4517:11: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4594:9: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4594:9: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4716:11: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4716:11: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4775:9: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4775:9: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4858:11: style: Local variable 'size' shadows outer variable [shadowVariable] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4196:12: note: Shadowed declaration openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4858:11: note: Shadow variable openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:687:24: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:834:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:834:50: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:938:35: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1061:18: style: Variable 'spx' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1061:24: style: Variable 'spy' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1376:35: style: Parameter 'z' can be declared as pointer to const. However it seems that 'handle_O_option' is a callback function, if 'z' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1410:28: note: You might need to cast the function pointer here openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1376:35: note: Parameter 'z' can be declared as pointer to const openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1385:35: style: Parameter 'z' can be declared as pointer to const. However it seems that 'handle_T_option' is a callback function, if 'z' is declared with const you might also need to cast function pointer(s). [constParameterCallback] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1409:28: note: You might need to cast the function pointer here openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:1385:35: note: Parameter 'z' can be declared as pointer to const openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2762:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2807:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2863:32: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2954:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2977:32: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2977:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3025:42: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3048:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3078:9: style: Variable 'tpltname' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3079:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3127:56: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3139:62: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3204:35: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3204:53: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3365:16: style: Parameter 'rp' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3421:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3440:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3547:17: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3548:17: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3565:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3868:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3909:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:3943:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4079:21: style: Variable 'rp2' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4079:27: style: Variable 'rbest' can be declared as pointer to const [constVariablePointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4233:30: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:4361:15: style: Variable 'oldnp' can be declared as pointer to const [constVariablePointer] diff: head openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:21: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:101:21: note: Null pointer dereference head openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:21: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:76:18: note: Assignment 'data=calloc(1,sizeof(struct plugin_data))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:80:50: note: Assuming condition is false openvpn-auth-ldap-auth-ldap-2.0.4/src/testplugin.c:102:21: note: Null pointer dereference head openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:50: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2163:50: note: Null pointer dereference head openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:21: warning: If memory allocation fails, then there is a possible null pointer dereference: msp [nullPointerOutOfMemory] openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:41: note: Assuming allocation function fails openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2153:17: note: Assignment 'msp=(struct symbol*)calloc(1,sizeof(*msp))', assigned value is 0 openvpn-auth-ldap-auth-ldap-2.0.4/tools/lemon.c:2165:21: note: Null pointer dereference head openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head openvpn-auth-ldap-auth-ldap-2.0.4/tools/makeheaders.c:3296:11: style: Condition 'pFile' is always true [knownConditionTrueFalse] DONE