2025-05-10 03:29 ftp://ftp.de.debian.org/debian/pool/main/d/dump/dump_0.4b49.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=sqlite3 --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 491 490 elapsed-time: 1.0 1.0 head-timing-info: old-timing-info: head results: dump-0.4b49/common/indexer_test.c:119:58: debug: Function::addArguments found argument 'first' with varid 0. [varid0] dump-0.4b49/common/legacy_indexer.c:155:39: debug: Function::addArguments found argument 'dp' with varid 0. [varid0] dump-0.4b49/common/legacy_indexer.c:164:42: debug: Function::addArguments found argument 'dp' with varid 0. [varid0] dump-0.4b49/common/dumprmt.c:120:27: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/common/dumprmt.c:392:29: debug: Function::addArguments found argument 'cmd' with varid 0. [varid0] dump-0.4b49/common/legacy_indexer.c:76:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/common/legacy_indexer.c:113:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_type [valueFlowBailoutIncompleteVar] dump-0.4b49/common/legacy_indexer.c:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/common/indexer_test.c:79:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_spcl [valueFlowBailoutIncompleteVar] dump-0.4b49/common/indexer_test.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/common/legacy_indexer.c:226:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dump-0.4b49/common/legacy_indexer.c:242:29: style: Parameter 's' can be declared as pointer to const. However it seems that 'legacy_updateQfa' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dump-0.4b49/common/legacy_indexer.c:352:3: note: You might need to cast the function pointer here dump-0.4b49/common/legacy_indexer.c:242:29: note: Parameter 's' can be declared as pointer to const dump-0.4b49/common/indexer_test.c:143:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dump-0.4b49/common/indexer_test.c:74:21: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/common/indexer_test.c:122:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/common/dumprmt.c:143:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ABORT [valueFlowBailoutIncompleteVar] dump-0.4b49/common/dumprmt.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_STARTUP [valueFlowBailoutIncompleteVar] dump-0.4b49/common/dumprmt.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/common/dumprmt.c:395:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/common/transformation_bzlib.c:16:41: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:25:39: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:34:43: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:44:49: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:65:16: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:88:41: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:124:40: debug: Function::addArguments found argument 'complvl' with varid 0. [varid0] dump-0.4b49/common/transformation_bzlib.c:128:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:128:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:133:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:133:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:134:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:134:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:135:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:136:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:136:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:137:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:137:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:138:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:138:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:139:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:139:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:140:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:140:2: note: Null pointer dereference dump-0.4b49/common/transformation_bzlib.c:141:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_bzlib.c:126:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_bzlib.c:126:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_bzlib.c:141:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:16:39: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:25:37: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:34:41: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:44:47: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:71:14: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:91:39: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:121:40: debug: Function::addArguments found argument 'enc' with varid 0. [varid0] dump-0.4b49/common/transformation_lzo.c:131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:131:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:132:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:132:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:133:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:133:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:134:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:134:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:135:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:136:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:136:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:137:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:137:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:138:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:138:2: note: Null pointer dereference dump-0.4b49/common/transformation_lzo.c:139:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_lzo.c:123:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_lzo.c:123:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_lzo.c:139:2: note: Null pointer dereference dump-0.4b49/common/transformation_null.c:9:40: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:18:38: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:27:42: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:37:48: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:46:46: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:55:38: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_null.c:68:40: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:16:40: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:25:38: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:34:42: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:44:48: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:71:15: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:87:40: debug: Function::addArguments found argument 'xform' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:120:39: debug: Function::addArguments found argument 'complvl' with varid 0. [varid0] dump-0.4b49/common/transformation_zlib.c:124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:124:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:129:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:129:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:130:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:131:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:132:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:132:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:133:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:133:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:134:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:134:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:135:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:136:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:136:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:137:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dump-0.4b49/common/transformation_zlib.c:122:47: note: Assuming allocation function fails dump-0.4b49/common/transformation_zlib.c:122:22: note: Assignment 't=(struct Transformation*)malloc(sizeof(struct Transformation))', assigned value is 0 dump-0.4b49/common/transformation_zlib.c:137:2: note: Null pointer dereference dump-0.4b49/common/transformation_zlib.c:64:6: style: struct member 'req::count' is never used. [unusedStructMember] dump-0.4b49/compat/lib/bylabel.c:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:187:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:196:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compaterr.c:93:2: style: Statements following noreturn function 'verrc()' will never be executed. [unreachableCode] dump-0.4b49/compat/lib/compaterr.c:142:2: style: Statements following noreturn function 'verrc()' will never be executed. [unreachableCode] dump-0.4b49/compat/lib/compaterr.c:161:2: style: Statements following noreturn function 'verrx()' will never be executed. [unreachableCode] dump-0.4b49/compat/lib/bylabel.c:126:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dump-0.4b49/compat/lib/bylabel.c:97:2: warning: If memory allocation fails, then there is a possible null pointer dereference: last [nullPointerOutOfMemory] dump-0.4b49/compat/lib/bylabel.c:91:50: note: Assuming allocation function fails dump-0.4b49/compat/lib/bylabel.c:91:20: note: Assignment 'last=uuidCache=(struct uuidCache_s*)malloc(sizeof(*uuidCache))', assigned value is 0 dump-0.4b49/compat/lib/bylabel.c:97:2: note: Null pointer dereference dump-0.4b49/compat/lib/bylabel.c:98:2: warning: If memory allocation fails, then there is a possible null pointer dereference: last [nullPointerOutOfMemory] dump-0.4b49/compat/lib/bylabel.c:91:50: note: Assuming allocation function fails dump-0.4b49/compat/lib/bylabel.c:91:20: note: Assignment 'last=uuidCache=(struct uuidCache_s*)malloc(sizeof(*uuidCache))', assigned value is 0 dump-0.4b49/compat/lib/bylabel.c:98:2: note: Null pointer dereference dump-0.4b49/compat/lib/bylabel.c:99:2: warning: If memory allocation fails, then there is a possible null pointer dereference: last [nullPointerOutOfMemory] dump-0.4b49/compat/lib/bylabel.c:91:50: note: Assuming allocation function fails dump-0.4b49/compat/lib/bylabel.c:91:20: note: Assignment 'last=uuidCache=(struct uuidCache_s*)malloc(sizeof(*uuidCache))', assigned value is 0 dump-0.4b49/compat/lib/bylabel.c:99:2: note: Null pointer dereference dump-0.4b49/compat/lib/bylabel.c:100:9: warning: If memory allocation fails, then there is a possible null pointer dereference: last [nullPointerOutOfMemory] dump-0.4b49/compat/lib/bylabel.c:91:50: note: Assuming allocation function fails dump-0.4b49/compat/lib/bylabel.c:91:20: note: Assignment 'last=uuidCache=(struct uuidCache_s*)malloc(sizeof(*uuidCache))', assigned value is 0 dump-0.4b49/compat/lib/bylabel.c:100:9: note: Null pointer dereference dump-0.4b49/compat/lib/bylabel.c:87:53: style: Parameter 'uuid' can be declared as pointer to const [constParameterPointer] dump-0.4b49/compat/lib/dumprestore.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_tapea_lo [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/dumprestore.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_tapea_lo [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/dumprestore.c:67:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_firstrec_lo [valueFlowBailoutIncompleteVar] dump-0.4b49/common/dumprmt.c:163:8: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] dump-0.4b49/common/dumprmt.c:174:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] dump-0.4b49/compat/lib/rmtflags.c:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/rmtflags.c:159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/system.c:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:161:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:232:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:337:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_TILDE [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:489:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:519:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_MARK [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:557:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:643:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOSPACE [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:732:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:748:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/compatglob.c:759:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/compat/lib/rmtflags.c:116:21: style: Redundant condition: The condition '*p != '\0'' is redundant since '*p == ' '' is sufficient. [redundantCondition] dump-0.4b49/compat/lib/rmtflags.c:125:22: style: Redundant condition: The condition '*p != '\0'' is redundant since '*p == ' '' is sufficient. [redundantCondition] dump-0.4b49/dump/itime.c:76:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:149:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_ddate [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:189:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:252:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:286:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/itime.c:240:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dump-0.4b49/dump/itime.c:241:15: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] dump-0.4b49/dump/itime.c:91:18: warning: Either the condition '(df=fopen(dumpdates,"w"))==NULL' is redundant or there is possible null pointer dereference: df. [nullPointerRedundantCheck] dump-0.4b49/dump/itime.c:86:37: note: Assuming that condition '(df=fopen(dumpdates,"w"))==NULL' is not redundant dump-0.4b49/dump/itime.c:91:18: note: Null pointer dereference dump-0.4b49/dump/itime.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ddatev [nullPointerOutOfMemory] dump-0.4b49/dump/itime.c:133:9: note: Assuming allocation function fails dump-0.4b49/dump/itime.c:132:11: note: Assignment 'ddatev=(struct dumpdates**)calloc((unsigned int)(nddates+1),sizeof(struct dumpdates*))', assigned value is 0 dump-0.4b49/dump/itime.c:136:3: note: Null pointer dereference dump-0.4b49/dump/itime.c:190:14: warning: Either the condition '(df=fopen(dumpdates,"r+"))==NULL' is redundant or there is possible null pointer dereference: df. [nullPointerRedundantCheck] dump-0.4b49/dump/itime.c:188:36: note: Assuming that condition '(df=fopen(dumpdates,"r+"))==NULL' is not redundant dump-0.4b49/dump/itime.c:190:14: note: Null pointer dereference dump-0.4b49/dump/itime.c:220:17: warning: If memory allocation fails, then there is a possible null pointer dereference: dtwalk [nullPointerOutOfMemory] dump-0.4b49/dump/itime.c:217:29: note: Assuming allocation function fails dump-0.4b49/dump/itime.c:216:27: note: Assignment 'dtwalk=ddatev[nddates]=(struct dumpdates*)calloc(1,sizeof(struct dumpdates))', assigned value is 0 dump-0.4b49/dump/itime.c:220:17: note: Null pointer dereference dump-0.4b49/dump/itime.c:221:2: warning: If memory allocation fails, then there is a possible null pointer dereference: dtwalk [nullPointerOutOfMemory] dump-0.4b49/dump/itime.c:217:29: note: Assuming allocation function fails dump-0.4b49/dump/itime.c:216:27: note: Assignment 'dtwalk=ddatev[nddates]=(struct dumpdates*)calloc(1,sizeof(struct dumpdates))', assigned value is 0 dump-0.4b49/dump/itime.c:221:2: note: Null pointer dereference dump-0.4b49/dump/itime.c:222:2: warning: If memory allocation fails, then there is a possible null pointer dereference: dtwalk [nullPointerOutOfMemory] dump-0.4b49/dump/itime.c:217:29: note: Assuming allocation function fails dump-0.4b49/dump/itime.c:216:27: note: Assignment 'dtwalk=ddatev[nddates]=(struct dumpdates*)calloc(1,sizeof(struct dumpdates))', assigned value is 0 dump-0.4b49/dump/itime.c:222:2: note: Null pointer dereference dump-0.4b49/dump/itime.c:142:20: style: Variable 'ddp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/itime.c:235:42: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] dump-0.4b49/dump/itime.c:238:13: style: Variable 'tms' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/itime.c:282:8: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/main.c:183:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:987:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:1035:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:1055:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:1087:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:1255:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/main.c:1270:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:183:22: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/optr.c:155:23: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/optr.c:107:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_TTY [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:157:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMP [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:277:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:325:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:447:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:510:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:651:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_MNTTAB [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/optr.c:205:7: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dump-0.4b49/dump/optr.c:244:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dump-0.4b49/dump/optr.c:115:30: warning: Either the condition '(mytty=fopen(_PATH_TTY,"r"))==NULL' is redundant or there is possible null pointer dereference: mytty. [nullPointerRedundantCheck] dump-0.4b49/dump/optr.c:107:38: note: Assuming that condition '(mytty=fopen(_PATH_TTY,"r"))==NULL' is not redundant dump-0.4b49/dump/optr.c:115:30: note: Null pointer dereference dump-0.4b49/dump/optr.c:520:4: warning: Either the condition '(pf=(struct pfstab*)malloc(sizeof(*pf)))==NULL' is redundant or there is possible null pointer dereference: pf. [nullPointerRedundantCheck] dump-0.4b49/dump/optr.c:518:53: note: Assuming that condition '(pf=(struct pfstab*)malloc(sizeof(*pf)))==NULL' is not redundant dump-0.4b49/dump/optr.c:520:4: note: Null pointer dereference dump-0.4b49/dump/optr.c:521:4: warning: Either the condition '(pf=(struct pfstab*)malloc(sizeof(*pf)))==NULL' is redundant or there is possible null pointer dereference: pf. [nullPointerRedundantCheck] dump-0.4b49/dump/optr.c:518:53: note: Assuming that condition '(pf=(struct pfstab*)malloc(sizeof(*pf)))==NULL' is not redundant dump-0.4b49/dump/optr.c:521:4: note: Null pointer dereference dump-0.4b49/dump/optr.c:239:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/dump/optr.c:573:39: style:inconclusive: Function 'fstabsearchdir' argument 2 names different: declaration 'dir' definition 'directory'. [funcArgNamesDifferent] dump-0.4b49/dump/dump.h:191:55: note: Function 'fstabsearchdir' argument 2 names different: declaration 'dir' definition 'directory'. dump-0.4b49/dump/optr.c:573:39: note: Function 'fstabsearchdir' argument 2 names different: declaration 'dir' definition 'directory'. dump-0.4b49/dump/optr.c:428:14: style: Local variable 'disk' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:70:20: note: Shadowed declaration dump-0.4b49/dump/optr.c:428:14: note: Shadow variable dump-0.4b49/dump/optr.c:499:17: style: Local variable 'fs' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:105:20: note: Shadowed declaration dump-0.4b49/dump/optr.c:499:17: note: Shadow variable dump-0.4b49/dump/optr.c:549:17: style: Local variable 'fs' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:105:20: note: Shadowed declaration dump-0.4b49/dump/optr.c:549:17: note: Shadow variable dump-0.4b49/dump/optr.c:576:17: style: Local variable 'fs' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:105:20: note: Shadowed declaration dump-0.4b49/dump/optr.c:576:17: note: Shadow variable dump-0.4b49/dump/optr.c:719:17: style: Local variable 'disk' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:70:20: note: Shadowed declaration dump-0.4b49/dump/optr.c:719:17: note: Shadow variable dump-0.4b49/dump/optr.c:322:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/optr.c:664:9: style: Variable 'lastname' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/optr.c:734:9: style: Variable 'lastname' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/optr.c:753:20: style: Variable 'd1' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/optr.c:754:20: style: Variable 'd2' can be declared as pointer to const [constVariablePointer] dump-0.4b49/compat/lib/compatglob.c:358:14: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] dump-0.4b49/compat/lib/compatglob.c:359:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dump-0.4b49/compat/lib/compatglob.c:360:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] dump-0.4b49/compat/lib/compatglob.c:370:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dump-0.4b49/compat/lib/compatglob.c:215:7: style: Condition '!globexp2(ptr,pattern,pglob,&rv)' is always true [knownConditionTrueFalse] dump-0.4b49/compat/lib/compatglob.c:215:16: note: Calling function 'globexp2' returns 0 dump-0.4b49/compat/lib/compatglob.c:215:7: note: Condition '!globexp2(ptr,pattern,pglob,&rv)' is always true dump-0.4b49/compat/lib/compatglob.c:236:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:244:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:272:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:298:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:304:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:346:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:378:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:382:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:597:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:654:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:799:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] dump-0.4b49/compat/lib/compatglob.c:330:73: style: Parameter 'pglob' can be declared as pointer to const [constParameterPointer] dump-0.4b49/compat/lib/compatglob.c:332:17: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] dump-0.4b49/compat/lib/compatglob.c:589:11: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] dump-0.4b49/compat/lib/compatglob.c:730:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dump-0.4b49/compat/lib/compatglob.c:746:15: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] dump-0.4b49/compat/lib/compatglob.c:757:14: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] dump-0.4b49/dump/main.c:1060:10: error: Common realloc mistake: 'vals' nulled but not freed upon failure [memleakOnRealloc] dump-0.4b49/dump/main.c:479:7: style: Local variable 'i' shadows outer variable [shadowVariable] dump-0.4b49/dump/main.c:177:6: note: Shadowed declaration dump-0.4b49/dump/main.c:479:7: note: Shadow variable dump-0.4b49/dump/main.c:480:9: style: Variable 'n' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/tape.c:896:22: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/tape.c:1062:13: debug: Function::addArguments found argument 'first' with varid 0. [varid0] dump-0.4b49/dump/tape.c:286:20: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/tape.c:926:21: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/tape.c:937:21: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:282:28: debug: Function::addArguments found argument 'maxino' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:414:35: debug: Function::addArguments found argument 'maxino' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:326:30: debug: Function::addArguments found argument 'maxino' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:549:49: debug: Function::addArguments found argument 'offset' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:377:57: debug: Function::addArguments found argument 'offset' with varid 0. [varid0] dump-0.4b49/dump/traverse.c:912:55: debug: Function::addArguments found argument 'offset' with varid 0. [varid0] dump-0.4b49/dump/tape.c:180:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dblk [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:243:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sblock [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:308:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:387:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:483:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLAVES [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:583:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLAVES [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:740:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:964:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:1038:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLAVES [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:1087:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:1329:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:1346:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/unctime.c:92:7: error: Uninitialized variable: then [uninitvar] dump-0.4b49/dump/traverse.c:118:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_FLAG_FORCE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:177:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_HUGE_FILE_FL [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:237:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:301:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_BLOCK_IN_INODE_TABLE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:330:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:392:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFMT [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:419:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:501:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:571:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:696:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_type [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:716:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_EXTENT_ROOT [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:764:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:923:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:984:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:1100:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_NINDIR [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:1158:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_type [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:1181:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_spcl [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:1197:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_inumber [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/traverse.c:1241:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fs_size [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.h:220:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_block_size [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.h:237:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:305:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:343:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:366:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:467:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:531:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:689:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:711:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:735:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:780:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:860:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.cpp:871:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] dump-0.4b49/dump/tape.c:614:7: warning: Possible null pointer dereference: prev [nullPointer] dump-0.4b49/dump/tape.c:604:10: note: Assignment 'prev=NULL', assigned value is 0 dump-0.4b49/dump/tape.c:605:31: note: Assuming condition is false dump-0.4b49/dump/tape.c:614:7: note: Null pointer dereference dump-0.4b49/dump/tape.c:663:17: warning: Possible null pointer dereference: q [nullPointer] dump-0.4b49/dump/tape.c:575:22: note: Assignment 'q=NULL', assigned value is 0 dump-0.4b49/dump/tape.c:596:16: note: Assuming condition is false dump-0.4b49/dump/tape.c:663:17: note: Null pointer dereference dump-0.4b49/dump/tape.c:665:6: warning: Possible null pointer dereference: q [nullPointer] dump-0.4b49/dump/tape.c:575:22: note: Assignment 'q=NULL', assigned value is 0 dump-0.4b49/dump/tape.c:596:16: note: Assuming condition is false dump-0.4b49/dump/tape.c:665:6: note: Null pointer dereference dump-0.4b49/dump/tape.c:547:6: style: Local variable 'eot_code' shadows outer variable [shadowVariable] dump-0.4b49/dump/tape.c:91:6: note: Shadowed declaration dump-0.4b49/dump/tape.c:547:6: note: Shadow variable dump-0.4b49/dump/tape.c:579:22: style: Variable 'otb' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/tape.c:1069:18: style: Variable 'buffer' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/traverse.c:1112:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dump-0.4b49/dump/traverse.c:1048:3: error: Memory leak: cdc.buf [memleak] dump-0.4b49/dump/traverse.c:1143:22: warning: Either the condition '!bii' is redundant or there is possible null pointer dereference: bii. [nullPointerRedundantCheck] dump-0.4b49/dump/traverse.c:1118:6: note: Assuming that condition '!bii' is not redundant dump-0.4b49/dump/traverse.c:1143:22: note: Null pointer dereference dump-0.4b49/dump/traverse.c:1144:29: warning: Either the condition '!bii' is redundant or there is possible null pointer dereference: bii. [nullPointerRedundantCheck] dump-0.4b49/dump/traverse.c:1118:6: note: Assuming that condition '!bii' is not redundant dump-0.4b49/dump/traverse.c:1144:29: note: Null pointer dereference dump-0.4b49/dump/traverse.c:554:13: style: Local variable 'tapesize' shadows outer variable [shadowVariable] dump-0.4b49/dump/dump.h:91:18: note: Shadowed declaration dump-0.4b49/dump/traverse.c:554:13: note: Shadow variable dump-0.4b49/dump/traverse.c:742:58: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] dump-0.4b49/dump/traverse.c:492:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/traverse.c:494:8: style: Variable 'map' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/traverse.c:555:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] dump-0.4b49/dump/traverse.c:1176:21: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/faketape/faketape-st.cpp:152:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:180:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:221:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:226:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:255:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:269:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:277:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:293:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:383:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:397:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:405:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:412:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:418:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:426:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:437:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:458:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:481:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:516:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:575:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-lib.h:150:3: warning: Member variable 'FakeTape::cbt' is not initialized. [uninitMemberVarPrivate] dump-0.4b49/faketape/faketape-lib.h:151:3: warning: Member variable 'FakeTape::cbt_index' is not initialized. [uninitMemberVarPrivate] dump-0.4b49/faketape/faketape-lib.h:178:3: warning: Member variable 'FakeTape::context' is not initialized. [uninitMemberVarPrivate] dump-0.4b49/faketape/faketape-lib.h:245:47: performance: Variable 's_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dump-0.4b49/faketape/faketape-lib.h:123:14: style:inconclusive: Technically the member function 'FakeTape::BlockTable::maxblocks' can be const. [functionConst] dump-0.4b49/faketape/faketape-lib.h:235:2: style: Struct 'FakeTapeTimer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dump-0.4b49/faketape/faketape-lib.h:245:2: style: Struct 'CalcTime' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dump-0.4b49/faketape/faketape.cpp:57:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape.cpp:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape.cpp:98:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape.cpp:324:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape.cpp:344:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape.cpp:398:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape-st.cpp:384:9: style: Local variable 'seek' shadows outer function [shadowFunction] dump-0.4b49/faketape/faketape-st.cpp:79:17: note: Shadowed declaration dump-0.4b49/faketape/faketape-st.cpp:384:9: note: Shadow variable dump-0.4b49/faketape/faketape-lib.h:235:34: performance: Function parameter 'n' should be passed by const reference. [passedByValue] dump-0.4b49/faketape/faketape-st.cpp:179:16: style: Variable 'lopts' can be declared as const array [constVariable] dump-0.4b49/faketape/faketape-lib.cpp:777:61: style:inconclusive: Function 'readData' argument 2 names different: declaration 'maxlen' definition 'maxsize'. [funcArgNamesDifferent] dump-0.4b49/faketape/faketape-lib.h:215:43: note: Function 'readData' argument 2 names different: declaration 'maxlen' definition 'maxsize'. dump-0.4b49/faketape/faketape-lib.cpp:777:61: note: Function 'readData' argument 2 names different: declaration 'maxlen' definition 'maxsize'. dump-0.4b49/faketape/faketape-lib.cpp:777:78: style:inconclusive: Function 'readData' argument 3 names different: declaration 'readlen' definition 'readsize'. [funcArgNamesDifferent] dump-0.4b49/faketape/faketape-lib.h:215:59: note: Function 'readData' argument 3 names different: declaration 'readlen' definition 'readsize'. dump-0.4b49/faketape/faketape-lib.cpp:777:78: note: Function 'readData' argument 3 names different: declaration 'readlen' definition 'readsize'. dump-0.4b49/faketape/faketape-lib.cpp:857:41: style:inconclusive: Function 'fsr' argument 1 names different: declaration 'count' definition 'offset'. [funcArgNamesDifferent] dump-0.4b49/faketape/faketape-lib.h:216:23: note: Function 'fsr' argument 1 names different: declaration 'count' definition 'offset'. dump-0.4b49/faketape/faketape-lib.cpp:857:41: note: Function 'fsr' argument 1 names different: declaration 'count' definition 'offset'. dump-0.4b49/faketape/faketape-lib.cpp:868:41: style:inconclusive: Function 'bsr' argument 1 names different: declaration 'count' definition 'offset'. [funcArgNamesDifferent] dump-0.4b49/faketape/faketape-lib.h:217:23: note: Function 'bsr' argument 1 names different: declaration 'count' definition 'offset'. dump-0.4b49/faketape/faketape-lib.cpp:868:41: note: Function 'bsr' argument 1 names different: declaration 'count' definition 'offset'. dump-0.4b49/faketape/faketape-lib.cpp:387:12: style: Local variable 'ct' shadows outer variable [shadowVariable] dump-0.4b49/faketape/faketape-lib.cpp:362:11: note: Shadowed declaration dump-0.4b49/faketape/faketape-lib.cpp:387:12: note: Shadow variable dump-0.4b49/faketape/faketape.cpp:363:30: warning: Either the condition '!tape.debug' is redundant or there is possible null pointer dereference: static_cast(tape.debug.get()). [nullPointerRedundantCheck] dump-0.4b49/faketape/faketape.cpp:364:7: note: Assuming that condition '!tape.debug' is not redundant dump-0.4b49/faketape/faketape.cpp:363:30: note: Null pointer dereference dump-0.4b49/faketape/faketape.cpp:106:12: style: Local variable 'ct' shadows outer variable [shadowVariable] dump-0.4b49/faketape/faketape.cpp:96:11: note: Shadowed declaration dump-0.4b49/faketape/faketape.cpp:106:12: note: Shadow variable dump-0.4b49/faketape/faketape.cpp:122:12: style: Local variable 'ct' shadows outer variable [shadowVariable] dump-0.4b49/faketape/faketape.cpp:96:11: note: Shadowed declaration dump-0.4b49/faketape/faketape.cpp:122:12: note: Shadow variable dump-0.4b49/faketape/faketape.cpp:168:12: style: Local variable 'ct' shadows outer variable [shadowVariable] dump-0.4b49/faketape/faketape.cpp:96:11: note: Shadowed declaration dump-0.4b49/faketape/faketape.cpp:168:12: note: Shadow variable dump-0.4b49/faketape/faketape.cpp:198:12: style: Local variable 'ct' shadows outer variable [shadowVariable] dump-0.4b49/faketape/faketape.cpp:96:11: note: Shadowed declaration dump-0.4b49/faketape/faketape.cpp:198:12: note: Shadow variable dump-0.4b49/faketape/faketape_test.cpp:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:116:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:151:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:189:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:304:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/file-to-tape.cpp:48:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/file-to-tape.cpp:63:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:362:38: debug: Function::addArguments found argument 'pos' with varid 0. [varid0] dump-0.4b49/restore/dirs.c:158:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:246:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFMT [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:284:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:318:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:396:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_UNKNOWN [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:49:3: warning: Member variable 'FakeTape::cbt' is not initialized in the constructor. Maybe it should be initialized directly in the class FakeTape? [uninitDerivedMemberVar] dump-0.4b49/restore/dirs.c:451:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_reclen [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:49:3: warning: Member variable 'FakeTape::cbt_index' is not initialized in the constructor. Maybe it should be initialized directly in the class FakeTape? [uninitDerivedMemberVar] dump-0.4b49/restore/dirs.c:468:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_reclen [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:49:3: warning: Member variable 'FakeTape::context' is not initialized in the constructor. Maybe it should be initialized directly in the class FakeTape? [uninitDerivedMemberVar] dump-0.4b49/restore/dirs.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_UNKNOWN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:504:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:524:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:601:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:625:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:704:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:818:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/dirs.c:887:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dump-0.4b49/faketape/faketape_test.cpp:192:39: style: Condition 'i>4097' is always false [knownConditionTrueFalse] dump-0.4b49/faketape/faketape_test.cpp:191:23: note: Assuming that condition 'i<4096' is not redundant dump-0.4b49/faketape/faketape_test.cpp:192:39: note: Condition 'i>4097' is always false dump-0.4b49/faketape/faketape_test.cpp:83:30: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/faketape_test.cpp:88:30: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/faketape_test.cpp:72:23: style: Unused variable: databuffer [unusedVariable] dump-0.4b49/faketape/faketape_test.cpp:113:23: style: Unused variable: databuffer [unusedVariable] dump-0.4b49/faketape/faketape_test.cpp:146:23: style: Unused variable: databuffer [unusedVariable] dump-0.4b49/faketape/faketape_test.cpp:184:23: style: Unused variable: databuffer [unusedVariable] dump-0.4b49/faketape/faketape_test.cpp:231:23: style: Unused variable: databuffer [unusedVariable] dump-0.4b49/restore/interactive.c:792:19: debug: Function::addArguments found argument 'signo' with varid 0. [varid0] dump-0.4b49/faketape/file-to-tape.cpp:82:6: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] dump-0.4b49/faketape/file-to-tape.cpp:101:31: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:108:22: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:109:22: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:110:23: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:143:26: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:148:18: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:149:26: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:154:26: style: C-style pointer casting [cstyleCast] dump-0.4b49/faketape/file-to-tape.cpp:108:12: style: Variable 'c_magic' can be declared as pointer to const [constVariablePointer] dump-0.4b49/faketape/file-to-tape.cpp:109:12: style: Variable 'c_flags' can be declared as pointer to const [constVariablePointer] dump-0.4b49/faketape/file-to-tape.cpp:110:13: style: Variable 'c_ntrec' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/interactive.c:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:348:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:455:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:549:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:635:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:689:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:748:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:768:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:794:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/main.c:131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_DEFTAPE [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/main.c:642:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/interactive.c:616:8: error: Deallocation of an auto-variable (single) results in undefined behaviour. [autovarInvalidDeallocation] dump-0.4b49/restore/interactive.c:557:10: note: Address of variable taken here. dump-0.4b49/restore/interactive.c:616:8: note: Deallocating memory that was not dynamically allocated dump-0.4b49/restore/interactive.c:584:11: style: Condition 'dp==NULL' is always false [knownConditionTrueFalse] dump-0.4b49/restore/interactive.c:490:13: style: Parameter 'rawname' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/interactive.c:542:29: style: Parameter 'basename' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/interactive.c:627:16: style: Variable 'np' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/interactive.c:682:21: style: Variable 'endlist' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/readtape.c:65:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/readtape.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MTIOCTOP [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/readtape.c:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/readtape.c:257:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TP_BSIZE [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:153:51: debug: Function::addArguments found argument 'type' with varid 0. [varid0] dump-0.4b49/restore/readtape.c:64:6: style: Condition 'is_remote' is always false [knownConditionTrueFalse] dump-0.4b49/restore/readtape.c:60:14: note: Assignment 'is_remote=0', assigned value is 0 dump-0.4b49/restore/readtape.c:64:6: note: Condition 'is_remote' is always false dump-0.4b49/restore/dirs.c:675:4: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] dump-0.4b49/restore/dirs.c:627:10: portability: %ju in format string (no. 2) requires 'uintmax_t' but the argument type is 'intmax_t {aka signed long}'. [invalidPrintfArgType_uint] dump-0.4b49/restore/dirs.c:873:2: warning: If memory allocation fails, then there is a possible null pointer dereference: itp [nullPointerOutOfMemory] dump-0.4b49/restore/dirs.c:870:14: note: Assuming allocation function fails dump-0.4b49/restore/dirs.c:870:14: note: Assignment 'itp=calloc(1,sizeof(struct inotab))', assigned value is 0 dump-0.4b49/restore/dirs.c:873:2: note: Null pointer dereference dump-0.4b49/restore/dirs.c:875:2: warning: If memory allocation fails, then there is a possible null pointer dereference: itp [nullPointerOutOfMemory] dump-0.4b49/restore/dirs.c:870:14: note: Assuming allocation function fails dump-0.4b49/restore/dirs.c:870:14: note: Assignment 'itp=calloc(1,sizeof(struct inotab))', assigned value is 0 dump-0.4b49/restore/dirs.c:875:2: note: Null pointer dereference dump-0.4b49/restore/dirs.c:876:2: warning: If memory allocation fails, then there is a possible null pointer dereference: itp [nullPointerOutOfMemory] dump-0.4b49/restore/dirs.c:870:14: note: Assuming allocation function fails dump-0.4b49/restore/dirs.c:870:14: note: Assignment 'itp=calloc(1,sizeof(struct inotab))', assigned value is 0 dump-0.4b49/restore/dirs.c:876:2: note: Null pointer dereference dump-0.4b49/restore/dirs.c:558:11: style: Local variable 'dirp' shadows outer variable [shadowVariable] dump-0.4b49/restore/dirs.c:114:17: note: Shadowed declaration dump-0.4b49/restore/dirs.c:558:11: note: Shadow variable dump-0.4b49/restore/dirs.c:598:11: style: Local variable 'dirp' shadows outer variable [shadowVariable] dump-0.4b49/restore/dirs.c:114:17: note: Shadowed declaration dump-0.4b49/restore/dirs.c:598:11: note: Shadow variable dump-0.4b49/restore/dirs.c:620:8: style: Local variable 'mf' shadows outer variable [shadowVariable] dump-0.4b49/restore/dirs.c:113:19: note: Shadowed declaration dump-0.4b49/restore/dirs.c:620:8: note: Shadow variable dump-0.4b49/restore/dirs.c:699:8: style: Local variable 'mf' shadows outer variable [shadowVariable] dump-0.4b49/restore/dirs.c:113:19: note: Shadowed declaration dump-0.4b49/restore/dirs.c:699:8: note: Shadow variable dump-0.4b49/restore/dirs.c:258:17: style: Variable 'itp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:339:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/dirs.c:342:17: style: Variable 'itp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:366:18: style: Variable 'eodp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:478:22: style: Parameter 'odp' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/dirs.c:557:17: style: Variable 'itp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:586:22: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/dirs.c:816:17: style: Variable 'itp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:853:17: style: Variable 'itp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/dirs.c:881:63: style: Parameter 'xattr' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/dirs.c:155:18: style: Variable 'xattr_found' is assigned a value that is never used. [unreadVariable] dump-0.4b49/restore/restore.c:81:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:109:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:158:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:196:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:264:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:562:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:636:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:692:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:780:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:889:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:1092:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:1133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/restore.c:1157:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/tape.c:2079:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] dump-0.4b49/restore/symtab.c:152:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:254:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:299:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:538:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:649:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:140:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:160:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:187:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:286:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOTINO [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:303:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:334:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:364:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:381:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:438:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBBY [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:643:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT4_EXTENTS_FL [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/utilities.c:266:16: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/utilities.c:284:16: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/utilities.c:332:26: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/utilities.c:458:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/restore.c:731:13: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/restore.c:726:10: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/restore.c:731:13: note: Null pointer dereference dump-0.4b49/restore/restore.c:802:4: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/restore.c:798:11: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/restore.c:802:4: note: Null pointer dereference dump-0.4b49/restore/restore.c:932:6: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/restore.c:928:13: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/restore.c:932:6: note: Null pointer dereference dump-0.4b49/restore/restore.c:1049:4: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/restore.c:1042:11: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/restore.c:1049:4: note: Null pointer dereference dump-0.4b49/restore/restore.c:1077:4: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/restore.c:1058:11: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/restore.c:1077:4: note: Null pointer dereference dump-0.4b49/restore/restore.c:73:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/xattr.c:317:82: debug: Function::addArguments found argument 'private' with varid 0. [varid0] dump-0.4b49/restore/symtab.c:317:17: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/symtab.c:314:10: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/symtab.c:317:17: note: Null pointer dereference dump-0.4b49/restore/symtab.c:318:3: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] dump-0.4b49/restore/symtab.c:314:10: note: Assuming that condition 'ep==NULL' is not redundant dump-0.4b49/restore/symtab.c:318:3: note: Null pointer dereference dump-0.4b49/restore/symtab.c:480:15: warning: Either the condition 'name==NULL' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] dump-0.4b49/restore/symtab.c:478:11: note: Assuming that condition 'name==NULL' is not redundant dump-0.4b49/restore/symtab.c:480:15: note: Null pointer dereference dump-0.4b49/restore/symtab.c:546:11: warning: Either the condition '(fd=fopen(filename,"w"))==NULL' is redundant or there is possible null pointer dereference: fd. [nullPointerRedundantCheck] dump-0.4b49/restore/symtab.c:541:34: note: Assuming that condition '(fd=fopen(filename,"w"))==NULL' is not redundant dump-0.4b49/restore/symtab.c:546:11: note: Null pointer dereference dump-0.4b49/restore/symtab.c:410:16: style: Local variable 'entry' shadows outer variable [shadowVariable] dump-0.4b49/restore/symtab.c:81:23: note: Shadowed declaration dump-0.4b49/restore/symtab.c:410:16: note: Shadow variable dump-0.4b49/rmt/cipher.c:35:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_KEY_LENGTH [valueFlowBailoutIncompleteVar] dump-0.4b49/rmt/cipher.c:121:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/symtab.c:93:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/symtab.c:173:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/symtab.c:472:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/symtab.c:532:22: style: Variable 'tentry' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/symtab.c:639:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] dump-0.4b49/restore/symtab.c:644:25: style: Variable 'lep' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/xattr.c:214:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:420:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:460:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_magic [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:495:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_magic [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:518:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_magic [valueFlowBailoutIncompleteVar] dump-0.4b49/restore/xattr.c:680:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dump-0.4b49/rmt/cipher.c:53:4: error: Resource leak: ctx [resourceLeak] dump-0.4b49/rmt/cipher.c:58:4: error: Resource leak: ctx [resourceLeak] dump-0.4b49/rmt/cipher.c:58:4: error: Resource leak: fp [resourceLeak] dump-0.4b49/rmt/cipher.c:71:4: error: Resource leak: ctx [resourceLeak] dump-0.4b49/rmt/cipher.c:97:3: error: Common realloc mistake: 'out' nulled but not freed upon failure [memleakOnRealloc] dump-0.4b49/rmt/cipher.c:34:28: style: Local variable 'cipher' shadows outer function [shadowFunction] dump-0.4b49/rmt/cipher.c:25:1: note: Shadowed declaration dump-0.4b49/rmt/cipher.c:34:28: note: Shadow variable dump-0.4b49/rmt/cipher.c:38:17: style: Local variable 'buf' shadows outer argument [shadowArgument] dump-0.4b49/rmt/cipher.c:25:14: note: Shadowed declaration dump-0.4b49/rmt/cipher.c:38:17: note: Shadow variable dump-0.4b49/rmt/cipher.c:118:21: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/rmt/rmt.c:143:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dump-0.4b49/rmt/rmt.c:124:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/xattr.c:207:37: warning: Either the condition '!buffer' is redundant or there is possible null pointer dereference: ext_acl. [nullPointerRedundantCheck] dump-0.4b49/restore/xattr.c:211:6: note: Assuming that condition '!buffer' is not redundant dump-0.4b49/restore/xattr.c:206:34: note: ext_acl is assigned '(struct posix_acl_xattr_header*)buffer' here. dump-0.4b49/restore/xattr.c:207:37: note: Null pointer dereference dump-0.4b49/restore/xattr.c:518:15: warning: Either the condition 'buffer' is redundant or there is possible null pointer dereference: (struct ext2_xattr_header*)(buffer). [nullPointerRedundantCheck] dump-0.4b49/restore/xattr.c:668:6: note: Assuming that condition 'buffer' is not redundant dump-0.4b49/restore/xattr.c:673:20: note: Calling function 'xattr_walk', 1st argument 'buffer' value is 0 dump-0.4b49/restore/xattr.c:518:15: note: Null pointer dereference dump-0.4b49/restore/xattr.c:237:34: warning: Either the condition '!value' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] dump-0.4b49/restore/xattr.c:241:6: note: Assuming that condition '!value' is not redundant dump-0.4b49/restore/xattr.c:237:34: note: Null pointer addition dump-0.4b49/restore/xattr.c:317:21: style: Parameter 'name' can be declared as pointer to const. However it seems that 'xattr_cb_list' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dump-0.4b49/restore/xattr.c:681:22: note: You might need to cast the function pointer here dump-0.4b49/restore/xattr.c:317:21: note: Parameter 'name' can be declared as pointer to const dump-0.4b49/restore/xattr.c:390:36: style: Parameter 'value' can be declared as pointer to const. However it seems that 'xattr_cb_compare' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dump-0.4b49/restore/xattr.c:673:28: note: You might need to cast the function pointer here dump-0.4b49/restore/xattr.c:390:36: note: Parameter 'value' can be declared as pointer to const dump-0.4b49/restore/xattr.c:452:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/xattr.c:622:23: style: Variable 'end_names' can be declared as pointer to const [constVariablePointer] dump-0.4b49/restore/xattr.c:622:35: style: Variable 'name' can be declared as pointer to const [constVariablePointer] diff: head dump-0.4b49/dump/unctime.c:92:7: error: Uninitialized variable: then [uninitvar] DONE