2025-11-27 03:33 ftp://ftp.de.debian.org/debian/pool/main/i/ices2/ices2_2.0.3.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --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 -j1 platform: Linux-6.8.0-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 219 218 elapsed-time: 2.9 3.9 head-timing-info: old-timing-info: head results: ices-2.0.3/src/audio.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/audio.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/audio.c:191:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/audio.c:221:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/audio.c:66:52: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/audio.c:151:54: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/cfgparse.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:156:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:157:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:157:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:165:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:165:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:166:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:166:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:167:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:167:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:168:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:168:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:169:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:169:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:170:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:171:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:172:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:173:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:174:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:174:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:175:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:175:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:176:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:176:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:177:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:177:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:178:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:179:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:180:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:181:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:181:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:183:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:183:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:186:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:437:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:437:16: note: Assignment 'instance=(struct instance_t*)malloc(sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:438:28: note: Calling function '_set_instance_defaults', 1st argument 'instance' value is 0 ices-2.0.3/src/cfgparse.c:186:5: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:357:13: warning: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:356:45: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:356:21: note: Assignment 'param=(struct module_param_t*)calloc(1,sizeof(struct module_param_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:357:13: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:357:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:356:45: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:356:21: note: Assignment 'param=(struct module_param_t*)calloc(1,sizeof(struct module_param_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:357:13: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:358:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: param [nullPointerOutOfMemory] ices-2.0.3/src/cfgparse.c:356:45: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:356:21: note: Assignment 'param=(struct module_param_t*)calloc(1,sizeof(struct module_param_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:358:13: note: Null pointer dereference ices-2.0.3/src/cfgparse.c:505:29: style:inconclusive: Function 'config_read' argument 1 names different: declaration 'filename' definition 'fn'. [funcArgNamesDifferent] ices-2.0.3/src/cfgparse.h:129:29: note: Function 'config_read' argument 1 names different: declaration 'filename' definition 'fn'. ices-2.0.3/src/cfgparse.c:505:29: note: Function 'config_read' argument 1 names different: declaration 'filename' definition 'fn'. ices-2.0.3/src/common/avl/avl.c:1040:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/avl/avl.c:1095:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/avl/avl.c:1131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/avl/avl.c:1159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/avl/avl.c:857:22: style:inconclusive: Function 'avl_get_span_by_two_keys' argument 2 names different: declaration 'key_a' definition 'low_key'. [funcArgNamesDifferent] ices-2.0.3/src/common/avl/avl.h:160:17: note: Function 'avl_get_span_by_two_keys' argument 2 names different: declaration 'key_a' definition 'low_key'. ices-2.0.3/src/common/avl/avl.c:857:22: note: Function 'avl_get_span_by_two_keys' argument 2 names different: declaration 'key_a' definition 'low_key'. ices-2.0.3/src/common/avl/avl.c:858:22: style:inconclusive: Function 'avl_get_span_by_two_keys' argument 3 names different: declaration 'key_b' definition 'high_key'. [funcArgNamesDifferent] ices-2.0.3/src/common/avl/avl.h:161:17: note: Function 'avl_get_span_by_two_keys' argument 3 names different: declaration 'key_b' definition 'high_key'. ices-2.0.3/src/common/avl/avl.c:858:22: note: Function 'avl_get_span_by_two_keys' argument 3 names different: declaration 'key_b' definition 'high_key'. ices-2.0.3/src/common/avl/avl.c:689:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/common/avl/avl.c:712:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/common/avl/avl.c:1013:48: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/common/avl/avl.c:1075:44: style: Parameter 'key' can be declared as pointer to const. However it seems that 'default_key_printer' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/common/avl/avl.c:1154:19: note: You might need to cast the function pointer here ices-2.0.3/src/common/avl/avl.c:1075:44: note: Parameter 'key' can be declared as pointer to const ices-2.0.3/src/common/avl/test.c:61:20: style: Parameter 'compare_arg' can be declared as pointer to const. However it seems that '_compare' is a callback function, if 'compare_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/common/avl/test.c:28:25: note: You might need to cast the function pointer here ices-2.0.3/src/common/avl/test.c:61:20: note: Parameter 'compare_arg' can be declared as pointer to const ices-2.0.3/src/common/avl/test.c:75:17: style: Parameter 'key' can be declared as pointer to const. However it seems that '_free' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/common/avl/test.c:56:25: note: You might need to cast the function pointer here ices-2.0.3/src/common/avl/test.c:75:17: note: Parameter 'key' can be declared as pointer to const ices-2.0.3/src/common/avl/test.c:80:32: style: Parameter 'key' can be declared as pointer to const. However it seems that '_printer' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/common/avl/test.c:54:26: note: You might need to cast the function pointer here ices-2.0.3/src/common/avl/test.c:80:32: note: Parameter 'key' can be declared as pointer to const ices-2.0.3/src/common/log/log.c:131:79: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ices-2.0.3/src/common/log/log.c:591:68: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] ices-2.0.3/src/common/log/log.c:390:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:390:5: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:391:5: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:391:5: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:391:27: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:391:27: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:392:15: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:392:15: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:392:28: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:392:28: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:393:31: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:393:31: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:394:45: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:394:45: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:409:12: warning: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:389:20: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:389:20: note: Assignment 'entry=calloc(1,sizeof(struct log_entry_t))', assigned value is 0 ices-2.0.3/src/common/log/log.c:409:12: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:425:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *_contents [nullPointerOutOfMemory] ices-2.0.3/src/common/log/log.c:424:25: note: Assuming allocation function fails ices-2.0.3/src/common/log/log.c:424:25: note: Assignment '*_contents=malloc(remain)', assigned value is 0 ices-2.0.3/src/common/log/log.c:425:6: note: Null pointer dereference ices-2.0.3/src/common/log/log.c:416:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/common/log/log.c:614:9: style: Variable 'now' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/common/thread/thread.c:177:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thread_type [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/thread/thread.c:234:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/thread/thread.c:261:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/thread/thread.c:277:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thread_type [valueFlowBailoutIncompleteVar] ices-2.0.3/src/common/thread/thread.c:191:1: error: Memory leak: thread.file [memleak] ices-2.0.3/src/common/thread/thread.c:191:1: error: Memory leak: thread.name [memleak] ices-2.0.3/src/common/thread/thread.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:179:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:180:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:181:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:181:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:182:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:182:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:183:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:183:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:184:5: warning: If memory allocation fails, then there is a possible null pointer dereference: thread [nullPointerOutOfMemory] ices-2.0.3/src/common/thread/thread.c:177:35: note: Assuming allocation function fails ices-2.0.3/src/common/thread/thread.c:177:14: note: Assignment 'thread=(thread_type*)malloc(sizeof(thread_type))', assigned value is 0 ices-2.0.3/src/common/thread/thread.c:184:5: note: Null pointer dereference ices-2.0.3/src/common/thread/thread.c:270:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/common/thread/thread.c:271:50: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/common/thread/thread.c:779:35: style: Parameter 'compare_arg' can be declared as pointer to const. However it seems that '_compare_threads' is a callback function, if 'compare_arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/common/thread/thread.c:175:32: note: You might need to cast the function pointer here ices-2.0.3/src/common/thread/thread.c:779:35: note: Parameter 'compare_arg' can be declared as pointer to const ices-2.0.3/src/common/thread/thread.c:781:18: style: Variable 't1' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/common/thread/thread.c:781:23: style: Variable 't2' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/common/thread/thread.c:755:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/common/timing/timing.c:82:0: error: #error need time query handler [preprocessorErrorDirective] ices-2.0.3/src/encode.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/encode.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/encode.c:172:49: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/ices.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_alsa.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_alsa.c:142:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_alsa.c:159:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SND_PCM_FORMAT_S16_LE [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_alsa.c:169:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:169:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:170:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:171:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:172:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:173:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:175:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:175:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:176:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:155:33: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:155:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:9: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_alsa_state))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_alsa.c:178:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_alsa_state))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_alsa.c:179:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_alsa_state))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_alsa.c:180:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:181:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_alsa_state))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_alsa.c:181:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:182:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_alsa.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_alsa.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_alsa_state))', assigned value is 0 ices-2.0.3/src/im_alsa.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_alsa.c:182:5: note: Null pointer dereference ices-2.0.3/src/im_alsa.c:131:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ices-2.0.3/src/im_alsa.c:132:22: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ices-2.0.3/src/im_oss.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_oss.c:142:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_oss.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AFMT_S16_LE [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_oss.c:169:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:169:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:170:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:171:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:171:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:172:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:173:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:175:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:175:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:176:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:161:33: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:161:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_oss.c:176:9: note: Null pointer dereference ices-2.0.3/src/im_oss.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_oss_state))', assigned value is 0 ices-2.0.3/src/im_oss.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_oss.c:178:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_oss_state))', assigned value is 0 ices-2.0.3/src/im_oss.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_oss.c:179:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_oss.c:175:27: note: Assuming allocation function fails ices-2.0.3/src/im_oss.c:175:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_oss_state))', assigned value is 0 ices-2.0.3/src/im_oss.c:176:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_oss.c:180:5: note: Null pointer dereference ices-2.0.3/src/im_oss.c:134:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ices-2.0.3/src/im_playlist.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_playlist.c:108:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_playlist.c:261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_playlist.c:234:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:234:5: note: Null pointer dereference ices-2.0.3/src/im_playlist.c:235:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:235:5: note: Null pointer dereference ices-2.0.3/src/im_playlist.c:236:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:236:5: note: Null pointer dereference ices-2.0.3/src/im_playlist.c:237:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:237:5: note: Null pointer dereference ices-2.0.3/src/im_playlist.c:239:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:239:5: note: Null pointer dereference ices-2.0.3/src/im_playlist.c:240:30: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_playlist.c:229:33: note: Assuming allocation function fails ices-2.0.3/src/im_playlist.c:229:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_playlist.c:240:30: note: Null pointer dereference ices-2.0.3/src/im_roar.c:58:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROAR_DL_APPSCHED_FREE [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_roar.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_roar.c:134:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROAR_DL_APPSCHED_UPDATE [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_roar.c:188:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_roar.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROAR_DIR_MONITOR [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_roar.c:178:19: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:177:18: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:177:18: note: Assignment 'name=strdup(nameargs)', assigned value is 0 ices-2.0.3/src/im_roar.c:178:19: note: Null pointer dereference ices-2.0.3/src/im_roar.c:212:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:204:33: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:204:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_roar.c:212:5: note: Null pointer dereference ices-2.0.3/src/im_roar.c:213:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:204:33: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:204:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_roar.c:213:5: note: Null pointer dereference ices-2.0.3/src/im_roar.c:214:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:204:33: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:204:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_roar.c:214:5: note: Null pointer dereference ices-2.0.3/src/im_roar.c:216:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:204:33: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:204:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_roar.c:216:5: note: Null pointer dereference ices-2.0.3/src/im_roar.c:217:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_roar.c:204:33: note: Assuming allocation function fails ices-2.0.3/src/im_roar.c:204:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_roar.c:217:9: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_stdinpcm.c:121:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_stdinpcm.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_stdinpcm.c:150:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:150:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:151:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:151:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:152:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:152:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:153:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:155:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:155:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:156:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:145:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:156:9: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:158:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assignment 'mod->internal=malloc(sizeof(struct stdinpcm_state))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:156:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_stdinpcm.c:158:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:159:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assignment 'mod->internal=malloc(sizeof(struct stdinpcm_state))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:156:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_stdinpcm.c:159:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:160:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assuming allocation function fails ices-2.0.3/src/im_stdinpcm.c:155:27: note: Assignment 'mod->internal=malloc(sizeof(struct stdinpcm_state))', assigned value is 0 ices-2.0.3/src/im_stdinpcm.c:156:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_stdinpcm.c:160:5: note: Null pointer dereference ices-2.0.3/src/im_stdinpcm.c:124:18: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ices-2.0.3/src/im_sun.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_sun.c:139:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_sun.c:197:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/im_sun.c:166:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:166:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:170:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:170:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:172:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:173:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:173:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:174:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:174:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:176:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:176:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:177:9: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:158:33: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:158:33: note: Assignment 'mod=calloc(1,sizeof(struct input_module_t))', assigned value is 0 ices-2.0.3/src/im_sun.c:177:9: note: Null pointer dereference ices-2.0.3/src/im_sun.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] ices-2.0.3/src/im_sun.c:176:27: note: Assuming allocation function fails ices-2.0.3/src/im_sun.c:176:27: note: Assignment 'mod->internal=calloc(1,sizeof(struct im_sun_state))', assigned value is 0 ices-2.0.3/src/im_sun.c:177:7: note: s is assigned 'mod->internal' here. ices-2.0.3/src/im_sun.c:179:5: note: Null pointer dereference ices-2.0.3/src/im_sun.c:123:20: style: Unused variable: i [unusedVariable] ices-2.0.3/src/im_sun.c:123:23: style: Unused variable: j [unusedVariable] ices-2.0.3/src/input.c:119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/input.c:173:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/input.c:313:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/input.c:401:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/input.c:526:16: style: Condition 'ret<0' is always false [knownConditionTrueFalse] ices-2.0.3/src/input.c:507:15: note: Assuming that condition 'ret==0' is not redundant ices-2.0.3/src/input.c:515:16: note: Assuming condition is false ices-2.0.3/src/input.c:526:16: note: Condition 'ret<0' is always false ices-2.0.3/src/input.c:421:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arg [nullPointerOutOfMemory] ices-2.0.3/src/input.c:420:41: note: Assuming allocation function fails ices-2.0.3/src/input.c:420:41: note: Assignment 'arg=calloc(1,sizeof(struct stream_description))', assigned value is 0 ices-2.0.3/src/input.c:421:9: note: Null pointer dereference ices-2.0.3/src/input.c:422:9: warning: If memory allocation fails, then there is a possible null pointer dereference: arg [nullPointerOutOfMemory] ices-2.0.3/src/input.c:420:41: note: Assuming allocation function fails ices-2.0.3/src/input.c:420:41: note: Assignment 'arg=calloc(1,sizeof(struct stream_description))', assigned value is 0 ices-2.0.3/src/input.c:422:9: note: Null pointer dereference ices-2.0.3/src/input.c:558:17: warning: If memory allocation fails, then there is a possible null pointer dereference: queued [nullPointerOutOfMemory] ices-2.0.3/src/input.c:556:32: note: Assuming allocation function fails ices-2.0.3/src/input.c:556:32: note: Assignment 'queued=malloc(sizeof(struct queue_item))', assigned value is 0 ices-2.0.3/src/input.c:558:17: note: Null pointer dereference ices-2.0.3/src/input.c:159:41: style:inconclusive: Function 'input_calculate_ogg_sleep' argument 1 names different: declaration 'og' definition 'page'. [funcArgNamesDifferent] ices-2.0.3/src/input.h:42:42: note: Function 'input_calculate_ogg_sleep' argument 1 names different: declaration 'og' definition 'page'. ices-2.0.3/src/input.c:159:41: note: Function 'input_calculate_ogg_sleep' argument 1 names different: declaration 'og' definition 'page'. ices-2.0.3/src/input.c:75:10: style: struct member '_timing_control_tag::serialno' is never used. [unusedStructMember] ices-2.0.3/src/metadata.c:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/metadata.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/metadata.c:97:17: error: Common realloc mistake: 'md' nulled but not freed upon failure [memleakOnRealloc] ices-2.0.3/src/metadata.c:157:17: error: Common realloc mistake: 'md' nulled but not freed upon failure [memleakOnRealloc] ices-2.0.3/src/playlist_basic.c:49:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_basic.c:82:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_basic.c:178:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_basic.c:264:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_basic.c:111:50: style: Condition 'ret[strlen(ret)-1]=='\r'' is always false [knownConditionTrueFalse] ices-2.0.3/src/playlist_basic.c:108:30: note: Assignment 'ret[strlen(ret)-1]=0', assigned value is 0 ices-2.0.3/src/playlist_basic.c:111:50: note: Condition 'ret[strlen(ret)-1]=='\r'' is always false ices-2.0.3/src/playlist_basic.c:172:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/playlist_script.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_script.c:103:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_script.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/playlist_script.c:54:9: error: Memory leak: buf [memleak] ices-2.0.3/src/playlist_script.c:92:58: style: Parameter 'fn' can be declared as pointer to const. However it seems that 'playlist_script_file_ended' is a callback function, if 'fn' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ices-2.0.3/src/playlist_script.c:118:22: note: You might need to cast the function pointer here ices-2.0.3/src/playlist_script.c:92:58: note: Parameter 'fn' can be declared as pointer to const ices-2.0.3/src/reencode.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/reencode.c:129:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/reencode.c:102:17: error: Common realloc mistake: 'retbuf' nulled but not freed upon failure [memleakOnRealloc] ices-2.0.3/src/reencode.c:227:21: error: Common realloc mistake: 'retbuf' nulled but not freed upon failure [memleakOnRealloc] ices-2.0.3/src/reencode.c:38:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:38:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:39:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:39:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:40:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:40:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:41:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:41:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:42:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:42:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:44:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:45:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:46:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:47:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] ices-2.0.3/src/reencode.c:36:33: note: Assuming allocation function fails ices-2.0.3/src/reencode.c:36:33: note: Assignment 'new=calloc(1,sizeof(struct reencode_state))', assigned value is 0 ices-2.0.3/src/reencode.c:48:5: note: Null pointer dereference ices-2.0.3/src/reencode.c:34:43: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/reencode.c:72:50: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ices-2.0.3/src/resample.c:147:79: style: Condition 'taps<=0' is always false [knownConditionTrueFalse] ices-2.0.3/src/resample.c:137:16: note: Assignment 'taps=45', assigned value is 45 ices-2.0.3/src/resample.c:147:79: note: Condition 'taps<=0' is always false ices-2.0.3/src/resample.c:271:16: style: Checking if unsigned expression 'srclen' is less than zero. [unsignedLessThanZero] ices-2.0.3/src/resample.c:48:12: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/resample.c:101:12: style: Variable 'endpoint' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/resample.c:247:10: style: Variable 'poolend' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/resample.c:177:40: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] ices-2.0.3/src/resample.c:384:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/resample.c:384:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/resample.c:411:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/resample.c:411:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] ices-2.0.3/src/signals.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/signals.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/signals.c:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/signals.c:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] ices-2.0.3/src/stream.c:69:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOUT_PROTOCOL_HTTP [valueFlowBailoutIncompleteVar] ices-2.0.3/src/stream.c:60:54: style: Variable 'stream_description' can be declared as pointer to const [constVariablePointer] ices-2.0.3/src/stream_shared.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/stream_shared.c:81:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/stream_shared.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] ices-2.0.3/src/stream_shared.c:42:16: style: Local variable 'ret' shadows outer variable [shadowVariable] ices-2.0.3/src/stream_shared.c:38:13: note: Shadowed declaration ices-2.0.3/src/stream_shared.c:42:16: note: Shadow variable ices-2.0.3/src/cfgparse.c:156:5: warning: If memory allocation fails, then there is a possible null pointer dereference: instance [ctunullpointerOutOfMemory] ices-2.0.3/src/cfgparse.c:271:36: note: Assuming allocation function fails ices-2.0.3/src/cfgparse.c:271:16: note: Assignment 'instance=(struct instance_t*)calloc(1,sizeof(struct instance_t))', assigned value is 0 ices-2.0.3/src/cfgparse.c:272:27: note: Calling function _set_instance_defaults, 1st argument is null ices-2.0.3/src/cfgparse.c:156:5: note: Dereferencing argument instance that is null diff: head ices-2.0.3/src/common/log/log.c:416:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 ices-2.0.3/src/common/log/test.c:16:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head ices-2.0.3/src/common/thread/thread.c:191:1: error: Memory leak: thread.file [memleak] head ices-2.0.3/src/common/thread/thread.c:191:1: error: Memory leak: thread.name [memleak] 2.18.0 ices-2.0.3/src/common/timing/timing.c:82:2: error: #error need time query handler [preprocessorErrorDirective] DONE