2025-07-08 13:08 ftp://ftp.de.debian.org/debian/pool/main/g/gridsite/gridsite_3.0.0~20240125git1200598.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 1057 1061 elapsed-time: 3.8 3.6 head-timing-info: old-timing-info: head results: gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:85:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:90:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:114:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_VERBOSE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:80:40: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:79:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:79:13: note: Assignment 'fp=fopen("https%3A%2F%2Fexample-dn-list","w")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:80:40: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:81:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:79:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:79:13: note: Assignment 'fp=fopen("https%3A%2F%2Fexample-dn-list","w")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gaclexample.c:81:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:117:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:283:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOAP_ERR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:138:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:222:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_HTCP_PORT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:51:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:49:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:65:10: style: Variable 'proxyfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/findproxyfile.c:67:17: style: Variable 'long_options' can be declared as const array [constVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:124:16: style: Condition 'user_dn!=NULL' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:152:16: style: Condition 'user_dn!=NULL' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:188:16: style: Condition 'user_dn==NULL' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:222:16: style: Condition 'user_dn!=NULL' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:256:16: style: Condition 'user_dn!=NULL' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:290:16: style: Condition 'user_dn==NULL' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:24: style: Variable 'method' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:86:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:111:23: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:143:23: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:175:9: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:209:23: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:242:23: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:277:9: style: Variable 'docroot' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:14: style: Unused variable: docroot [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:33: style: Unused variable: request [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:43: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:47: style: Unused variable: client_dn [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:62:59: style: Unused variable: user_dn [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:63:14: style: Unused variable: delegation_id [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:63:30: style: Unused variable: reqtxt [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:63:39: style: Unused variable: proxydir [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:110:9: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:111:9: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:143:9: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:20: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:9: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:13: style: Unused variable: c [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:25: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:175:30: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:208:9: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:209:9: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:242:9: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:20: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:9: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:13: style: Unused variable: c [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:25: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:277:30: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:277:34: style: Unused variable: client_dn [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:87:17: style: This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only, and then as curlx_getenv(). [prohibitedcurl_getenvCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:103:13: style: This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only, and then as curlx_getenv(). [prohibitedcurl_getenvCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:110:20: style: This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only, and then as curlx_getenv(). [prohibitedcurl_getenvCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:88:17: warning: If memory allocation fails, then there is a possible null pointer dereference: requestURI [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:87:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:87:28: note: Assignment 'requestURI=curl_getenv("REQUEST_URI")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:88:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:54:25: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'write_data' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:131:54: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:54:25: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:69:8: style: Variable 'requestURI' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-copy.c:77:8: style: Variable 'capath' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:164:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_HIST_PREFIX [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:211:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_NONE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_ASN1_CONSTRUCTED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:107:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ASN1_MAXCOORDLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:126:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable treecoords [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable V_ASN1_CONSTRUCTED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:478:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:517:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:152:9: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:288:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:290:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:307:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:308:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:309:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:310:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:311:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:94:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:288:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_uri [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:287:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:287:20: note: Assignment 'dir_uri=strdup(request_uri)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:288:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:290:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_uri [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:287:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:287:20: note: Assignment 'dir_uri=strdup(request_uri)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:290:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:90:26: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:130:27: style: Parameter 'long_s' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:130:41: style: Parameter 'short_s' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:147:19: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:205:17: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:206:47: style: Variable 'request_uri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:206:61: style: Variable 'button' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:207:31: style: Variable 'grst_valid_i' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:207:46: style: Variable 'gsiproxylimit' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_main.c:146:19: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:803:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PASSCODE_JS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:900:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_NONE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:190:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:343:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:456:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PASSCODE_JS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PASSCODE_JS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:528:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:610:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:670:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:753:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:971:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1018:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphasort [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PASSCODE_JS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1216:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1316:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1669:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_DN_LISTS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:137:8: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:247:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:226:14: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:226:14: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:226:14: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:226:14: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:119:7: error: Memory leak: url [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:74:9: style: Variable 'https' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:74:31: style: Variable 'request_uri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:74:51: style: Variable 'sitecast_port' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:75:9: style: Variable 'sitecast_domain' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:207:9: style: Variable 'method' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:207:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:74:17: style: Unused variable: server_port [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:75:55: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gridsite-storage.c:75:59: style: Unused variable: groups [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2134:18: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1016:37: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1324:37: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1539:64: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1658:48: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2092:58: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2593:36: debug: Function::addArguments found argument 'X509' with varid 0. [varid0] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSTgaclCred [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:375:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSTgaclEntry [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:463:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:493:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:571:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSTgaclAcl [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:764:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:845:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:860:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:935:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSTgaclUser [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1001:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_CASEFOLD [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1099:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RECURS_LIMIT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1198:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_DN_LISTS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1332:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_WRITE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:306:12: style: Condition 'ii<0' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:305:10: note: Assignment 'ii=(int)*p', assigned value is greater than -1 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:306:12: note: Condition 'ii<0' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:139:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:137:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:137:17: note: Assignment 'dup=strndup(str,length)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:139:11: note: Assignment 'p=dup', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:139:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:24:34: style: Parameter 'asn1time' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:104:34: style: Parameter 'treecoords' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:119:50: style: Parameter 'taglist' can be declared as const array [constParameter] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:120:53: style: Parameter 'treecoords' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:466:35: style: Parameter 'coords' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_asn1.c:320:9: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSThtcpNOPop [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSThtcpNOPop [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:125:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:190:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSThtcpTSTop [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:237:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSThtcpMessage [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:237:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:118:34: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:118:48: style: Parameter 'uri' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:118:59: style: Parameter 'req_hdrs' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:167:35: style: Parameter 'resp_hdrs' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:167:52: style: Parameter 'entity_hdrs' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:168:35: style: Parameter 'cache_hdrs' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:257:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:257:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:257:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:260:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:260:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:264:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:264:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:264:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:267:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:267:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:271:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:271:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:271:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:274:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:274:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:278:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:278:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:278:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:281:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:281:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:295:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:295:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:295:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:298:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:298:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:302:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:302:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:302:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:305:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:305:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:309:23: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:309:27: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:309:67: portability: '(void*)raw' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:312:45: portability: '(void*)s' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:312:49: portability: '(void*)s+2' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:281:10: style: Variable 's' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_htcp.c:312:10: style: Variable 's' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:100:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASN1_STRFLGS_RFC2253 [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:159:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NID_commonName [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:218:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_ONCE_INIT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:309:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_PURPOSE_MIN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:318:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:354:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:415:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_MAX_TIME_T [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:592:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:855:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1042:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1341:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1366:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_V_ERR_INVALID_CA [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1394:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1453:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1562:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certstack [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1672:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certstack [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1779:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509v3_KU_DIGITAL_SIGNATURE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2117:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certstack [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2144:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable certstack [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2381:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2509:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_OK [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2562:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2600:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509_INFO [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2648:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2787:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:75:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSThttpCharsList [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:162:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:211:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_HEADFILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:227:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_FOOTFILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:559:11: style: Condition 'entry==NULL' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:559:29: style: Condition 'entry_no<1' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:552:29: note: Assuming that condition 'entry_no<1' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:559:29: note: Condition 'entry_no<1' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:668:11: style: Condition 'entry==NULL' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:668:29: style: Condition 'entry_no<1' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:660:29: note: Assuming that condition 'entry_no<1' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:668:29: note: Condition 'entry_no<1' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:985:5: error: Memory leak: dir_path_vfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:117:12: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:117:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:118:12: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:118:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:119:12: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:116:23: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:119:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:972:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:972:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:973:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:973:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:974:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:974:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:990:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:971:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:990:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1028:10: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1028:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1029:10: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1029:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1030:10: warning: If memory allocation fails, then there is a possible null pointer dereference: AclFilename [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1027:21: note: Assignment 'AclFilename=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1030:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assignment 'tmp=malloc(2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: note: Null pointer addition gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:384:16: style: Variable 'cred_no' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:382:11: note: cred_no is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:384:16: note: cred_no is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:95:16: style: Variable 'acl' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:262:29: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:538:28: style: Variable 'cred' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:698:35: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:700:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:715:41: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:718:17: style: Variable 'cred' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:752:45: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:773:45: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:829:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:885:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:936:9: style: Variable 'vfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:936:34: style: Variable 'dir_path_file' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:998:9: style: Variable 'current_char' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:202:36: error: Uninitialized variable: cred [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:474:37: warning: Uninitialized variable: cred [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:454:53: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:474:37: note: Uninitialized variable: cred gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:98:26: style: Unused variable: allow [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:98:33: style: Unused variable: deny [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:306:26: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:354:26: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:592:26: style: Unused variable: allow [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:592:33: style: Unused variable: deny [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:592:39: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:592:42: style: Unused variable: timestamp [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:645:26: style: Unused variable: allow [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:645:33: style: Unused variable: deny [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:645:39: style: Unused variable: timestamp [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:645:50: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:830:50: style: Variable 'allow_new_person' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:830:34: style: Variable 'allow_new_person' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:937:9: style: Unused variable: fp [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1000:7: style: Unused variable: n [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:333:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:344:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ACL_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:187:12: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:71:17: style: Condition 'size>0' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:70:17: note: Assuming that condition 'size==0' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:71:17: note: Condition 'size>0' is always true gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:86:12: warning: If memory allocation fails, then there is a possible null pointer dereference: (GRSThttpCharsList*)thisbody->last->next [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:85:54: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:84:34: note: Assignment 'thisbody->last->next=(GRSThttpCharsList*)malloc(sizeof(GRSThttpCharsList))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:86:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:87:12: warning: If memory allocation fails, then there is a possible null pointer dereference: (GRSThttpCharsList*)thisbody->last->next [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:85:54: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:84:34: note: Assignment 'thisbody->last->next=(GRSThttpCharsList*)malloc(sizeof(GRSThttpCharsList))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:87:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:140:8: warning: If memory allocation fails, then there is a possible null pointer dereference: (GRSThttpCharsList*)thisbody->last->next [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:139:55: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:139:28: note: Assignment 'thisbody->last->next=(GRSThttpCharsList*)malloc(sizeof(GRSThttpCharsList))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:140:8: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:141:8: warning: If memory allocation fails, then there is a possible null pointer dereference: (GRSThttpCharsList*)thisbody->last->next [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:139:55: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:139:28: note: Assignment 'thisbody->last->next=(GRSThttpCharsList*)malloc(sizeof(GRSThttpCharsList))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:141:8: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:179:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pathfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assignment 'pathfile=malloc(strlen(file)+strlen(headfootname)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:179:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:8: warning: If memory allocation fails, then there is a possible null pointer dereference: pathfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assignment 'pathfile=malloc(strlen(file)+strlen(headfootname)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:8: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:24: warning: If memory allocation fails, then there is a possible null pointer dereference: pathfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assignment 'pathfile=malloc(strlen(file)+strlen(headfootname)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:24: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:262:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cgiposted [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:259:50: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:259:50: note: Assignment 'cgiposted=malloc(contentlength+3)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:262:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:284:25: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: namepattern [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:281:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:281:23: note: Assignment 'namepattern=malloc(strlen(name)+3)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:284:25: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:317:12: warning: If memory allocation fails, then there is a possible null pointer dereference: returnvalue [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:292:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:292:23: note: Assignment 'returnvalue=malloc(n+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:317:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:321:3: warning: If memory allocation fails, then there is a possible null pointer dereference: returnvalue [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:292:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:292:23: note: Assignment 'returnvalue=malloc(n+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:317:27: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:321:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:364:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:336:15: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:336:15: note: Assignment 'out=malloc(n+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:364:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:95:48: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:150:37: style: Parameter 'thisbody' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:154:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:168:55: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:168:67: style: Parameter 'headfootname' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:237:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:246:29: style: Variable 'valuestart' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:246:56: style: Variable 'querystring' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:330:31: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:375:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:409:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:102:15: style: Unused variable: c [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:249:11: style: Unused variable: size_needed [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:329:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:351:15: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:363:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:366:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:345:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:344:16: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:344:16: note: Assignment 'path=malloc(strlen(pathandfile)+sizeof(GRST_ACL_FILE)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:345:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:327:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:336:38: style: Parameter 'pathandfile' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:403:38: style: Parameter 'cred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:440:40: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:513:36: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:513:57: style: Parameter 'dir_uri' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:548:46: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:244:92: error: Uninitialized variable: acl [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:123:17: style: Variable 'doc' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:123:14: style: Variable 'doc' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:128:17: style: Unused variable: perm [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_EXP_LOGFILEDIR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:645:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:303:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_NONE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:476:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:658:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_NOFILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:861:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_SUCCESS [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:918:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_RFC822_DATE_LEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:972:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_UEXECUTE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1112:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_FORBIDDEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1127:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_BAD_REQUEST [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1150:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_PUT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1184:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_GET [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1274:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RECURS_LIMIT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1336:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_NONE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1520:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RECURS_LIMIT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1564:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_POST [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1628:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_HTTP_PORT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1671:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_ADMIN_FILE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1909:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_HTCP_PORT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2072:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APRMAXHOSTLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2307:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECLINED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2314:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APR_DIR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2362:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_MAX_SSL_SESSION_ID_LENGTH [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2425:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSL_MAX_SSL_SESSION_ID_LENGTH [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2704:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECLINED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3496:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3535:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3562:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3657:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3724:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3808:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3902:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_INTERNAL_SERVER_ERROR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:4035:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRSTerrorLogFunc [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:4094:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MOVED_TEMPORARILY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:169:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:310:23: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:406:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:506:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:615:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:625:15: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:693:27: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:804:19: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:811:19: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:822:19: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:287:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: firstlinkpath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:285:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:285:28: note: Assignment 'firstlinkpath=malloc(strlen(mapdir)+2+strlen(firstlink))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:287:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:307:29: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: otherlinkpath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:302:40: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:302:40: note: Assignment 'otherlinkpath=malloc(strlen(mapdir)+2+strlen(mapdirentry->d_name))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:307:29: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:400:36: warning: If resource allocation fails, then there is a possible null pointer dereference: mapdirstream [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:398:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:398:28: note: Assignment 'mapdirstream=opendir(mapdir)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:400:36: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:153:16: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:276:51: style: Parameter 'firstlink' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:280:22: style: Variable 'mapdirentry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:341:37: style: Parameter 'rawstring' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:386:42: style: Parameter 'encodedkey' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:390:22: style: Variable 'mapdirentry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:477:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:582:11: style: Variable 'grst_cred_0' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:586:11: style: Variable 'diskmode_env' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:592:11: style: Variable 'target_homedir' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:595:11: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:576:17: style: Variable 'userdir' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:609:10: style: Variable 'prog' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:797:17: style: Variable 'userdir' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:869:20: style: Variable 'target_homedir' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:869:22: style: Variable 'target_homedir' is allocated memory that is never used. [unusedAllocatedMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:598:10: style: Unused variable: dwd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:189:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_FOLLOWLOCATION [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:242:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:369:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:545:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:603:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_HTTPHEADER [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:653:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:706:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:891:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1010:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1356:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1582:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1612:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1655:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1714:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_RET_FAILED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1741:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:291:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:841:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:873:11: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:877:15: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:893:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:896:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1177:28: warning: Either the condition '(fd=open(fullfilename,O_RDONLY))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1118:50: note: Assuming that condition '(fd=open(fullfilename,O_RDONLY))<0' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1177:28: note: Invalid argument gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:115:14: warning: If memory allocation fails, then there is a possible null pointer dereference: auri [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:108:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:108:17: note: Assignment 'auri=strdup(auri_prefix)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:115:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:17: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assignment 'value=strdup(value)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:49: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assignment 'value=strdup(value)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:49: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:65: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assignment 'value=strdup(value)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:65: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:861:10: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:860:16: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:860:16: note: Assignment 'path=malloc(len+sizeof(GRST_ACL_FILE)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:861:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1332:21: style: Variable 'allowed' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1329:16: note: allowed is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1332:21: note: allowed is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:97:40: style: Parameter 'auri_prefix' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:97:59: style: Parameter 'auri_suffix' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:137:37: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:160:52: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:283:49: style: Parameter 'firstcred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:283:74: style: Parameter 'oldcred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:307:37: style: Parameter 'cred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:342:39: style: Parameter 'cred1' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:342:60: style: Parameter 'cred2' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:449:39: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:546:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:591:35: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:605:45: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:839:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:848:37: style: Parameter 'pathandfile' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:854:23: style: Variable 'file' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:982:39: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:982:59: style: Parameter 'cred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:986:22: style: Variable 'crediter' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1046:54: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1046:66: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1092:33: style: Variable 'mapped' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1185:55: style: Parameter 'dnlists' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1191:60: style: Variable 'dn' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1284:39: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1284:51: style: Parameter 'auri' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1286:17: style: Variable 'cred' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1298:47: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1307:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1343:51: style: Parameter 'acl' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1353:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:790:39: error: Uninitialized variable: acl [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:795:38: error: Uninitialized variable: acl [legacyUninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:83:23: style: Variable 'xmlKeepBlanksDefault' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:391:7: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:700:17: style: Unused variable: perm [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1092:42: style: Unused variable: q [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1191:39: style: Unused variable: filename [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1191:60: style: Variable 'dn' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1308:25: style: Unused variable: usercred [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/mod_gridsite_example.c:156:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECLINED [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:204:24: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:220:20: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:223:20: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:226:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:240:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:353:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:540:12: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:683:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:684:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:685:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:686:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:687:8: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:758:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1038:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1039:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1041:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1042:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1044:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1047:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1353:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1542:24: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1633:14: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1673:7: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:576:7: error: Memory leak: dir_path_file [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:576:7: error: Memory leak: dir_path_vfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:592:1: error: Memory leak: dir_path_file [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:592:1: error: Memory leak: dir_path_vfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:712:7: error: Memory leak: dir_path_file [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:712:7: error: Memory leak: dir_path_vfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:712:7: error: Memory leak: dir_path_newfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:769:7: error: Memory leak: dir_path_file [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:769:7: error: Memory leak: filedup [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:853:7: error: Memory leak: fulldiruri [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/mod_gridsite_example.c:116:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/mod_gridsite_example.c:124:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/mod_gridsite_example.c:132:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/mod_gridsite_example.c:95:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:143:14: error: Common realloc mistake: 'filebuffer' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1267:18: error: Common realloc mistake: 'rawpage' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:146:10: warning: Either the condition 'filebuffer==NULL' is redundant or there is possible null pointer dereference: filebuffer. [nullPointerRedundantCheck] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:156:31: note: Assuming that condition 'filebuffer==NULL' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:146:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:358:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:358:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:359:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:359:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:360:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:356:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:360:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:381:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:381:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:382:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:382:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:383:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:383:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:385:37: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:380:34: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:385:37: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:399:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:399:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:400:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:400:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:401:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:401:18: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:403:22: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:398:33: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:403:22: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:676:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:676:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:677:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:677:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:678:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:675:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:678:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:694:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_newfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assignment 'dir_path_newfile=malloc(strlen(dir_path)+strlen(newfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:694:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:695:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_newfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assignment 'dir_path_newfile=malloc(strlen(dir_path)+strlen(newfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:695:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:696:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_newfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assignment 'dir_path_newfile=malloc(strlen(dir_path)+strlen(newfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:696:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:700:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:700:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:701:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:701:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:702:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:702:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:704:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_newfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assignment 'dir_path_newfile=malloc(strlen(dir_path)+strlen(newfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:704:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:706:28: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_vfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:699:26: note: Assignment 'dir_path_vfile=malloc(strlen(dir_path)+strlen(vfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:706:28: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:707:28: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_newfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:693:28: note: Assignment 'dir_path_newfile=malloc(strlen(dir_path)+strlen(newfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:707:28: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:7: warning: If memory allocation fails, then there is a possible null pointer dereference: filedup [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assignment 'filedup=strdup(file)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:22: warning: If memory allocation fails, then there is a possible null pointer dereference: filedup [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assignment 'filedup=strdup(file)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:22: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:758:13: warning: If memory allocation fails, then there is a possible null pointer dereference: filedup [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assignment 'filedup=strdup(file)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:758:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:761:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:761:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:762:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:762:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:763:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:763:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:765:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:760:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:765:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:825:41: warning: Either the condition 'server_name==NULL' is redundant or there is possible null pointer dereference: server_name. [nullPointerRedundantCheck] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:820:20: note: Assuming that condition 'server_name==NULL' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:825:41: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:882:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:882:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:883:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:883:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:884:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:881:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:884:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:887:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_tmpfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assignment 'dir_path_tmpfile=malloc(strlen(dir_path)+13)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:887:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:888:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_tmpfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assignment 'dir_path_tmpfile=malloc(strlen(dir_path)+13)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:888:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:890:23: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_tmpfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:886:28: note: Assignment 'dir_path_tmpfile=malloc(strlen(dir_path)+13)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:890:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:958:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:958:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:959:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:959:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:960:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:956:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:960:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:971:21: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:965:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:965:13: note: Assignment 'fp=fopen(dir_path_file,"r")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:971:21: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:974:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:965:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:965:13: note: Assignment 'fp=fopen(dir_path_file,"r")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:974:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1047:26: warning: If memory allocation fails, then there is a possible null pointer dereference: encdn [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1046:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1046:30: note: Assignment 'encdn=strdup(&p[1])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1047:26: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1050:31: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1046:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1046:30: note: Assignment 'encdn=strdup(&p[1])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1050:23: note: Assignment 'q=encdn', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1050:31: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1120:46: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1118:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1118:17: note: Assignment 'fp=popen(shellcmd,"r")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1120:46: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1177:46: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1175:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1175:17: note: Assignment 'fp=popen(shellcmd,"r")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1177:46: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1212:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1212:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1213:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1213:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1214:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1214:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1216:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1210:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(file)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1216:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1271:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rawpage [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1247:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1247:23: note: Assignment 'rawpage=malloc(rawpagesize)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1251:30: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1271:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1312:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1312:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1313:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1313:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1314:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1314:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1316:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dir_path_file [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1310:25: note: Assignment 'dir_path_file=malloc(strlen(dir_path)+strlen(realfile)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1316:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1421:14: warning: If memory allocation fails, then there is a possible null pointer dereference: absaclpath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assignment 'absaclpath=malloc(strlen(dir_path)+sizeof(GRST_ACL_FILE)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1421:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1422:14: warning: If memory allocation fails, then there is a possible null pointer dereference: absaclpath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assignment 'absaclpath=malloc(strlen(dir_path)+sizeof(GRST_ACL_FILE)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1422:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1423:14: warning: If memory allocation fails, then there is a possible null pointer dereference: absaclpath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1420:26: note: Assignment 'absaclpath=malloc(strlen(dir_path)+sizeof(GRST_ACL_FILE)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1423:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1477:23: warning: If memory allocation fails, then there is a possible null pointer dereference: d_namepath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assignment 'd_namepath=malloc(strlen(dir_path)+strlen(namelist[n]->d_name)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1477:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1478:23: warning: If memory allocation fails, then there is a possible null pointer dereference: d_namepath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assignment 'd_namepath=malloc(strlen(dir_path)+strlen(namelist[n]->d_name)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1478:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1479:23: warning: If memory allocation fails, then there is a possible null pointer dereference: d_namepath [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1475:35: note: Assignment 'd_namepath=malloc(strlen(dir_path)+strlen(namelist[n]->d_name)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1479:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1673:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dnlists_path [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1671:24: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1671:24: note: Assignment 'dnlists_path=strdup(p)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1673:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1701:15: warning: If memory allocation fails, then there is a possible null pointer dereference: dnlists_path [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1671:24: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1671:24: note: Assignment 'dnlists_path=strdup(p)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1701:15: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:18:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:75:8: style: Variable 'issuedpc' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:75:24: style: Variable 'returnedpc' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:75:42: style: Variable 'requirepasscode' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:123:29: style: Parameter 'boundary' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:169:10: style: Variable 'vfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:328:55: style: Variable 'vfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:328:63: style: Variable 'dnlistsuri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:329:42: style: Variable 'realfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:332:18: style: Variable 'subdirfile_ent' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:516:17: style: Variable 'pagetext' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:516:44: style: Variable 'vfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:517:17: style: Variable 'dnlistsuri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:660:33: style: Variable 'vfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:802:52: style: Variable 'realfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:803:17: style: Variable 'dnlistsuri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:803:30: style: Variable 'server_name' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:804:37: style: Variable 'add' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:944:67: style: Parameter 'dir_path' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:945:25: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1094:30: style: Variable 'unzip' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1151:30: style: Variable 'unzip' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1293:39: style: Variable 'dnlistsuri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1294:9: style: Variable 'realfile' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1384:66: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1384:70: style: Variable 'unzip' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1389:30: style: Variable 'subdirfile_ent' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1617:48: style: Parameter 'adminrole' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1617:65: style: Parameter 'uri' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1651:58: style: Variable 'dnlists_path' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1652:15: style: Variable 'dnlistsuri' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1652:37: style: Variable 'server_name' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1653:15: style: Variable 'encprefix' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:328:51: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:329:18: style: Unused variable: fulluri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:329:28: style: Unused variable: server_name [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:517:30: style: Unused variable: server_name [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:517:44: style: Unused variable: fulluri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:659:17: style: Unused variable: len [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:661:17: style: Unused variable: dnlistsuri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:663:17: style: Unused variable: fp [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:743:17: style: Unused variable: len [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:744:33: style: Unused variable: vfile [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:744:41: style: Unused variable: dir_path_vfile [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:745:17: style: Unused variable: fp [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:801:28: style: Unused variable: ifd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:801:57: style: Unused variable: found [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:803:60: style: Unused variable: oneline [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:980:19: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:980:29: style: Unused variable: j [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1201:35: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1292:13: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1292:16: style: Unused variable: c [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1293:25: style: Unused variable: rawpage [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1293:52: style: Unused variable: server_name [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1293:66: style: Unused variable: fulluri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1650:18: style: Unused variable: enclen [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1650:26: style: Unused variable: numfiles [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1651:15: style: Unused variable: d_namepath [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1652:28: style: Unused variable: d_name [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1652:51: style: Unused variable: fulluri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1652:61: style: Unused variable: encfulluri [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1657:30: style: Unused variable: subdirfile_ent [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1658:19: style: Unused variable: subDIR [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:46:11: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:42:14: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:42:14: note: Assignment 'fp=fopen("/tmp/x509up_u13090","r")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:46:11: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:16: style: Local variable 'tag' shadows outer variable [shadowVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:32:8: note: Shadowed declaration gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:16: note: Shadow variable gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:21: style: Local variable 'xclass' shadows outer variable [shadowVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:32:12: note: Shadowed declaration gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:21: note: Shadow variable gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:71:24: style: Local variable 'q' shadows outer variable [shadowVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:44: note: Shadowed declaration gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:71:24: note: Shadow variable gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:26:17: style: Variable 'asnobject' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:32:22: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:34:15: style: Variable 'lasttag' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:60:19: style: Variable 'asnobject' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:20:19: style: Unused variable: tmpcert [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:23:21: style: Unused variable: vd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:17: style: Unused variable: vomserror [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:28: style: Unused variable: i1 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:32: style: Unused variable: i2 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:36: style: Unused variable: j1 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:40: style: Unused variable: j2 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:24:44: style: Unused variable: lastobject [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:27:17: style: Unused variable: t [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:23: style: Unused variable: op [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:28: style: Unused variable: tot [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:39: style: Unused variable: p2 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:44: style: Unused variable: q [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:30:48: style: Unused variable: oq [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:31:9: style: Unused variable: len1 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:31:24: style: Unused variable: len2 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:31:30: style: Unused variable: length2 [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:32:8: style: Unused variable: tag [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:32:12: style: Unused variable: xclass [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:16: style: Unused variable: tag [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:70:21: style: Unused variable: xclass [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:72:34: style: Unused variable: hash [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:74:23: style: Unused variable: m [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:75:20: style: Unused variable: ctx [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/showx509exts.c:82:20: style: Unused variable: xname [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:18:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X509 [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:35:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:32:14: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:32:14: note: Assignment 'ptr=malloc(ptrlen)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:35:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:18:17: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:15:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:17:8: style: Variable 'chain' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/test-chain.c:21:16: style: Variable 'grst_cert' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/urlencode.c:54:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:88:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_READ [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:83:40: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:82:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:82:13: note: Assignment 'fp=fopen("example-dn-list","w")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:83:40: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:84:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:82:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:82:13: note: Assignment 'fp=fopen("example-dn-list","w")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/xacmlexample.c:84:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:97:3: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:83:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:183:16: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:237:28: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:476:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:626:18: error: Common realloc mistake: 'ptr' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:266:20: warning: If memory allocation fails, then there is a possible null pointer dereference: keycert [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:264:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:264:23: note: Assignment 'keycert=strdup("/tmp/.XXXXXX")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:266:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:630:7: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:615:19: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:615:19: note: Assignment 'ptr=malloc(ptrlen)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:618:31: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:630:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:279:7: style: Statements following 'return' will never be executed. [unreachableCode] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:287:7: style: Statements following 'return' will never be executed. [unreachableCode] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:123:18: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:81:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:91:27: style: Parameter 'file' can be declared as pointer to const. However it seems that 'htproxy_logfunc' is a callback function, if 'file' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:178:38: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:91:27: note: Parameter 'file' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:109:50: style: Variable 'valid' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:112:10: style: Variable 'executable' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:112:51: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:114:14: style: Variable 'finish_tm' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:127:18: style: Variable 'grst_cert' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:130:18: style: Variable 'userpasswd' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:131:17: style: Variable 'long_options' can be declared as const array [constVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:115:36: style: Variable 'noverify' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:167:59: style: Variable 'noverify' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:274:11: style: Variable 'ifp' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htproxyput.c:282:11: style: Variable 'ifp' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:180:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:300:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_DATA_IN [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:369:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:482:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:565:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_GETPW_R_SIZE_MAX [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:657:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1197:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRST_PERM_NONE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1261:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1362:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1411:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1600:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1856:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2032:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fuse_context [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2227:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2324:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2414:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2428:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fuse_context [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2460:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2466:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_DEBUG [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2473:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_ERROR_SIZE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2576:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CORE [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2660:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:755:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:757:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1088:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1101:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1615:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1616:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1617:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1618:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1635:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1636:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1637:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1638:21: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2154:9: error: Resource leak: FD [resourceLeak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2010:9: error: Common realloc mistake: 'certchain' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:238:23: warning: If memory allocation fails, then there is a possible null pointer dereference: aa [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:237:15: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:237:15: note: Assignment 'aa=strdup(a)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:238:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:245:23: warning: If memory allocation fails, then there is a possible null pointer dereference: bb [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:244:15: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:244:15: note: Assignment 'bb=strdup(b)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:245:23: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:251:21: warning: If memory allocation fails, then there is a possible null pointer dereference: aa [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:237:15: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:237:15: note: Assignment 'aa=strdup(a)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:251:21: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:251:25: warning: If memory allocation fails, then there is a possible null pointer dereference: bb [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:244:15: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:244:15: note: Assignment 'bb=strdup(b)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:251:25: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:894:20: warning: Either the condition 'acissuerserial' is redundant or there is possible null pointer dereference: acissuerserial. [nullPointerRedundantCheck] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:896:13: note: Assuming that condition 'acissuerserial' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:894:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1101:15: warning: If memory allocation fails, then there is a possible null pointer dereference: new_grst_cert [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1100:31: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1100:31: note: Assignment 'new_grst_cert=malloc(sizeof(GRSTx509Cert))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1101:15: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1102:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_grst_cert [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1100:31: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1100:31: note: Assignment 'new_grst_cert=malloc(sizeof(GRSTx509Cert))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1102:9: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1486:20: warning: Either the condition 'acissuerserial' is redundant or there is possible null pointer dereference: acissuerserial. [nullPointerRedundantCheck] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1487:13: note: Assuming that condition 'acissuerserial' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1486:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1867:14: warning: Either the condition 'certs==NULL' is redundant or there is possible null pointer dereference: certs. [nullPointerRedundantCheck] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1864:19: note: Assuming that condition 'certs==NULL' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1867:14: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2683:3: warning: If memory allocation fails, then there is a possible null pointer dereference: delegation_id [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2678:25: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2678:25: note: Assignment 'delegation_id=malloc(17)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2683:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2167:13: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2165:13: note: ret is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2167:13: note: ret is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2209:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2206:7: note: ret is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2209:7: note: ret is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2789:20: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:195:29: style: Parameter 'last_cred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:223:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:223:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:262:37: style: Parameter 'cert' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:581:44: style: Parameter 'vomsdir' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:583:44: style: Parameter 'capath' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:585:44: style: Parameter 'voname' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:600:19: style: Variable 'vodirent' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1030:10: style: Variable 'proxy_part_DN' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1418:66: style: Parameter 'ucserial' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1596:43: style: Parameter 'grst_cred' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1758:43: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1769:59: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2056:37: style: Parameter 'proxydir' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2056:53: style: Parameter 'delegation_id' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2091:40: style: Parameter 'proxydir' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2091:56: style: Parameter 'delegation_id' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2102:9: style: Variable 'prvkeyfilepath' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2137:20: style: Variable 'in_file' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2503:32: style: Parameter 'proxydir' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2503:48: style: Parameter 'delegation_id' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2551:33: style: Parameter 'proxydir' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2551:49: style: Parameter 'delegation_id' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:272:9: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:273:9: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:274:20: style: Unused variable: ex [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:835:74: style: Variable 'chain_errors' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:839:31: style: Variable 'actime1' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:839:44: style: Variable 'actime2' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:947:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1046:17: style: Variable 'first_non_ca' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1131:25: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1153:25: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1225:34: style: Variable 'first_non_ca' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1550:31: style: Variable 'time1_time' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:1550:47: style: Variable 'time2_time' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2117:10: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2102:9: style: Variable 'prvkeyfilepath' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2209:7: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2557:10: style: Unused variable: docroot [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:326:8: error: Address of local auto-variable assigned to a function parameter. [autoVariables] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:152:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:279:16: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:391:16: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:715:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:750:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1608:7: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1664:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1761:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1788:11: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1851:16: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:247:18: style: Condition 'common_data->gridhttp' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:246:27: note: Assignment 'common_data->gridhttp=1', assigned value is 1 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:247:18: note: Condition 'common_data->gridhttp' is always true gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:293:46: style: Condition 'strncmp(sources[isrc],"https://",8)==0' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:286:50: note: Assuming that condition 'strncmp(sources[isrc],"https://",8)==0' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:293:46: note: Condition 'strncmp(sources[isrc],"https://",8)==0' is always true gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:569:33: style: Condition 'header_data.retcode>=300' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:565:30: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:569:33: note: Condition 'header_data.retcode>=300' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:627:33: style: Condition 'header_data.retcode>=300' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:623:25: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:627:33: note: Condition 'header_data.retcode>=300' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:677:33: style: Condition 'header_data.retcode>=300' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:673:30: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:677:33: note: Condition 'header_data.retcode>=300' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1404:33: style: Condition 'header_data.retcode==301' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1400:35: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1404:33: note: Condition 'header_data.retcode==301' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1435:33: style: Condition 'header_data.retcode>=300' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1400:35: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1435:33: note: Condition 'header_data.retcode>=300' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1484:50: style: Condition 'header_data.retcode>=200' is always false [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1479:47: note: Assignment 'header_data.retcode=0', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1484:50: note: Condition 'header_data.retcode>=200' is always false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:136:12: portability: %zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'size_t * {aka unsigned long *}'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1501:45: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1529:16: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:599:3: error: Resource leak: easyhandle [resourceLeak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1239:20: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:133:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:132:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:132:13: note: Assignment 's=malloc(realsize+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:133:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:132:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:132:13: note: Assignment 's=malloc(realsize+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:134:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:143:40: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:141:39: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:141:39: note: Assignment 'header_data->location=strdup(&s[10])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:143:27: note: Assignment 'q=header_data->location', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:143:40: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1147:16: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1293:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1147:16: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1148:16: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1293:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1148:16: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1168:17: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1166:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1166:17: note: Assignment 's=strdup(link)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1168:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1169:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1166:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1166:17: note: Assignment 's=strdup(link)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1169:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1182:15: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1293:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1180:51: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1182:15: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1189:13: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1189:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1190:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1190:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1196:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1187:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1190:17: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1196:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1221:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1219:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1218:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1221:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1222:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1219:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1218:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1222:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1219:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1218:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1223:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1224:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1219:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1218:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1224:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1219:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1218:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1225:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1290:27: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1290:27: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1291:20: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1289:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1291:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1892:12: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:17: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(1+argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1892:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:17: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:17: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(1+argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:35: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:17: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(1+argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:35: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1904:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:17: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(1+argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1894:51: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1904:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1952:12: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1944:29: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1944:13: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1952:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1952:19: warning: If memory allocation fails, then there is a possible null pointer dereference: sources[i] [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1949:32: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1949:32: note: Assignment 'sources[i]=strdup(&argv[optind+i][5])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1952:19: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1960:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1944:29: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1944:13: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1952:26: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1960:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1981:7: warning: If memory allocation fails, then there is a possible null pointer dereference: destination [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1968:32: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1968:32: note: Assignment 'destination=strdup(&argv[optind+i][5])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1981:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:338:18: style: Variable 'thiserror' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:306:13: note: thiserror is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:338:18: note: thiserror is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:599:14: style: Variable 'easyhandle' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:595:14: note: easyhandle is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:599:14: note: easyhandle is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:797:9: style: Variable 'a' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:796:4: note: a is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:797:9: note: a is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:120:31: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'headers_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1361:56: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:120:31: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:185:61: style: Parameter 'common_data' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:535:22: style: Parameter 'sources' can be declared as const array [constParameter] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:586:19: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:586:33: style: Parameter 'destination' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:643:21: style: Parameter 'sources' can be declared as const array [constParameter] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:877:39: style: Parameter 'common_data_ptr' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:998:53: style: Parameter 'common_data_ptr' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1118:32: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'rawindex_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1416:62: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1118:32: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1140:26: style: Parameter 'link' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1140:38: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1564:18: style: Variable 'root_ent' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1606:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1645:65: style: Parameter 'conf_file' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1721:41: style: Variable 'executable' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1721:54: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1725:18: style: Variable 'userpasswd' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:791:36: error: Uninitialized variable: i [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:990:20: warning: Uninitialized variable: max_fd [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:910:15: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:990:20: note: Uninitialized variable: max_fd gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1111:19: warning: Uninitialized variable: max_fd [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1034:15: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1111:19: note: Uninitialized variable: max_fd gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:81:33: style: struct member 'grst_stream_data::ishttps' is never used. [unusedStructMember] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:187:15: style: Unused variable: statbuf [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:338:18: style: Variable 'thiserror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1560:20: style: Unused variable: c [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1999:16: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:4007:4: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:310:9: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:485:12: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:511:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:596:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:678:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:798:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:907:19: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1012:18: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1377:22: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1453:22: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1925:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2022:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2117:26: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2125:25: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2130:20: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2381:24: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2382:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2390:24: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2391:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2399:24: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2400:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2823:28: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2879:42: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2890:42: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3185:22: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3313:19: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3393:25: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3413:19: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3754:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1954:18: style: Condition '*parm!='\0'' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1952:17: note: Assuming that condition '*parm!='/'' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1954:18: note: Condition '*parm!='\0'' is always true gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2044:17: style: Condition '*parm!='\0'' is always true [knownConditionTrueFalse] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2042:17: note: Assuming that condition '*parm!='/'' is not redundant gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2044:17: note: Condition '*parm!='\0'' is always true gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1373:20: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->headfile)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1373:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1377:29: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->headfile)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1377:29: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1382:28: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1372:23: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->headfile)+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1378:24: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1382:28: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1449:20: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->footfile))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1449:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1453:29: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->footfile))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1453:29: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1459:28: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1448:24: note: Assignment 's=malloc(strlen(r->filename)+strlen(conf->footfile))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1454:24: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1459:28: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3503:11: style: Redundant initialization for 'errnum'. The initialized value is overwritten before it is read. [redundantInitialization] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3493:24: note: errnum is initialized gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3503:11: note: errnum is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3496:19: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:301:21: style: Variable 'https' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:301:59: style: Variable 'permstr' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:470:22: style: Variable 'file' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:651:41: style: Variable 'indexheaderpath' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1332:20: style: Variable 'permstr' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1553:55: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1621:68: style: Parameter 's' can be declared as pointer to const. However it seems that 'create_gridsite_srv_config' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:4151:5: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1621:68: note: Parameter 's' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1656:62: style: Parameter 'path' can be declared as pointer to const. However it seems that 'create_gridsite_dir_config' is a callback function, if 'path' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:4149:5: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1656:62: note: Parameter 'path' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2158:54: style: Parameter 'a' can be declared as pointer to const. However it seems that 'mod_gridsite_flag_cmds' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2250:38: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2158:54: note: Parameter 'a' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2312:27: style: Variable 'conf' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2421:57: style: Parameter 'grst_chain' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2713:35: style: Variable 'grst_cred_valid_0' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3530:51: style: Parameter 'client_addr_ptr' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3556:47: style: Parameter 'client_addr_ptr' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:486:23: style: Variable 'file' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:2690:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:3514:15: style: Variable 'errnum' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2613:3: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:376:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:405:8: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:602:23: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1498:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1558:30: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1577:17: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1633:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1648:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1673:15: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1751:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1878:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2190:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2288:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2365:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2515:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2658:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:254:12: portability: %d in format string (no. 1) requires 'int *' but the argument type is 'size_t * {aka unsigned long *}'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:356:14: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:356:14: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:356:14: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:356:14: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned char *'. [invalidScanfArgType_int] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2185:18: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2684:16: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1876:8: error: Memory leak: tempfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1876:8: error: Resource leak: fp [resourceLeak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1907:45: error: Memory leak: tempfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1908:17: error: Memory leak: tempfile [memleak] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:496:14: error: Common realloc mistake: 'pid_environ' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1042:20: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:251:10: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:250:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:250:13: note: Assignment 's=malloc(realsize+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:251:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:250:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:250:13: note: Assignment 's=malloc(realsize+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:252:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:316:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mesg [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:303:16: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:303:16: note: Assignment 'mesg=malloc(size+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:316:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:509:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pid_environ [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assignment 'pid_environ=malloc(allocated+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:489:67: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:509:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:569:32: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:566:18: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:566:18: note: Assignment 'buf=malloc(buflen)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:569:32: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:950:16: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1096:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:950:16: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:951:16: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1096:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:951:16: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:971:17: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:969:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:969:17: note: Assignment 's=strdup(link)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:971:17: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:972:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:969:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:969:17: note: Assignment 's=strdup(link)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:972:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:985:15: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1096:55: note: Calling function 'canonicalise', 1st argument 's' value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:983:51: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:985:15: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:992:13: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:992:13: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:993:12: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:993:12: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:999:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:990:13: note: Assignment 's=strdup(&link[srclen-i])', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:993:17: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:999:7: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1024:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1022:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1021:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1024:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1025:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1022:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1021:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1025:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1026:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1022:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1021:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1026:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1027:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1022:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1021:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1027:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1028:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1022:21: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1021:10: note: Assignment 'list=(struct grst_dir_list*)malloc(allocated*sizeof(struct grst_dir_list))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1028:3: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1093:27: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1093:27: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1094:20: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1092:30: note: Assignment 's=malloc(1+i-namestart)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1094:20: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1894:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1870:14: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1870:14: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1894:10: note: Null pointer dereference gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assignment 'pid_environ=malloc(allocated+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:489:67: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: note: Null pointer addition gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:348:14: style: Variable 'igroup' is reassigned a value before the old one has been used. [redundantAssignment] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:346:10: note: igroup is assigned gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:348:14: note: igroup is overwritten gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:502:11: style: Checking if unsigned expression 'ret' is less than zero. [unsignedLessThanZero] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:163:18: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:227:28: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'cleanup_thread' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2579:43: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:227:28: note: Parameter 'unused' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:239:31: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'headers_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:745:72: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:239:31: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:295:26: style: Parameter 'rawmesg' can be declared as pointer to const. However it seems that 'debug_callback' is a callback function, if 'rawmesg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:739:59: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:295:26: note: Parameter 'rawmesg' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:625:42: style: Parameter 'fuse_ctx' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:891:31: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'rawbody_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1499:32: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:891:31: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:913:28: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'null_callback' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2516:32: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:913:28: note: Parameter 'ptr' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:913:66: style: Parameter 'data' can be declared as pointer to const. However it seems that 'null_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2516:32: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:913:66: note: Parameter 'data' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:943:33: style: Parameter 'link' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:943:45: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1195:48: style: Parameter 'fuse_ctx' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1239:50: style: Parameter 'fuse_ctx' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1314:49: style: Parameter 'fuse_ctx' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1955:45: style: Parameter 'fuse_ctx' can be declared as pointer to const [constParameterPointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2584:30: style: Parameter 'p' can be declared as pointer to const. However it seems that 'slashgrid_destroy' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2604:14: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2584:30: note: Parameter 'p' can be declared as pointer to const gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2627:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2127:8: warning: Uninitialized variable: disk_filename [uninitvar] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2077:39: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2127:8: note: Uninitialized variable: disk_filename gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1519:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1520:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1415:33: style: Unused variable: modified_tm [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1599:25: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1775:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1776:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1811:44: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1812:44: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1599:41: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1599:44: style: Unused variable: ilast [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1600:16: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1601:33: style: Unused variable: list [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1603:33: style: Unused variable: modified_tm [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1854:41: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:1855:16: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2021:25: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2021:16: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2021:30: style: Unused variable: thiserror [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2021:41: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2022:16: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2022:20: style: Unused variable: url [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2023:63: style: Unused variable: len [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2024:33: style: Unused variable: rawbody [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2025:29: style: Unused variable: request_data [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2026:33: style: Unused variable: modified_tm [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2140:25: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2213:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2214:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2140:41: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2141:16: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2141:26: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2226:25: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2310:36: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2311:36: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2226:41: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2226:44: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2227:16: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2227:26: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2323:18: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2385:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2386:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2323:34: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2323:37: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2324:9: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2324:19: style: Unused variable: p [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2399:25: style: Unused variable: localpath [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2472:18: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2536:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2537:41: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2472:34: style: Unused variable: i [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2472:37: style: Unused variable: fd [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2473:9: style: Unused variable: s [unusedVariable] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2473:19: style: Unused variable: p [unusedVariable] diff: 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1264:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/canl_mod_gridsite.c:1526:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:174:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst-delegation.c:276:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:1490:49: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:369:36: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:22: warning: If memory allocation fails, then there is a possible null pointer dereference: filedup [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:756:19: note: Assignment 'filedup=strdup(file)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_file.c:757:22: note: Null pointer dereference 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assignment 'tmp=malloc(2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: note: Null pointer addition head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1001:13: note: Assignment 'tmp=malloc(2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:1003:8: note: Null pointer addition head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_admin_gacl.c:830:34: style: Variable 'allow_new_person' is assigned a value that is never used. [unreadVariable] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:2155:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:459:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:477:37: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_canl_x509.c:731:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:1110:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:49: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assignment 'value=strdup(value)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:49: note: Null pointer dereference head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:65: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:177:17: note: Assignment 'value=strdup(value)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_gacl.c:178:65: note: Null pointer dereference head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:24: warning: If memory allocation fails, then there is a possible null pointer dereference: pathfile [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:178:20: note: Assignment 'pathfile=malloc(strlen(file)+strlen(headfootname)+2)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_http.c:181:24: note: Null pointer dereference head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/grst_xacml.c:123:14: style: Variable 'doc' is assigned a value that is never used. [unreadVariable] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:298:32: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/gsexec.c:400:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1574:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:35: warning: If memory allocation fails, then there is a possible null pointer dereference: sources [nullPointerOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:33: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1889:17: note: Assignment 'sources=(char**)malloc(sizeof(char*)*(1+argc-optind))', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/htcp.c:1895:35: note: Null pointer dereference 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:173:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2021:16: style: Variable 'anyerror' is assigned a value that is never used. [unreadVariable] 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2584:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2584:30: style: Parameter 'p' can be declared as pointer to const. However it seems that 'slashgrid_destroy' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2604:14: note: You might need to cast the function pointer here gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:2584:30: note: Parameter 'p' can be declared as pointer to const 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assignment 'pid_environ=malloc(allocated+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:489:67: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: note: Null pointer addition head gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assuming allocation function fails gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:487:23: note: Assignment 'pid_environ=malloc(allocated+1)', assigned value is 0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:489:67: note: Assuming condition is false gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:511:41: note: Null pointer addition 2.17.0 gridsite-1200598c92c2ef7990b64d3f30f26c9fe1c25c35/src/slashgrid.c:593:32: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] DONE