2025-08-31 09:43 ftp://ftp.de.debian.org/debian/pool/main/h/harvid/harvid_0.9.1.orig.tar.gz 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-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 95 190 elapsed-time: 5.0 12.0 head-timing-info: old-timing-info: head results: harvid-0.9.1/doc/libharvid_example.c:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIX_FMT_RGB24 [valueFlowBailoutIncompleteVar] harvid-0.9.1/doc/libharvid_example.c:91:11: warning: If resource allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfResources] harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assuming allocation function fails harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assignment 'x=fopen(outfn,"w")', assigned value is 0 harvid-0.9.1/doc/libharvid_example.c:91:11: note: Null pointer dereference harvid-0.9.1/doc/libharvid_example.c:92:47: warning: If resource allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfResources] harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assuming allocation function fails harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assignment 'x=fopen(outfn,"w")', assigned value is 0 harvid-0.9.1/doc/libharvid_example.c:92:47: note: Null pointer dereference harvid-0.9.1/doc/libharvid_example.c:93:10: warning: If resource allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfResources] harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assuming allocation function fails harvid-0.9.1/doc/libharvid_example.c:90:17: note: Assignment 'x=fopen(outfn,"w")', assigned value is 0 harvid-0.9.1/doc/libharvid_example.c:93:10: note: Null pointer dereference harvid-0.9.1/doc/libharvid_example.c:32:12: style: Variable 'bptr' can be declared as pointer to const [constVariablePointer] harvid-0.9.1/libharvid/ffcompat.h:43:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] harvid-0.9.1/libharvid/ffcompat.h:43:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] harvid-0.9.1/libharvid/image_cache.c:74:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] harvid-0.9.1/libharvid/image_cache.c:164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] harvid-0.9.1/libharvid/image_cache.c:226:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] harvid-0.9.1/libharvid/image_cache.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: icc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:88:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:88:19: note: Assignment '(*((struct ICC**)p))=(struct ICC*)calloc(1,sizeof(struct ICC))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:89:7: note: icc is assigned '*((struct ICC**)p)' here. harvid-0.9.1/libharvid/image_cache.c:90:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: icc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:88:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:88:19: note: Assignment '(*((struct ICC**)p))=(struct ICC*)calloc(1,sizeof(struct ICC))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:89:7: note: icc is assigned '*((struct ICC**)p)' here. harvid-0.9.1/libharvid/image_cache.c:91:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: icc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:88:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:88:19: note: Assignment '(*((struct ICC**)p))=(struct ICC*)calloc(1,sizeof(struct ICC))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:89:7: note: icc is assigned '*((struct ICC**)p)' here. harvid-0.9.1/libharvid/image_cache.c:92:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:92:21: warning: If memory allocation fails, then there is a possible null pointer dereference: icc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:88:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:88:19: note: Assignment '(*((struct ICC**)p))=(struct ICC*)calloc(1,sizeof(struct ICC))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:89:7: note: icc is assigned '*((struct ICC**)p)' here. harvid-0.9.1/libharvid/image_cache.c:92:21: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:175:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:175:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:176:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:177:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:177:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:178:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:178:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:179:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:179:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:180:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:180:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:181:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:181:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:182:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:182:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:183:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:183:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:184:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/image_cache.c:173:16: note: Assignment 'cl=calloc(1,sizeof(struct ImageCacheLine))', assigned value is 0 harvid-0.9.1/libharvid/image_cache.c:184:3: note: Null pointer dereference harvid-0.9.1/libharvid/image_cache.c:153:21: style: Local variable 'tmp' shadows outer variable [shadowVariable] harvid-0.9.1/libharvid/image_cache.c:149:31: note: Shadowed declaration harvid-0.9.1/libharvid/image_cache.c:153:21: note: Shadow variable harvid-0.9.1/libharvid/image_cache.c:265:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] harvid-0.9.1/libharvid/image_cache.c:247:26: note: Shadowed declaration harvid-0.9.1/libharvid/image_cache.c:265:11: note: Shadow variable harvid-0.9.1/libharvid/image_cache.c:218:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] harvid-0.9.1/libharvid/image_cache.c:227:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] harvid-0.9.1/libharvid/snprintf.c:595:15: style: Variable 'str_arg' is reassigned a value before the old one has been used. [redundantAssignment] harvid-0.9.1/libharvid/snprintf.c:594:15: note: str_arg is assigned harvid-0.9.1/libharvid/snprintf.c:595:15: note: str_arg is overwritten harvid-0.9.1/libharvid/snprintf.c:955:34: style: Checking if unsigned expression 'number_of_zeros_to_pad' is less than zero. [unsignedLessThanZero] harvid-0.9.1/libharvid/snprintf.c:730:15: style: Variable 'ptr_arg' can be declared as pointer to const [constVariablePointer] harvid-0.9.1/libharvid/snprintf.c:907:64: style: Variable 'precision_specified' is assigned a value that is never used. [unreadVariable] harvid-0.9.1/libharvid/vinfo.c:23:23: style:inconclusive: Function 'jvi_init' argument 1 names different: declaration 'i' definition 'ji'. [funcArgNamesDifferent] harvid-0.9.1/libharvid/vinfo.h:48:22: note: Function 'jvi_init' argument 1 names different: declaration 'i' definition 'ji'. harvid-0.9.1/libharvid/vinfo.c:23:23: note: Function 'jvi_init' argument 1 names different: declaration 'i' definition 'ji'. harvid-0.9.1/libharvid/vinfo.c:32:23: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/daemon_log.c:38:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_log.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CONS [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_log.c:67:18: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] harvid-0.9.1/src/daemon_log.c:68:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] harvid-0.9.1/src/daemon_log.c:68:45: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] harvid-0.9.1/src/daemon_log.c:69:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] harvid-0.9.1/src/daemon_log.c:64:16: style: Variable 'timeptr' can be declared as pointer to const [constVariablePointer] harvid-0.9.1/src/daemon_util.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_util.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_util.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_util.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_WARNING [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_util.c:137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/daemon_util.c:63:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] harvid-0.9.1/src/daemon_util.c:85:8: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] harvid-0.9.1/src/daemon_util.c:60:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] harvid-0.9.1/src/daemon_util.c:83:17: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] harvid-0.9.1/src/fileindex.c:369:82: error: There is an unknown macro here somewhere. Configuration is required. If ICSVERSION is a macro then please configure it. [unknownMacro] harvid-0.9.1/src/harvid.c:459:38: error: There is an unknown macro here somewhere. Configuration is required. If ICSVERSION is a macro then please configure it. [unknownMacro] harvid-0.9.1/src/htmlseek.c:97:37: error: There is an unknown macro here somewhere. Configuration is required. If ICSVERSION is a macro then please configure it. [unknownMacro] harvid-0.9.1/src/httprotocol.c:76:58: error: There is an unknown macro here somewhere. Configuration is required. If ICSVERSION is a macro then please configure it. [unknownMacro] harvid-0.9.1/src/ics_handler.c:391:9: error: There is an unknown macro here somewhere. Configuration is required. If ICSVERSION is a macro then please configure it. [unknownMacro] harvid-0.9.1/src/image_format.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/image_format.c:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/image_format.c:160:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/image_format.c:227:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/image_format.c:169:21: style: Condition 'write_jpeg(ji,buf,misc_int,x)' is always false [knownConditionTrueFalse] harvid-0.9.1/src/image_format.c:169:21: note: Calling function 'write_jpeg' returns 0 harvid-0.9.1/src/image_format.c:169:21: note: Condition 'write_jpeg(ji,buf,misc_int,x)' is always false harvid-0.9.1/src/image_format.c:178:20: style: Condition 'write_ppm(ji,buf,x)' is always false [knownConditionTrueFalse] harvid-0.9.1/src/image_format.c:178:20: note: Calling function 'write_ppm' returns 0 harvid-0.9.1/src/image_format.c:178:20: note: Condition 'write_ppm(ji,buf,x)' is always false harvid-0.9.1/src/image_format.c:234:15: style: Condition 'write_ppm(ji,buf,x)' is always false [knownConditionTrueFalse] harvid-0.9.1/src/image_format.c:234:15: note: Calling function 'write_ppm' returns 0 harvid-0.9.1/src/image_format.c:234:15: note: Condition 'write_ppm(ji,buf,x)' is always false harvid-0.9.1/src/image_format.c:41:30: style: Parameter 'ji' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/image_format.c:41:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/image_format.c:125:29: style: Parameter 'ji' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/image_format.c:125:42: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/image_format.c:133:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] harvid-0.9.1/src/socket_server.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIONBIO [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:113:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:149:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_CRIT [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:171:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_INFO [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SRV [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:272:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLOG_ERR [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEBUG_SRV [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:328:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] harvid-0.9.1/src/socket_server.c:255:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:255:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:256:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:256:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:257:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:257:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:258:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:258:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:259:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:259:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:254:19: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:254:19: note: Assignment 'c=calloc(1,sizeof(struct CONN))', assigned value is 0 harvid-0.9.1/src/socket_server.c:263:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:331:8: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:462:20: note: Calling function 'main_loop', 1st argument 'd' value is 0 harvid-0.9.1/src/socket_server.c:324:12: note: Assignment 'd=arg', assigned value is 0 harvid-0.9.1/src/socket_server.c:331:8: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:453:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:453:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:454:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:454:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:455:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:455:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:456:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:456:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:457:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:457:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:458:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:458:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:459:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:459:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:460:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:460:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:461:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] harvid-0.9.1/src/socket_server.c:451:18: note: Assuming allocation function fails harvid-0.9.1/src/socket_server.c:451:18: note: Assignment 'd=calloc(1,sizeof(struct ICI))', assigned value is 0 harvid-0.9.1/src/socket_server.c:461:3: note: Null pointer dereference harvid-0.9.1/src/socket_server.c:450:33: style:inconclusive: Function 'start_tcp_server' argument 7 names different: declaration 'd' definition 'userdata'. [funcArgNamesDifferent] harvid-0.9.1/src/socket_server.h:115:31: note: Function 'start_tcp_server' argument 7 names different: declaration 'd' definition 'userdata'. harvid-0.9.1/src/socket_server.c:450:33: note: Function 'start_tcp_server' argument 7 names different: declaration 'd' definition 'userdata'. harvid-0.9.1/src/socket_server.c:248:47: style: Parameter 'rh' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:102:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:147:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:146:23: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:146:23: note: Assignment 'n=calloc(1,sizeof(struct JVOBJECT))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:147:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:146:23: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:146:23: note: Assignment 'n=calloc(1,sizeof(struct JVOBJECT))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:148:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:238:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:276:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:309:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:312:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:444:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:459:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:473:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:492:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:502:3: warning: If memory allocation fails, then there is a possible null pointer dereference: vm [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:500:23: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:500:23: note: Assignment 'vm=calloc(1,sizeof(struct VidMap))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:502:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:510:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:511:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:521:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:530:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:533:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:551:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:566:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:571:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:574:5: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:575:5: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:616:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:622:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:623:7: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:626:7: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:749:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:749:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:750:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:750:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:751:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:751:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:758:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:758:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:759:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:759:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:760:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:760:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:761:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:761:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:762:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:762:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:764:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:764:3: warning: If memory allocation fails, then there is a possible null pointer dereference: jvd [nullPointerOutOfMemory] harvid-0.9.1/libharvid/decoder_ctrl.c:747:32: note: Assuming allocation function fails harvid-0.9.1/libharvid/decoder_ctrl.c:747:19: note: Assignment '(*((struct JVD**)p))=(struct JVD*)calloc(1,sizeof(struct JVD))', assigned value is 0 harvid-0.9.1/libharvid/decoder_ctrl.c:748:7: note: jvd is assigned '*((struct JVD**)p)' here. harvid-0.9.1/libharvid/decoder_ctrl.c:764:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:765:3: style: Variable '_hs_key' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:787:42: style:inconclusive: Function 'dctrl_decode' argument 2 names different: declaration 'vid' definition 'id'. [funcArgNamesDifferent] harvid-0.9.1/libharvid/decoder_ctrl.h:78:42: note: Function 'dctrl_decode' argument 2 names different: declaration 'vid' definition 'id'. harvid-0.9.1/libharvid/decoder_ctrl.c:787:42: note: Function 'dctrl_decode' argument 2 names different: declaration 'vid' definition 'id'. 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:791:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:801:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_PIX_FMT_NONE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:835:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:843:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:847:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:851:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:855:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:856:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:906:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] harvid-0.9.1/libharvid/decoder_ctrl.c:865:16: note: Shadowed declaration harvid-0.9.1/libharvid/decoder_ctrl.c:906:11: note: Shadow variable 2.18.0 harvid-0.9.1/libharvid/decoder_ctrl.c:906:17: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] head harvid-0.9.1/libharvid/ffcompat.h:43:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] head harvid-0.9.1/libharvid/ffcompat.h:43:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:242:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:269:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:340:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:364:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:374:20: style: Variable 'ff->movie_height' is reassigned a value before the old one has been used. [redundantAssignment] harvid-0.9.1/libharvid/ffdecoder.c:372:20: note: ff->movie_height is assigned harvid-0.9.1/libharvid/ffdecoder.c:374:20: note: ff->movie_height is overwritten 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:534:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_NOPTS_VALUE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:596:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AV_TIME_BASE [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:742:9: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:761:9: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:772:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable render_fmt [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:772:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *((struct ffst**)ff) [nullPointerOutOfMemory] harvid-0.9.1/libharvid/ffdecoder.c:771:35: note: Assuming allocation function fails harvid-0.9.1/libharvid/ffdecoder.c:771:21: note: Assignment '(*((struct ffst**)ff))=(struct ffst*)calloc(1,sizeof(struct ffst))', assigned value is 0 harvid-0.9.1/libharvid/ffdecoder.c:772:4: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:773:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *((struct ffst**)ff) [nullPointerOutOfMemory] harvid-0.9.1/libharvid/ffdecoder.c:771:35: note: Assuming allocation function fails harvid-0.9.1/libharvid/ffdecoder.c:771:21: note: Assignment '(*((struct ffst**)ff))=(struct ffst*)calloc(1,sizeof(struct ffst))', assigned value is 0 harvid-0.9.1/libharvid/ffdecoder.c:773:4: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:774:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *((struct ffst**)ff) [nullPointerOutOfMemory] harvid-0.9.1/libharvid/ffdecoder.c:771:35: note: Assuming allocation function fails harvid-0.9.1/libharvid/ffdecoder.c:771:21: note: Assignment '(*((struct ffst**)ff))=(struct ffst*)calloc(1,sizeof(struct ffst))', assigned value is 0 harvid-0.9.1/libharvid/ffdecoder.c:774:4: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:775:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *((struct ffst**)ff) [nullPointerOutOfMemory] harvid-0.9.1/libharvid/ffdecoder.c:771:35: note: Assuming allocation function fails harvid-0.9.1/libharvid/ffdecoder.c:771:21: note: Assignment '(*((struct ffst**)ff))=(struct ffst*)calloc(1,sizeof(struct ffst))', assigned value is 0 harvid-0.9.1/libharvid/ffdecoder.c:775:4: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:802:9: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/ffdecoder.c:97:9: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:102:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:103:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:104:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:105:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:106:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:107:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cl [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:100:16: note: Assignment 'cl=calloc(1,sizeof(struct videocacheline))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:108:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:137:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:141:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:176:11: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [ctunullpointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:286:22: note: Calling function fc_initialize_cache, 1st argument is null harvid-0.9.1/libharvid/frame_cache.c:176:11: note: Dereferencing argument cc that is null 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:176:11: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:286:24: note: Calling function 'fc_initialize_cache', 1st argument '*((struct xjcd**)p)' value is 0 harvid-0.9.1/libharvid/frame_cache.c:176:11: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:177:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:286:24: note: Calling function 'fc_initialize_cache', 1st argument '*((struct xjcd**)p)' value is 0 harvid-0.9.1/libharvid/frame_cache.c:177:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:178:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:286:24: note: Calling function 'fc_initialize_cache', 1st argument '*((struct xjcd**)p)' value is 0 harvid-0.9.1/libharvid/frame_cache.c:178:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:179:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cc [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:286:24: note: Calling function 'fc_initialize_cache', 1st argument '*((struct xjcd**)p)' value is 0 harvid-0.9.1/libharvid/frame_cache.c:179:3: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:222:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_WARNING [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:285:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_cachesize [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:285:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *((struct xjcd**)p) [nullPointerOutOfMemory] harvid-0.9.1/libharvid/frame_cache.c:284:34: note: Assuming allocation function fails harvid-0.9.1/libharvid/frame_cache.c:284:20: note: Assignment '(*((struct xjcd**)p))=(struct xjcd*)calloc(1,sizeof(struct xjcd))', assigned value is 0 harvid-0.9.1/libharvid/frame_cache.c:285:4: note: Null pointer dereference 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:290:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cfg_cachesize [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:325:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:353:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:361:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:365:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:369:5: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:370:9: style: Variable 'off' is assigned a value that is never used. [unreadVariable] 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:395:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] harvid-0.9.1/libharvid/frame_cache.c:377:26: note: Shadowed declaration harvid-0.9.1/libharvid/frame_cache.c:395:11: note: Shadow variable 2.18.0 harvid-0.9.1/libharvid/frame_cache.c:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] DONE