2026-05-02 13:08 ftp://ftp.de.debian.org/debian/pool/main/h/hubicfuse/hubicfuse_3.0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 148 149 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: hubicfuse-3.0.1/cloudfsapi.c:288:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_TOTAL_TIME [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:388:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_CAINFO [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:686:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:896:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBXML_TEST_VERSION [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:958:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_MIME_TYPE [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:1002:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:1210:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:1543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_WRITEDATA [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:1565:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO_FLAGS_BASE64_NO_NL [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:1617:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_VERBOSE [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfsapi.c:160:7: warning:inconclusive: The buffer 'storage_token' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:162:7: warning:inconclusive: The buffer 'storage_url' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:221:5: warning:inconclusive: The buffer 'storage' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:875:5: warning:inconclusive: The buffer 'tmp' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:1020:5: warning:inconclusive: The buffer 'tmp' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:1292:11: warning:inconclusive: The buffer 'last_subdir' may not be null-terminated after the call to strncpy(). [terminateStrncpy] hubicfuse-3.0.1/cloudfsapi.c:152:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:153:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:154:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:213:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:214:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:215:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] hubicfuse-3.0.1/cloudfsapi.c:662:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1026:21: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1045:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1061:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1103:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1142:21: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1176:31: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1177:28: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1352:23: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1363:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1385:23: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1386:23: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1452:23: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:1465:19: style: Obsolete function 'curl_escape' called. It is recommended to use 'curl_easy_escape' instead. [prohibitedcurl_escapeCalled] hubicfuse-3.0.1/cloudfsapi.c:157:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfsapi.c:186:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfsapi.c:219:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfsapi.c:1175:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfsapi.c:1085:5: error: Memory leak: encoded [memleak] hubicfuse-3.0.1/cloudfsapi.c:124:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assignment 'src_encoded=curl_escape(src,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1398:39: note: Calling function 'add_header', 3rd argument 'src_encoded' value is 0 hubicfuse-3.0.1/cloudfsapi.c:124:14: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:371:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1026:32: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1026:32: note: Assignment 'encoded=curl_escape(path,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1031:45: note: Calling function 'send_request_size', 2nd argument 'encoded' value is 0 hubicfuse-3.0.1/cloudfsapi.c:364:7: note: Assuming condition is false hubicfuse-3.0.1/cloudfsapi.c:371:26: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:703:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:703:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:704:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:704:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:705:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:705:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:706:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:706:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:707:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:707:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:708:5: warning: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:688:37: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:687:31: note: Assignment 'info=(struct segment_info*)malloc(segments*sizeof(struct segment_info))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:708:5: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:714:29: warning: If memory allocation fails, then there is a possible null pointer dereference: threads [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:690:42: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:690:24: note: Assignment 'threads=(pthread_t*)malloc(segments*sizeof(pthread_t))', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:714:29: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1109:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hubicfuse-3.0.1/cloudfsapi.c:1107:21: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1107:21: note: Assignment 'fp=fopen("/dev/null","r")', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1109:12: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1190:14: warning: If memory allocation fails, then there is a possible null pointer dereference: encoded_container [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1176:42: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1176:42: note: Assignment 'encoded_container=curl_escape(container,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1190:14: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1190:33: warning: If memory allocation fails, then there is a possible null pointer dereference: encoded_object [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1177:39: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1177:39: note: Assignment 'encoded_object=curl_escape(object,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1190:33: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1390:26: warning: If memory allocation fails, then there is a possible null pointer dereference: src_encoded [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assignment 'src_encoded=curl_escape(src,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1390:26: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1391:29: warning: If memory allocation fails, then there is a possible null pointer dereference: src_encoded [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1386:34: note: Assignment 'src_encoded=curl_escape(src,0)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1391:29: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1454:31: warning: If resource allocation fails, then there is a possible null pointer dereference: lnk [nullPointerOutOfResources] hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assignment 'lnk=tmpfile()', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1454:31: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:1560:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfsapi.c:1559:31: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1559:18: note: Assignment 'buffer=(char*)malloc(length)', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1560:10: note: Null pointer dereference hubicfuse-3.0.1/cloudfsapi.c:951:45: style:inconclusive: Function 'get_file_mimetype' argument 1 names different: declaration 'filename' definition 'path'. [funcArgNamesDifferent] hubicfuse-3.0.1/cloudfsapi.h:76:45: note: Function 'get_file_mimetype' argument 1 names different: declaration 'filename' definition 'path'. hubicfuse-3.0.1/cloudfsapi.c:951:45: note: Function 'get_file_mimetype' argument 1 names different: declaration 'filename' definition 'path'. hubicfuse-3.0.1/cloudfsapi.c:1154:58: style:inconclusive: Function 'cloudfs_list_directory' argument 2 names different: declaration '' definition 'dir_list'. [funcArgNamesDifferentUnnamed] hubicfuse-3.0.1/cloudfsapi.c:1462:42: style:inconclusive: Function 'cloudfs_create_directory' argument 1 names different: declaration 'label' definition 'path'. [funcArgNamesDifferent] hubicfuse-3.0.1/cloudfsapi.h:83:42: note: Function 'cloudfs_create_directory' argument 1 names different: declaration 'label' definition 'path'. hubicfuse-3.0.1/cloudfsapi.c:1462:42: note: Function 'cloudfs_create_directory' argument 1 names different: declaration 'label' definition 'path'. hubicfuse-3.0.1/cloudfsapi.c:1480:29: style:inconclusive: Function 'cloudfs_verify_ssl' argument 1 names different: declaration 'dbg' definition 'vrfy'. [funcArgNamesDifferent] hubicfuse-3.0.1/cloudfsapi.h:87:29: note: Function 'cloudfs_verify_ssl' argument 1 names different: declaration 'dbg' definition 'vrfy'. hubicfuse-3.0.1/cloudfsapi.c:1480:29: note: Function 'cloudfs_verify_ssl' argument 1 names different: declaration 'dbg' definition 'vrfy'. hubicfuse-3.0.1/cloudfsapi.c:149:37: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'header_dispatch' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfsapi.c:558:55: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfsapi.c:149:37: note: Parameter 'ptr' can be declared as pointer to const hubicfuse-3.0.1/cloudfsapi.c:179:44: style: Parameter 'time_str' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:210:46: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'header_get_meta_dispatch' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfsapi.c:548:57: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfsapi.c:210:46: note: Parameter 'ptr' can be declared as pointer to const hubicfuse-3.0.1/cloudfsapi.c:264:22: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'fwrite2' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfsapi.c:276:22: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfsapi.c:264:22: note: Parameter 'ptr' can be declared as pointer to const hubicfuse-3.0.1/cloudfsapi.c:326:33: style: Parameter 'contents' can be declared as pointer to const. However it seems that 'writefunc_callback' is a callback function, if 'contents' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfsapi.c:503:53: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfsapi.c:326:33: note: Parameter 'contents' can be declared as pointer to const hubicfuse-3.0.1/cloudfsapi.c:636:24: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:729:9: style: Variable '_object' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:756:14: style: Variable 'de' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:835:11: style: Variable 'timestamp' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:855:11: style: Variable 'str_segment' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:900:27: style: Variable 'cvid' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1046:14: style: Variable 'de' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1166:27: style: Variable 'anode' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1180:11: style: Variable 'trailing_slash' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1207:14: style: Variable 'root_element' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1352:13: style: Variable 'encoded' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfsapi.c:1420:36: style: Parameter 'de' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:1502:36: style: Parameter 'client_id' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:1502:53: style: Parameter 'client_secret' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:1503:36: style: Parameter 'refresh_token' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfsapi.c:1519:38: style: Parameter 'contents' can be declared as pointer to const. However it seems that 'writefunc_string' is a callback function, if 'contents' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfsapi.c:1628:49: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfsapi.c:1519:38: note: Parameter 'contents' can be declared as pointer to const hubicfuse-3.0.1/cloudfsapi.c:355:8: style: Unused variable: header_data [unusedVariable] hubicfuse-3.0.1/cloudfsapi.c:438:14: style: Unused variable: string_float [unusedVariable] hubicfuse-3.0.1/cloudfsapi.c:743:13: style: Variable '_object' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/cloudfsapi.c:995:9: style: Unused variable: i [unusedVariable] hubicfuse-3.0.1/cloudfsapi.c:1144:18: style: Variable 'response' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/cloudfsapi.c:1308:17: style: Variable 'entry_count' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/cloudfsapi.c:1661:9: style: Variable 'found' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/cloudfsapi.c:1606:8: style: Unused variable: url [unusedVariable] hubicfuse-3.0.1/cloudfuse.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:170:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOLINK [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:203:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:282:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:397:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:419:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:480:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTEMPTY [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:499:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:515:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:532:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:571:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:619:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:662:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:675:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:691:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:703:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:875:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hubicfuse-3.0.1/cloudfuse.c:792:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:793:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:794:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:795:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:796:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:797:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:798:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:799:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:800:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:801:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:803:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:805:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:806:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:808:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:809:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:811:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:812:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] hubicfuse-3.0.1/cloudfuse.c:231:3: warning: If memory allocation fails, then there is a possible null pointer dereference: of [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfuse.c:230:35: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfuse.c:230:18: note: Assignment 'of=(struct openfile*)malloc(sizeof(struct openfile))', assigned value is 0 hubicfuse-3.0.1/cloudfuse.c:231:3: note: Null pointer dereference hubicfuse-3.0.1/cloudfuse.c:233:3: warning: If memory allocation fails, then there is a possible null pointer dereference: of [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfuse.c:230:35: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfuse.c:230:18: note: Assignment 'of=(struct openfile*)malloc(sizeof(struct openfile))', assigned value is 0 hubicfuse-3.0.1/cloudfuse.c:233:3: note: Null pointer dereference hubicfuse-3.0.1/cloudfuse.c:369:3: warning: If memory allocation fails, then there is a possible null pointer dereference: of [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfuse.c:368:35: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfuse.c:368:18: note: Assignment 'of=(struct openfile*)malloc(sizeof(struct openfile))', assigned value is 0 hubicfuse-3.0.1/cloudfuse.c:369:3: note: Null pointer dereference hubicfuse-3.0.1/cloudfuse.c:370:7: warning: If memory allocation fails, then there is a possible null pointer dereference: of [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfuse.c:368:35: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfuse.c:368:18: note: Assignment 'of=(struct openfile*)malloc(sizeof(struct openfile))', assigned value is 0 hubicfuse-3.0.1/cloudfuse.c:370:7: note: Null pointer dereference hubicfuse-3.0.1/cloudfuse.c:379:3: warning: If memory allocation fails, then there is a possible null pointer dereference: of [nullPointerOutOfMemory] hubicfuse-3.0.1/cloudfuse.c:368:35: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfuse.c:368:18: note: Assignment 'of=(struct openfile*)malloc(sizeof(struct openfile))', assigned value is 0 hubicfuse-3.0.1/cloudfuse.c:370:14: note: Assuming condition is false hubicfuse-3.0.1/cloudfuse.c:379:3: note: Null pointer dereference hubicfuse-3.0.1/cloudfuse.c:113:20: style: Variable 'stbuf->st_size' is reassigned a value before the old one has been used. [redundantAssignment] hubicfuse-3.0.1/cloudfuse.c:110:20: note: stbuf->st_size is assigned hubicfuse-3.0.1/cloudfuse.c:113:20: note: stbuf->st_size is overwritten hubicfuse-3.0.1/cloudfuse.c:130:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'cfs_fgetattr' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfuse.c:990:17: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfuse.c:130:48: note: Parameter 'info' can be declared as pointer to const hubicfuse-3.0.1/cloudfuse.c:133:13: style: Variable 'of' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfuse.c:137:16: style: Variable 'de' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfuse.c:278:14: style: Variable 'de' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfuse.c:407:13: style: Variable 'of' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfuse.c:465:65: style: Parameter 'info' can be declared as pointer to const. However it seems that 'cfs_release' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfuse.c:993:16: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfuse.c:465:65: note: Parameter 'info' can be declared as pointer to const hubicfuse-3.0.1/cloudfuse.c:493:49: style: Parameter 'info' can be declared as pointer to const. However it seems that 'cfs_ftruncate' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfuse.c:995:18: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfuse.c:493:49: note: Parameter 'info' can be declared as pointer to const hubicfuse-3.0.1/cloudfuse.c:497:13: style: Variable 'of' can be declared as pointer to const [constVariablePointer] hubicfuse-3.0.1/cloudfuse.c:507:59: style: Parameter 'info' can be declared as pointer to const. However it seems that 'cfs_write' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfuse.c:997:14: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfuse.c:507:59: note: Parameter 'info' can be declared as pointer to const hubicfuse-3.0.1/cloudfuse.c:544:75: style: Parameter 'info' can be declared as pointer to const. However it seems that 'cfs_fsync' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hubicfuse-3.0.1/cloudfuse.c:999:14: note: You might need to cast the function pointer here hubicfuse-3.0.1/cloudfuse.c:544:75: note: Parameter 'info' can be declared as pointer to const hubicfuse-3.0.1/cloudfuse.c:746:60: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfuse.c:756:43: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] hubicfuse-3.0.1/cloudfuse.c:588:20: style: Variable 'response' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/cloudfuse.c:606:20: style: Variable 'response' is assigned a value that is never used. [unreadVariable] hubicfuse-3.0.1/commonfs.c:666:2: error: #error "SYS_gettid unavailable on this system" [preprocessorErrorDirective] diff: head hubicfuse-3.0.1/cloudfsapi.c:1154:58: style:inconclusive: Function 'cloudfs_list_directory' argument 2 names different: declaration '' definition 'dir_list'. [funcArgNamesDifferentUnnamed] 2.20.0 hubicfuse-3.0.1/cloudfsapi.c:1455:22: warning: If resource allocation fails, then there is a possible null pointer dereference: lnk [nullPointerOutOfResources] hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assignment 'lnk=tmpfile()', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1455:22: note: Null pointer dereference 2.20.0 hubicfuse-3.0.1/cloudfsapi.c:1458:10: warning: If resource allocation fails, then there is a possible null pointer dereference: lnk [nullPointerOutOfResources] hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assuming allocation function fails hubicfuse-3.0.1/cloudfsapi.c:1453:22: note: Assignment 'lnk=tmpfile()', assigned value is 0 hubicfuse-3.0.1/cloudfsapi.c:1458:10: note: Null pointer dereference DONE