2025-05-06 11:40 ftp://ftp.de.debian.org/debian/pool/main/m/myproxy/myproxy_6.2.16.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=openssl --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: ca3f092 (2025-05-06 12:26:46 +0200) count: 485 484 elapsed-time: 5.2 3.9 head-timing-info: old-timing-info: head results: myproxy-6.2.16/accept_credmap.c:51:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/accept_credmap.c:108:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/accept_credmap.c:42:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/accept_credmap.c:8:12: style: Variable 'oldenv' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/certauth_resolveuser.c:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_resolveuser.c:476:26: style: Condition 'resolve_via_ldap(username,&userdn,server_context)' is always true [knownConditionTrueFalse] myproxy-6.2.16/certauth_resolveuser.c:476:26: note: Calling function 'resolve_via_ldap' returns 1 myproxy-6.2.16/certauth_resolveuser.c:476:26: note: Condition 'resolve_via_ldap(username,&userdn,server_context)' is always true myproxy-6.2.16/certauth_resolveuser.c:95:37: warning: If resource allocation fails, then there is a possible null pointer dereference: app_stream [nullPointerOutOfResources] myproxy-6.2.16/certauth_resolveuser.c:93:22: note: Assuming allocation function fails myproxy-6.2.16/certauth_resolveuser.c:93:22: note: Assignment 'app_stream=fdopen(fds[1],"r")', assigned value is 0 myproxy-6.2.16/certauth_resolveuser.c:95:37: note: Null pointer dereference myproxy-6.2.16/certauth_resolveuser.c:54:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/certauth_resolveuser.c:461:46: style:inconclusive: Function 'user_dn_lookup' argument 2 names different: declaration 'userdn' definition 'dn'. [funcArgNamesDifferent] myproxy-6.2.16/certauth_resolveuser.h:10:47: note: Function 'user_dn_lookup' argument 2 names different: declaration 'userdn' definition 'dn'. myproxy-6.2.16/certauth_resolveuser.c:461:46: note: Function 'user_dn_lookup' argument 2 names different: declaration 'userdn' definition 'dn'. myproxy-6.2.16/certauth_resolveuser.c:449:34: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/certauth_resolveuser.c:450:32: style: Parameter 'server_context' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/certauth_extensions.c:183:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:247:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:310:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:443:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:525:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_SUCCESS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:845:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UI_INPUT_FLAG_ECHO [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:908:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:1022:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:1069:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:1287:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_ERROR_RESPONSE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/getopt_long.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] myproxy-6.2.16/getopt_long.c:364:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:54:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NULL_OID [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:144:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:342:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:360:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:457:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_S_DEFECTIVE_TOKEN [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:566:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:598:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CREDENTIAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:630:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CREDENTIAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:829:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CREDENTIAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:947:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:978:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_MAXHOST [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1085:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1180:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1299:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1445:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1585:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1658:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1774:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:1819:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_CONTEXT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/certauth_extensions.c:310:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: serialfile [nullPointerOutOfMemory] myproxy-6.2.16/certauth_extensions.c:304:26: note: Assuming allocation function fails myproxy-6.2.16/certauth_extensions.c:304:26: note: Assignment 'serialfile=malloc(strlen(sdir)+strlen("/serial")+1)', assigned value is 0 myproxy-6.2.16/certauth_extensions.c:310:14: note: Null pointer dereference myproxy-6.2.16/certauth_extensions.c:443:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] myproxy-6.2.16/certauth_extensions.c:441:18: note: Assuming allocation function fails myproxy-6.2.16/certauth_extensions.c:441:18: note: Assignment 'path=malloc(strlen(dir)+strlen(serial)+strlen("/.pem")+1)', assigned value is 0 myproxy-6.2.16/certauth_extensions.c:443:20: note: Null pointer dereference myproxy-6.2.16/certauth_extensions.c:136:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/certauth_extensions.c:635:30: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/certauth_extensions.c:999:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/certauth_extensions.c:1268:42: style:inconclusive: Function 'is_certificate_authority_configured' argument 1 names different: declaration 'server_context' definition 'context'. [funcArgNamesDifferent] myproxy-6.2.16/certauth_extensions.h:10:42: note: Function 'is_certificate_authority_configured' argument 1 names different: declaration 'server_context' definition 'context'. myproxy-6.2.16/certauth_extensions.c:1268:42: note: Function 'is_certificate_authority_configured' argument 1 names different: declaration 'server_context' definition 'context'. myproxy-6.2.16/certauth_extensions.c:1276:37: style:inconclusive: Function 'get_certificate_authority' argument 3 names different: declaration 'request' definition 'client_request'. [funcArgNamesDifferent] myproxy-6.2.16/certauth_extensions.h:14:37: note: Function 'get_certificate_authority' argument 3 names different: declaration 'request' definition 'client_request'. myproxy-6.2.16/certauth_extensions.c:1276:37: note: Function 'get_certificate_authority' argument 3 names different: declaration 'request' definition 'client_request'. myproxy-6.2.16/certauth_extensions.c:98:23: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/certauth_extensions.c:98:35: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/certauth_extensions.c:1268:42: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket.c:487:9: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] myproxy-6.2.16/gsi_socket.c:1246:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket.c:1245:28: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket.c:1245:28: note: Assignment 'buffer=malloc(token_len)', assigned value is 0 myproxy-6.2.16/gsi_socket.c:1246:20: note: Null pointer dereference myproxy-6.2.16/gsi_socket.c:1248:20: warning: If memory allocation fails, then there is a possible null pointer dereference: saved_buffer [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket.c:1247:34: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket.c:1247:34: note: Assignment 'saved_buffer=malloc(saved_buffer_len)', assigned value is 0 myproxy-6.2.16/gsi_socket.c:1248:20: note: Null pointer dereference myproxy-6.2.16/gsi_socket.c:1341:16: warning: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket.c:1340:26: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket.c:1340:26: note: Assignment 'response=malloc(sizeof(*response))', assigned value is 0 myproxy-6.2.16/gsi_socket.c:1341:16: note: Null pointer dereference myproxy-6.2.16/gsi_socket.c:1495:16: warning: If memory allocation fails, then there is a possible null pointer dereference: response [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket.c:1494:26: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket.c:1494:26: note: Assignment 'response=malloc(sizeof(*response))', assigned value is 0 myproxy-6.2.16/gsi_socket.c:1495:16: note: Null pointer dereference myproxy-6.2.16/gsi_socket_voms.c:58:41: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] myproxy-6.2.16/gsi_socket.c:353:32: style:inconclusive: Function 'GSI_SOCKET_destroy' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:39:37: note: Function 'GSI_SOCKET_destroy' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:353:32: note: Function 'GSI_SOCKET_destroy' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:397:41: style:inconclusive: Function 'GSI_SOCKET_get_error_string' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:56:45: note: Function 'GSI_SOCKET_get_error_string' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:397:41: note: Function 'GSI_SOCKET_get_error_string' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:399:33: style:inconclusive: Function 'GSI_SOCKET_get_error_string' argument 3 names different: declaration 'buffer_len' definition 'bufferlen'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:58:9: note: Function 'GSI_SOCKET_get_error_string' argument 3 names different: declaration 'buffer_len' definition 'bufferlen'. myproxy-6.2.16/gsi_socket.c:399:33: note: Function 'GSI_SOCKET_get_error_string' argument 3 names different: declaration 'buffer_len' definition 'bufferlen'. myproxy-6.2.16/gsi_socket.c:503:36: style:inconclusive: Function 'GSI_SOCKET_clear_error' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:65:41: note: Function 'GSI_SOCKET_clear_error' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:503:36: note: Function 'GSI_SOCKET_clear_error' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:575:34: style:inconclusive: Function 'GSI_SOCKET_use_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:91:38: note: Function 'GSI_SOCKET_use_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:575:34: note: Function 'GSI_SOCKET_use_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:596:36: style:inconclusive: Function 'GSI_SOCKET_check_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:101:40: note: Function 'GSI_SOCKET_check_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:596:36: note: Function 'GSI_SOCKET_check_creds' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:627:44: style:inconclusive: Function 'GSI_SOCKET_authentication_init' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:78:48: note: Function 'GSI_SOCKET_authentication_init' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:627:44: note: Function 'GSI_SOCKET_authentication_init' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:827:46: style:inconclusive: Function 'GSI_SOCKET_authentication_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:110:50: note: Function 'GSI_SOCKET_authentication_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:827:46: note: Function 'GSI_SOCKET_authentication_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:934:38: style:inconclusive: Function 'GSI_SOCKET_get_peer_name' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:127:42: note: Function 'GSI_SOCKET_get_peer_name' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:934:38: note: Function 'GSI_SOCKET_get_peer_name' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:974:42: style:inconclusive: Function 'GSI_SOCKET_get_peer_hostname' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:138:48: note: Function 'GSI_SOCKET_get_peer_hostname' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:974:42: note: Function 'GSI_SOCKET_get_peer_hostname' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1030:39: style:inconclusive: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:148:43: note: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1030:39: note: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1061:37: style:inconclusive: Function 'GSI_SOCKET_write_buffer' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:158:41: note: Function 'GSI_SOCKET_write_buffer' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1061:37: note: Function 'GSI_SOCKET_write_buffer' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1155:39: style:inconclusive: Function 'GSI_SOCKET_read_token' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:174:39: note: Function 'GSI_SOCKET_read_token' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1155:39: note: Function 'GSI_SOCKET_read_token' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1156:43: style:inconclusive: Function 'GSI_SOCKET_read_token' argument 2 names different: declaration 'buffer' definition 'pbuffer'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:175:22: note: Function 'GSI_SOCKET_read_token' argument 2 names different: declaration 'buffer' definition 'pbuffer'. myproxy-6.2.16/gsi_socket.c:1156:43: note: Function 'GSI_SOCKET_read_token' argument 2 names different: declaration 'buffer' definition 'pbuffer'. myproxy-6.2.16/gsi_socket.c:1157:35: style:inconclusive: Function 'GSI_SOCKET_read_token' argument 3 names different: declaration 'buffer_len' definition 'pbuffer_len'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:176:14: note: Function 'GSI_SOCKET_read_token' argument 3 names different: declaration 'buffer_len' definition 'pbuffer_len'. myproxy-6.2.16/gsi_socket.c:1157:35: note: Function 'GSI_SOCKET_read_token' argument 3 names different: declaration 'buffer_len' definition 'pbuffer_len'. myproxy-6.2.16/gsi_socket.c:1280:48: style:inconclusive: Function 'GSI_SOCKET_delegation_init_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:204:48: note: Function 'GSI_SOCKET_delegation_init_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1280:48: note: Function 'GSI_SOCKET_delegation_init_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1423:42: style:inconclusive: Function 'GSI_SOCKET_delegation_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:232:46: note: Function 'GSI_SOCKET_delegation_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1423:42: note: Function 'GSI_SOCKET_delegation_accept' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1557:46: style:inconclusive: Function 'GSI_SOCKET_delegation_accept_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:250:50: note: Function 'GSI_SOCKET_delegation_accept_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1557:46: note: Function 'GSI_SOCKET_delegation_accept_ext' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1624:47: style:inconclusive: Function 'GSI_SOCKET_delegation_set_certreq' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:266:47: note: Function 'GSI_SOCKET_delegation_set_certreq' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:1624:47: note: Function 'GSI_SOCKET_delegation_set_certreq' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket.c:20:35: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket.c:301:26: style: Variable 'string' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/gsi_socket.c:535:48: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket.c:564:44: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket.c:1426:36: style: Parameter 'passphrase' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket.c:1625:41: style: Parameter 'certreq' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/gsi_socket_voms.c:66:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cert_chain [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket_voms.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] myproxy-6.2.16/gsi_socket.c:487:19: style: Variable 'bufferlen' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/gsi_socket_voms.c:17:33: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket_voms.c:139:34: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket_voms.c:139:20: note: Assignment 'err_str=(char*)malloc(strlen(err_msg)+50)', assigned value is 0 myproxy-6.2.16/gsi_socket_voms.c:142:44: note: Calling function 'GSI_SOCKET_set_error_string', 2nd argument 'err_str' value is 0 myproxy-6.2.16/gsi_socket_voms.c:17:33: note: Null pointer dereference myproxy-6.2.16/gsi_socket_voms.c:140:19: warning: If memory allocation fails, then there is a possible null pointer dereference: err_str [nullPointerOutOfMemory] myproxy-6.2.16/gsi_socket_voms.c:139:34: note: Assuming allocation function fails myproxy-6.2.16/gsi_socket_voms.c:139:20: note: Assignment 'err_str=(char*)malloc(strlen(err_msg)+50)', assigned value is 0 myproxy-6.2.16/gsi_socket_voms.c:140:19: note: Null pointer dereference myproxy-6.2.16/gsi_socket_voms.c:103:39: style:inconclusive: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. [funcArgNamesDifferent] myproxy-6.2.16/gsi_socket.h:148:43: note: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket_voms.c:103:39: note: Function 'GSI_SOCKET_get_peer_fqans' argument 1 names different: declaration 'gsi_socket' definition 'self'. myproxy-6.2.16/gsi_socket_voms.c:12:35: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_acp.c:42:38: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:260:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:330:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:405:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:481:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_MAJOR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_MAJOR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:503:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:665:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_GSI_CERT_UTILS_MODULE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:822:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSS_C_NO_OID [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:1124:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_STRING [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:1313:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_STRING [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:1694:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_STRING [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:2011:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION_STRING [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:2538:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:2569:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_AUTHORIZATION_RESPONSE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:2595:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_AUTHORIZATION_RESPONSE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:3241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:3268:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_alcf.c:89:25: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_arq.c:64:24: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/getopt_long.c:172:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/getopt_long.c:317:9: style: Variable 'current_argv' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_cp.c:48:39: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_authorization.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHORIZEMETHOD_REQUIRED [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:231:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHORIZEMETHOD_SUFFICIENT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:256:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:314:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:584:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:709:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHORIZETYPE_NULL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:721:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHORIZEMETHOD_DISABLED [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_authorization.c:65:51: style: Parameter 'extra_data' can be declared as pointer to const. However it seems that 'auth_passwd_create_client_data' is a callback function, if 'extra_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] myproxy-6.2.16/myproxy_authorization.c:213:4: note: You might need to cast the function pointer here myproxy-6.2.16/myproxy_authorization.c:65:51: note: Parameter 'extra_data' can be declared as pointer to const myproxy-6.2.16/myproxy_authorization.c:223:67: style: Parameter 'creds' can be declared as pointer to const. However it seems that 'auth_cert_get_status' is a callback function, if 'creds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] myproxy-6.2.16/myproxy_authorization.c:482:4: note: You might need to cast the function pointer here myproxy-6.2.16/myproxy_authorization.c:223:67: note: Parameter 'creds' can be declared as pointer to const myproxy-6.2.16/myproxy_authorization.c:224:51: style: Parameter 'client_name' can be declared as pointer to const. However it seems that 'auth_cert_get_status' is a callback function, if 'client_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] myproxy-6.2.16/myproxy_authorization.c:482:4: note: You might need to cast the function pointer here myproxy-6.2.16/myproxy_authorization.c:224:51: note: Parameter 'client_name' can be declared as pointer to const myproxy-6.2.16/myproxy_authorization.c:225:71: style: Parameter 'config' can be declared as pointer to const. However it seems that 'auth_cert_get_status' is a callback function, if 'config' is declared with const you might also need to cast function pointer(s). [constParameterCallback] myproxy-6.2.16/myproxy_authorization.c:482:4: note: You might need to cast the function pointer here myproxy-6.2.16/myproxy_authorization.c:225:71: note: Parameter 'config' can be declared as pointer to const myproxy-6.2.16/myproxy_authorization.c:576:43: style: Parameter 'methods' can be declared as const array [constParameter] myproxy-6.2.16/myproxy_authorization.c:645:36: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_authorization.c:694:31: style: Variable 'af' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_authorization.c:703:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_authorization.c:579:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/myproxy_creds.c:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:122:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:179:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:225:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:484:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:589:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:817:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:880:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:937:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1017:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1136:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1283:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1332:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1455:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1502:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1536:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1572:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1641:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1672:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1735:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable myproxy_creds [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1756:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1831:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1869:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:1927:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:2049:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_creds.c:2111:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_delegation.c:9:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_VERSION [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_delegation.c:129:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_delegation.c:7:11: style: Variable 'pshost' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_destroy.c:46:28: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_extensions.c:13:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extensions [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_extensions.c:56:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_extensions.c:116:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extensions [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_extensions.c:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extensions [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_extensions.c:49:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:126:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] myproxy-6.2.16/myproxy_creds.c:243:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] myproxy-6.2.16/myproxy_creds.c:1212:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] myproxy-6.2.16/myproxy_creds.c:1828:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] myproxy-6.2.16/myproxy_creds.c:1866:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] myproxy-6.2.16/myproxy_creds.c:2142:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] myproxy-6.2.16/myproxy_get_credential.c:63:29: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_creds.c:545:13: error: Used file that is not opened. [useClosedFile] myproxy-6.2.16/myproxy_creds.c:625:13: error: Common realloc mistake: 'line_buffer' nulled but not freed upon failure [memleakOnRealloc] myproxy-6.2.16/myproxy_creds.c:479:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:478:25: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:478:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:479:14: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:481:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:478:25: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:478:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:481:23: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:813:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:812:25: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:812:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:813:14: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:815:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:812:25: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:812:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:815:23: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:954:24: warning: If memory allocation fails, then there is a possible null pointer dereference: path_prefix [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:953:25: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:953:25: note: Assignment 'path_prefix=strdup(creds->location)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:954:24: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1196:24: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cred [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1195:34: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1195:34: note: Assignment 'new_cred=malloc(sizeof(struct myproxy_creds))', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1196:24: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1249:24: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cred [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1248:34: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1248:34: note: Assignment 'new_cred=malloc(sizeof(struct myproxy_creds))', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1249:24: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1885:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1880:45: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1880:18: note: Assignment 'curr=head=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1885:9: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1886:2: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1880:45: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1880:18: note: Assignment 'curr=head=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1886:2: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1887:5: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1880:45: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1880:18: note: Assignment 'curr=head=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1887:5: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1977:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_path [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1976:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1976:26: note: Assignment 'tmp_path=malloc(tmp_len)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1977:18: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:1981:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp_path [nullPointerOutOfMemory] myproxy-6.2.16/myproxy_creds.c:1976:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy_creds.c:1976:26: note: Assignment 'tmp_path=malloc(tmp_len)', assigned value is 0 myproxy-6.2.16/myproxy_creds.c:1981:22: note: Null pointer dereference myproxy-6.2.16/myproxy_creds.c:369:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:376:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:383:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:415:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:422:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_creds.c:430:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_get_delegation.c:72:26: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_creds.c:162:15: style: Variable 'GL' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:573:11: style: Variable 'data_stream_mode' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:599:15: style: Variable 'variable' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:1087:43: style: Parameter 'creds' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_creds.c:1088:27: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_creds.c:1088:43: style: Parameter 'owner_name' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_creds.c:1088:61: style: Parameter 'credname' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_creds.c:1666:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:1820:20: style: Variable 'de' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:1857:20: style: Variable 'de' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_creds.c:656:18: style: Variable 'done' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/myproxy_get_trustroots.c:42:35: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_info.c:46:25: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_init.c:96:25: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy.c:397:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:425:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:1251:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:1253:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:1274:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:1276:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:2394:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy.c:2395:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/myproxy_log.c:92:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_PID [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_log.c:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_log.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_log.c:172:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_log.c:247:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_NOTICE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:532:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cert_dir [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:531:30: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:531:30: note: Assignment 'tmp_cert_dir=strdup(cert_dir)', assigned value is 0 myproxy-6.2.16/myproxy.c:532:13: note: Null pointer dereference myproxy-6.2.16/myproxy.c:532:33: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cert_dir [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:531:30: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:531:30: note: Assignment 'tmp_cert_dir=strdup(cert_dir)', assigned value is 0 myproxy-6.2.16/myproxy.c:532:33: note: Null pointer dereference myproxy-6.2.16/myproxy.c:1306:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_data [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:1305:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:1305:26: note: Assignment 'new_data=malloc(datalen+1)', assigned value is 0 myproxy-6.2.16/myproxy.c:1306:16: note: Null pointer dereference myproxy-6.2.16/myproxy.c:1307:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_data [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:1305:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:1305:26: note: Assignment 'new_data=malloc(datalen+1)', assigned value is 0 myproxy-6.2.16/myproxy.c:1307:9: note: Null pointer dereference myproxy-6.2.16/myproxy.c:1998:16: warning: If memory allocation fails, then there is a possible null pointer dereference: new_data [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:1997:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:1997:26: note: Assignment 'new_data=malloc(datalen+1)', assigned value is 0 myproxy-6.2.16/myproxy.c:1998:16: note: Null pointer dereference myproxy-6.2.16/myproxy.c:1999:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_data [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:1997:26: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:1997:26: note: Assignment 'new_data=malloc(datalen+1)', assigned value is 0 myproxy-6.2.16/myproxy.c:1999:9: note: Null pointer dereference myproxy-6.2.16/myproxy.c:2212:24: warning: If memory allocation fails, then there is a possible null pointer dereference: cred [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:2210:36: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:2210:36: note: Assignment 'cred->next=malloc(sizeof(struct myproxy_creds))', assigned value is 0 myproxy-6.2.16/myproxy.c:2211:28: note: Assignment 'cred=cred->next', assigned value is 0 myproxy-6.2.16/myproxy.c:2212:24: note: Null pointer dereference myproxy-6.2.16/myproxy.c:2214:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cred [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:2210:36: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:2210:36: note: Assignment 'cred->next=malloc(sizeof(struct myproxy_creds))', assigned value is 0 myproxy-6.2.16/myproxy.c:2211:28: note: Assignment 'cred=cred->next', assigned value is 0 myproxy-6.2.16/myproxy.c:2214:17: note: Null pointer dereference myproxy-6.2.16/myproxy.c:2404:20: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:2401:55: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:2401:30: note: Assignment 'curr->next=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy.c:2402:28: note: Assignment 'curr=curr->next', assigned value is 0 myproxy-6.2.16/myproxy.c:2404:20: note: Null pointer dereference myproxy-6.2.16/myproxy.c:2405:13: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:2401:55: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:2401:30: note: Assignment 'curr->next=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy.c:2402:28: note: Assignment 'curr=curr->next', assigned value is 0 myproxy-6.2.16/myproxy.c:2405:13: note: Null pointer dereference myproxy-6.2.16/myproxy.c:2406:50: warning: If memory allocation fails, then there is a possible null pointer dereference: curr [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:2401:55: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:2401:30: note: Assignment 'curr->next=(myproxy_certs_t*)malloc(sizeof(myproxy_certs_t))', assigned value is 0 myproxy-6.2.16/myproxy.c:2402:28: note: Assignment 'curr=curr->next', assigned value is 0 myproxy-6.2.16/myproxy.c:2406:50: note: Null pointer dereference myproxy-6.2.16/myproxy_ocsp.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable responder_cert [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:1504:9: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] myproxy-6.2.16/myproxy.c:1501:9: note: len is assigned myproxy-6.2.16/myproxy.c:1504:9: note: len is overwritten myproxy-6.2.16/myproxy_ocsp.c:76:40: style:inconclusive: Function 'myproxy_ocsp_set_responder' argument 1 names different: declaration 'url' definition 'newurl'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:13:44: note: Function 'myproxy_ocsp_set_responder' argument 1 names different: declaration 'url' definition 'newurl'. myproxy-6.2.16/myproxy_ocsp.c:76:40: note: Function 'myproxy_ocsp_set_responder' argument 1 names different: declaration 'url' definition 'newurl'. myproxy-6.2.16/myproxy_ocsp.c:129:37: style:inconclusive: Function 'myproxy_ocsp_set_policy' argument 1 names different: declaration 'policy' definition 'newpolicy'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:15:41: note: Function 'myproxy_ocsp_set_policy' argument 1 names different: declaration 'policy' definition 'newpolicy'. myproxy-6.2.16/myproxy_ocsp.c:129:37: note: Function 'myproxy_ocsp_set_policy' argument 1 names different: declaration 'policy' definition 'newpolicy'. myproxy-6.2.16/myproxy_ocsp.c:136:31: style:inconclusive: Function 'myproxy_ocsp_set_signer' argument 1 names different: declaration 'sign_cert' definition 'new_sign_cert'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:16:35: note: Function 'myproxy_ocsp_set_signer' argument 1 names different: declaration 'sign_cert' definition 'new_sign_cert'. myproxy-6.2.16/myproxy_ocsp.c:136:31: note: Function 'myproxy_ocsp_set_signer' argument 1 names different: declaration 'sign_cert' definition 'new_sign_cert'. myproxy-6.2.16/myproxy_ocsp.c:136:56: style:inconclusive: Function 'myproxy_ocsp_set_signer' argument 2 names different: declaration 'sign_key' definition 'new_sign_key'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:16:56: note: Function 'myproxy_ocsp_set_signer' argument 2 names different: declaration 'sign_key' definition 'new_sign_key'. myproxy-6.2.16/myproxy_ocsp.c:136:56: note: Function 'myproxy_ocsp_set_signer' argument 2 names different: declaration 'sign_key' definition 'new_sign_key'. myproxy-6.2.16/myproxy_ocsp.c:143:29: style:inconclusive: Function 'myproxy_ocsp_set_times' argument 1 names different: declaration 'skew' definition 'newskew'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:17:33: note: Function 'myproxy_ocsp_set_times' argument 1 names different: declaration 'skew' definition 'newskew'. myproxy-6.2.16/myproxy_ocsp.c:143:29: note: Function 'myproxy_ocsp_set_times' argument 1 names different: declaration 'skew' definition 'newskew'. myproxy-6.2.16/myproxy_ocsp.c:143:43: style:inconclusive: Function 'myproxy_ocsp_set_times' argument 2 names different: declaration 'maxage' definition 'newmaxage'. [funcArgNamesDifferent] myproxy-6.2.16/myproxy_ocsp.h:17:44: note: Function 'myproxy_ocsp_set_times' argument 2 names different: declaration 'maxage' definition 'newmaxage'. myproxy-6.2.16/myproxy_ocsp.c:143:43: note: Function 'myproxy_ocsp_set_times' argument 2 names different: declaration 'maxage' definition 'newmaxage'. myproxy-6.2.16/myproxy_ocsp.c:157:31: style: Parameter 'cert' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_ocsp.c:157:43: style: Parameter 'issuer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy.c:536:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1125:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1135:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1141:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1147:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1155:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1168:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1176:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1185:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1198:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1211:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1221:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1230:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1239:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1254:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1277:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1470:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1502:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1695:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1707:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1716:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1735:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1745:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1751:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1760:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1765:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1773:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1778:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1785:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1790:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1799:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1805:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1815:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1821:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1831:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1837:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1847:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1853:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1868:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1874:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1886:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1894:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1896:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1903:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1918:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1924:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1933:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1945:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1947:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1953:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:1967:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2055:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2078:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2100:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2112:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2124:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2136:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2148:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2160:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2172:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2184:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2219:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2233:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2257:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2280:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2295:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2310:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2325:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2340:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2354:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2410:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2741:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:2776:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy.c:113:11: style: Variable 'timeoutStr' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy.c:140:58: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy.c:498:51: style: Variable 'work_dir' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy.c:773:10: style: Variable 'compat' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy.c:1013:105: style: Parameter 'passphrase' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy.c:2587:27: style: Variable 'd' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy.c:3259:11: style: Variable 'buffer_end' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_popen.c:15:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy.c:144:25: style: Variable 'port' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/myproxy.c:915:29: style: Variable 'major_status' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/myproxy_read_pass.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_PHRASE_LEN [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_read_pass.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_read_pass.c:172:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_PHRASE_LEN [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_read_pass.c:189:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/myproxy_server.c:59:27: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/myproxy_store.c:85:30: error: There is an unknown macro here somewhere. Configuration is required. If MYPROXY_VERSION is a macro then please configure it. [unknownMacro] myproxy-6.2.16/pidfile.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:123:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:181:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:218:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:239:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/pidfile.c:52:30: style: Parameter 'pfh' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/safe_id_range_list.c:88:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:122:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:177:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:206:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:233:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:283:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:306:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:337:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:392:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:595:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:659:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:819:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:71:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:199:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:462:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:626:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:869:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:1100:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_is_path_trusted.c:1185:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/safe_id_range_list.c:304:25: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] myproxy-6.2.16/safe_id_range_list.c:335:24: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] myproxy-6.2.16/safe_id_range_list.c:201:44: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/safe_id_range_list.c:231:47: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/safe_id_range_list.c:304:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/safe_id_range_list.c:335:19: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/ssl_utils.c:228:30: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] myproxy-6.2.16/ssl_utils.c:87:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_NUM_ERRORS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:193:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cert_chain [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:267:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:416:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_GSI_PROXY_MODULE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:542:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:605:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:739:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:824:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i2d_PrivateKey [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:858:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:892:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1143:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i2d_PrivateKey [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1226:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1296:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1367:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_DEFAULT_KEYBITS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1498:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_SUCCESS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1609:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_EXTENSION [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1842:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1871:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1904:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:1933:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_PROXY_FILE_INPUT [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:2035:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_SUCCESS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:2061:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:2132:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_R_CERT_ALREADY_IN_HASH_TABLE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:2271:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOBUS_SUCCESS [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:2325:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_server_config.c:281:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_server_config.c:323:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DAEMON [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_server_config.c:981:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_server_config.c:1221:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/myproxy_server_config.c:1338:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_SERVER_POLICY_TYPE_FQAN [valueFlowBailoutIncompleteVar] myproxy-6.2.16/ssl_utils.c:188:12: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] myproxy-6.2.16/ssl_utils.c:187:20: note: Assuming allocation function fails myproxy-6.2.16/ssl_utils.c:187:20: note: Assignment 'buffer=malloc(buffer_len+1)', assigned value is 0 myproxy-6.2.16/ssl_utils.c:188:12: note: Null pointer dereference myproxy-6.2.16/ssl_utils.c:1218:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/ssl_utils.c:1217:25: note: Assuming allocation function fails myproxy-6.2.16/ssl_utils.c:1217:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/ssl_utils.c:1218:14: note: Null pointer dereference myproxy-6.2.16/ssl_utils.c:1221:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/ssl_utils.c:1217:25: note: Assuming allocation function fails myproxy-6.2.16/ssl_utils.c:1217:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/ssl_utils.c:1221:18: note: Null pointer dereference myproxy-6.2.16/ssl_utils.c:530:36: style:inconclusive: Function 'ssl_proxy_file_destroy' argument 1 names different: declaration 'path' definition 'proxyfile'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:61:40: note: Function 'ssl_proxy_file_destroy' argument 1 names different: declaration 'path' definition 'proxyfile'. myproxy-6.2.16/ssl_utils.c:530:36: note: Function 'ssl_proxy_file_destroy' argument 1 names different: declaration 'path' definition 'proxyfile'. myproxy-6.2.16/ssl_utils.c:1200:50: style:inconclusive: Function 'ssl_proxy_store_to_file' argument 1 names different: declaration 'creds' definition 'proxy_creds'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:171:58: note: Function 'ssl_proxy_store_to_file' argument 1 names different: declaration 'creds' definition 'proxy_creds'. myproxy-6.2.16/ssl_utils.c:1200:50: note: Function 'ssl_proxy_store_to_file' argument 1 names different: declaration 'creds' definition 'proxy_creds'. myproxy-6.2.16/ssl_utils.c:1595:58: style:inconclusive: Function 'ssl_proxy_delegation_sign' argument 3 names different: declaration 'request_buffer' definition 'input_buffer'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:278:58: note: Function 'ssl_proxy_delegation_sign' argument 3 names different: declaration 'request_buffer' definition 'input_buffer'. myproxy-6.2.16/ssl_utils.c:1595:58: note: Function 'ssl_proxy_delegation_sign' argument 3 names different: declaration 'request_buffer' definition 'input_buffer'. myproxy-6.2.16/ssl_utils.c:1596:57: style:inconclusive: Function 'ssl_proxy_delegation_sign' argument 4 names different: declaration 'request_buffer_length' definition 'input_buffer_length'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:279:57: note: Function 'ssl_proxy_delegation_sign' argument 4 names different: declaration 'request_buffer_length' definition 'input_buffer_length'. myproxy-6.2.16/ssl_utils.c:1596:57: note: Function 'ssl_proxy_delegation_sign' argument 4 names different: declaration 'request_buffer_length' definition 'input_buffer_length'. myproxy-6.2.16/ssl_utils.c:1597:59: style:inconclusive: Function 'ssl_proxy_delegation_sign' argument 5 names different: declaration 'proxy_buffer' definition 'output_buffer'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:280:59: note: Function 'ssl_proxy_delegation_sign' argument 5 names different: declaration 'proxy_buffer' definition 'output_buffer'. myproxy-6.2.16/ssl_utils.c:1597:59: note: Function 'ssl_proxy_delegation_sign' argument 5 names different: declaration 'proxy_buffer' definition 'output_buffer'. myproxy-6.2.16/ssl_utils.c:1598:58: style:inconclusive: Function 'ssl_proxy_delegation_sign' argument 6 names different: declaration 'proxy_buffer_length' definition 'output_buffer_length'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:281:58: note: Function 'ssl_proxy_delegation_sign' argument 6 names different: declaration 'proxy_buffer_length' definition 'output_buffer_length'. myproxy-6.2.16/ssl_utils.c:1598:58: note: Function 'ssl_proxy_delegation_sign' argument 6 names different: declaration 'proxy_buffer_length' definition 'output_buffer_length'. myproxy-6.2.16/ssl_utils.c:1864:65: style:inconclusive: Function 'ssl_proxy_restrictions_set_lifetime' argument 2 names different: declaration 'seconds' definition 'lifetime'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:318:52: note: Function 'ssl_proxy_restrictions_set_lifetime' argument 2 names different: declaration 'seconds' definition 'lifetime'. myproxy-6.2.16/ssl_utils.c:1864:65: note: Function 'ssl_proxy_restrictions_set_lifetime' argument 2 names different: declaration 'seconds' definition 'lifetime'. myproxy-6.2.16/ssl_utils.c:1987:38: style:inconclusive: Function 'ssl_creds_to_buffer' argument 1 names different: declaration 'chain' definition 'creds'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:359:42: note: Function 'ssl_creds_to_buffer' argument 1 names different: declaration 'chain' definition 'creds'. myproxy-6.2.16/ssl_utils.c:1987:38: note: Function 'ssl_creds_to_buffer' argument 1 names different: declaration 'chain' definition 'creds'. myproxy-6.2.16/ssl_utils.c:2312:27: style:inconclusive: Function 'ssl_get_times' argument 1 names different: declaration 'proxyfile' definition 'path'. [funcArgNamesDifferent] myproxy-6.2.16/ssl_utils.h:429:31: note: Function 'ssl_get_times' argument 1 names different: declaration 'proxyfile' definition 'path'. myproxy-6.2.16/ssl_utils.c:2312:27: note: Function 'ssl_get_times' argument 1 names different: declaration 'proxyfile' definition 'path'. myproxy-6.2.16/ssl_utils.c:1366:34: style: Variable 'keybitsenv' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/ssl_utils.c:1450:50: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/ssl_utils.c:1594:58: style: Parameter 'restrictions' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/ssl_utils.c:2006:38: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/ssl_utils.c:2316:19: style: Variable 'tz' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/safe_is_path_trusted.c:944:4: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] myproxy-6.2.16/safe_is_path_trusted.c:927:4: note: r is assigned myproxy-6.2.16/safe_is_path_trusted.c:944:4: note: r is overwritten myproxy-6.2.16/safe_is_path_trusted.c:62:41: style: Parameter 'stat_buf' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/safe_is_path_trusted.c:549:38: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/safe_is_path_trusted.c:1062:72: style: Parameter 'buf_end' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/string_funcs.c:67:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:306:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:425:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:465:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:520:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:546:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/string_funcs.c:504:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] myproxy-6.2.16/string_funcs.c:36:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] myproxy-6.2.16/string_funcs.c:27:17: note: Assuming allocation function fails myproxy-6.2.16/string_funcs.c:27:17: note: Assignment 'tmp=strdup(buf)', assigned value is 0 myproxy-6.2.16/string_funcs.c:33:18: note: Assuming condition is false myproxy-6.2.16/string_funcs.c:36:7: note: Null pointer dereference myproxy-6.2.16/string_funcs.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: *dest [nullPointerOutOfMemory] myproxy-6.2.16/string_funcs.c:58:24: note: Assuming allocation function fails myproxy-6.2.16/string_funcs.c:58:10: note: Assignment '*dest=(char*)malloc(1)', assigned value is 0 myproxy-6.2.16/string_funcs.c:59:3: note: Null pointer dereference myproxy-6.2.16/string_funcs.c:210:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/string_funcs.c:209:25: note: Assuming allocation function fails myproxy-6.2.16/string_funcs.c:209:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/string_funcs.c:210:14: note: Null pointer dereference myproxy-6.2.16/string_funcs.c:212:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmpfilename [nullPointerOutOfMemory] myproxy-6.2.16/string_funcs.c:209:25: note: Assuming allocation function fails myproxy-6.2.16/string_funcs.c:209:25: note: Assignment 'tmpfilename=malloc(bufsiz)', assigned value is 0 myproxy-6.2.16/string_funcs.c:212:22: note: Null pointer dereference myproxy-6.2.16/string_funcs.c:553:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:583:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:618:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:651:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:662:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:873:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:877:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/string_funcs.c:48:18: style:inconclusive: Function 'my_append' argument 1 names different: declaration 'target' definition 'dest'. [funcArgNamesDifferent] myproxy-6.2.16/string_funcs.h:30:52: note: Function 'my_append' argument 1 names different: declaration 'target' definition 'dest'. myproxy-6.2.16/string_funcs.c:48:18: note: Function 'my_append' argument 1 names different: declaration 'target' definition 'dest'. myproxy-6.2.16/string_funcs.c:48:36: style:inconclusive: Function 'my_append' argument 2 names different: declaration 'source_1' definition 'src'. [funcArgNamesDifferent] myproxy-6.2.16/string_funcs.h:31:44: note: Function 'my_append' argument 2 names different: declaration 'source_1' definition 'src'. myproxy-6.2.16/string_funcs.c:48:36: note: Function 'my_append' argument 2 names different: declaration 'source_1' definition 'src'. myproxy-6.2.16/string_funcs.c:502:24: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/string_funcs.c:597:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/string_funcs.c:704:11: style: Variable 'bad_chars' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/string_funcs.c:123:20: style: Variable 'string_len' is assigned a value that is never used. [unreadVariable] myproxy-6.2.16/string_funcs.c:68:15: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] myproxy-6.2.16/string_funcs.c:137:5: error: va_list 'aq' used before va_start() was called. [va_list_usedBeforeStarted] myproxy-6.2.16/string_funcs.c:139:19: error: va_list 'aq' used before va_start() was called. [va_list_usedBeforeStarted] myproxy-6.2.16/string_funcs.c:140:5: error: va_list 'aq' used before va_start() was called. [va_list_usedBeforeStarted] myproxy-6.2.16/voms_utils.c:380:29: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] myproxy-6.2.16/voms_utils.c:292:19: style: Condition 'base_len>0' is always true [knownConditionTrueFalse] myproxy-6.2.16/voms_utils.c:287:18: note: Assuming that condition 'base_len==0' is not redundant myproxy-6.2.16/voms_utils.c:292:19: note: Condition 'base_len>0' is always true myproxy-6.2.16/voms_utils.c:437:15: style: Condition 'array!=NULL' is always true [knownConditionTrueFalse] myproxy-6.2.16/voms_utils.c:84:5: error: Memory leak: new_elements [memleak] myproxy-6.2.16/voms_utils.c:110:43: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/voms_utils.c:381:23: style: Variable 'name' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vparse.c:228:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vomsclient.c:96:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vomsclient.c:142:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vomsclient.c:406:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable voms_command_t [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vomsclient.c:616:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERIFY_NONE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vomsclient.c:760:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPROXY_ERROR_RESPONSE [valueFlowBailoutIncompleteVar] myproxy-6.2.16/vparse.c:214:37: style:inconclusive: Function 'vparse_stream' argument 2 names different: declaration 'options' definition 'user_options'. [funcArgNamesDifferent] myproxy-6.2.16/vparse.h:41:37: note: Function 'vparse_stream' argument 2 names different: declaration 'options' definition 'user_options'. myproxy-6.2.16/vparse.c:214:37: note: Function 'vparse_stream' argument 2 names different: declaration 'options' definition 'user_options'. myproxy-6.2.16/vomsclient.c:485:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/vomsclient.c:502:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] myproxy-6.2.16/vomsclient.c:454:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/vomsclient.c:635:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/vomsclient.c:656:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] myproxy-6.2.16/vomsclient.c:863:32: style:inconclusive: Function 'voms_init_delegation' argument 3 names different: declaration 'lifetime_seconds' definition 'lifetime'. [funcArgNamesDifferent] myproxy-6.2.16/vomsclient.c:12:36: note: Function 'voms_init_delegation' argument 3 names different: declaration 'lifetime_seconds' definition 'lifetime'. myproxy-6.2.16/vomsclient.c:863:32: note: Function 'voms_init_delegation' argument 3 names different: declaration 'lifetime_seconds' definition 'lifetime'. myproxy-6.2.16/vomsclient.c:132:33: style: Parameter 'vomses' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:171:42: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:173:49: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:348:11: style: Variable 'p_colon' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vomsclient.c:476:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vomsclient.c:585:20: style: Parameter 'voname' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:585:48: style: Parameter 'voms_userconf' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:596:11: style: Variable 'old_ucert' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vomsclient.c:596:30: style: Variable 'old_ukey' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vomsclient.c:597:11: style: Variable 'tmp_dir' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/vomsclient.c:771:50: style: Parameter 'acseq' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/vomsclient.c:806:24: style: Parameter 'passphrase' can be declared as pointer to const [constParameterPointer] myproxy-6.2.16/myproxy_server_config.c:166:31: style: Variable 'e' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_server_config.c:1233:19: style: Variable 'GL' can be declared as pointer to const [constVariablePointer] myproxy-6.2.16/myproxy_server_config.c:998:10: warning: The expression 'strcmp(context->pam_policy,"sufficient") != 0' is suspicious. It overlaps '!strcmp(context->pam_policy,"required")'. [overlappingStrcmp] myproxy-6.2.16/myproxy_server_config.c:1011:10: warning: The expression 'strcmp(context->sasl_policy,"sufficient") != 0' is suspicious. It overlaps '!strcmp(context->sasl_policy,"required")'. [overlappingStrcmp] diff: head myproxy-6.2.16/myproxy.c:532:33: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_cert_dir [nullPointerOutOfMemory] myproxy-6.2.16/myproxy.c:531:30: note: Assuming allocation function fails myproxy-6.2.16/myproxy.c:531:30: note: Assignment 'tmp_cert_dir=strdup(cert_dir)', assigned value is 0 myproxy-6.2.16/myproxy.c:532:33: note: Null pointer dereference DONE