2025-07-02 12:23 ftp://ftp.de.debian.org/debian/pool/main/d/deutex/deutex_5.2.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: f4eb733 (2025-07-01 13:53:18 +0200) count: 239 236 elapsed-time: 5.6 5.9 head-timing-info: old-timing-info: head results: deutex-5.2.3/src/color.c:262:59: style:inconclusive: Function 'COLindex' argument 4 names different: declaration 'idx' definition 'index'. [funcArgNamesDifferent] deutex-5.2.3/src/color.h:24:59: note: Function 'COLindex' argument 4 names different: declaration 'idx' definition 'index'. deutex-5.2.3/src/color.c:262:59: note: Function 'COLindex' argument 4 names different: declaration 'idx' definition 'index'. deutex-5.2.3/src/color.c:56:28: style: Variable 'pixel' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/color.c:153:62: style: Parameter 'Colors' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/color.c:308:23: style: Variable 'pmax' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/compose.c:221:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/compose.c:750:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/compose.c:346:16: style: The if condition is the same as the previous if condition [duplicateCondition] deutex-5.2.3/src/compose.c:294:16: note: First condition deutex-5.2.3/src/compose.c:346:16: note: Second condition deutex-5.2.3/src/compose.c:398:16: style: The if condition is the same as the previous if condition [duplicateCondition] deutex-5.2.3/src/compose.c:346:16: note: First condition deutex-5.2.3/src/compose.c:398:16: note: Second condition deutex-5.2.3/src/compose.c:413:16: style: The if condition is the same as the previous if condition [duplicateCondition] deutex-5.2.3/src/compose.c:398:16: note: First condition deutex-5.2.3/src/compose.c:413:16: note: Second condition deutex-5.2.3/src/compose.c:222:58: warning: If resource allocation fails, then there is a possible null pointer dereference: playpal_fp [nullPointerOutOfResources] deutex-5.2.3/src/compose.c:218:39: note: Assuming allocation function fails deutex-5.2.3/src/compose.c:218:39: note: Assignment 'playpal_fp=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/compose.c:222:58: note: Null pointer dereference deutex-5.2.3/src/compose.c:226:28: warning: If resource allocation fails, then there is a possible null pointer dereference: playpal_fp [nullPointerOutOfResources] deutex-5.2.3/src/compose.c:218:39: note: Assuming allocation function fails deutex-5.2.3/src/compose.c:218:39: note: Assignment 'playpal_fp=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/compose.c:226:28: note: Null pointer dereference deutex-5.2.3/src/compose.c:752:33: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/compose.c:748:16: note: Assuming allocation function fails deutex-5.2.3/src/compose.c:748:16: note: Assignment 'out=fopen(file,"a")', assigned value is 0 deutex-5.2.3/src/compose.c:752:33: note: Null pointer dereference deutex-5.2.3/src/compose.c:141:19: style: Variable 'FoundOne' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/color.h:14:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lumpname [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/deutex.c:913:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/deutex.c:1121:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/deutex.c:150:5: warning:inconclusive: The buffer 'MainWAD' may not be null-terminated after the call to strncpy(). [terminateStrncpy] deutex-5.2.3/src/deutex.c:1296:34: style: The if condition is the same as the previous if condition [duplicateCondition] deutex-5.2.3/src/deutex.c:1294:34: note: First condition deutex-5.2.3/src/deutex.c:1296:34: note: Second condition deutex-5.2.3/src/deutex.c:876:13: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:876:13: note: Null pointer dereference deutex-5.2.3/src/deutex.c:883:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:883:31: note: Null pointer addition deutex-5.2.3/src/deutex.c:920:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:885:15: note: Assuming condition is false deutex-5.2.3/src/deutex.c:920:31: note: Null pointer addition deutex-5.2.3/src/deutex.c:1242:21: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] deutex-5.2.3/src/deutex.c:1240:25: note: tmp is assigned deutex-5.2.3/src/deutex.c:1242:21: note: tmp is overwritten deutex-5.2.3/src/deutex.c:109:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:110:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:111:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:112:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:118:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:119:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:120:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:121:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:127:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:128:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:129:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:135:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:136:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:142:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:143:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] deutex-5.2.3/src/deutex.c:941:17: style: Local variable 'c' shadows outer variable [shadowVariable] deutex-5.2.3/src/deutex.c:932:13: note: Shadowed declaration deutex-5.2.3/src/deutex.c:941:17: note: Shadow variable deutex-5.2.3/src/deutex.c:942:26: style: Local variable 'v' shadows outer variable [shadowVariable] deutex-5.2.3/src/deutex.c:933:22: note: Shadowed declaration deutex-5.2.3/src/deutex.c:942:26: note: Shadow variable deutex-5.2.3/src/deutex.c:956:17: style: Local variable 'c' shadows outer variable [shadowVariable] deutex-5.2.3/src/deutex.c:932:13: note: Shadowed declaration deutex-5.2.3/src/deutex.c:956:17: note: Shadow variable deutex-5.2.3/src/deutex.c:957:26: style: Local variable 'v' shadows outer variable [shadowVariable] deutex-5.2.3/src/deutex.c:933:22: note: Shadowed declaration deutex-5.2.3/src/deutex.c:957:26: note: Shadow variable deutex-5.2.3/src/deutex.c:864:26: style: Parameter 'argv_non_const' can be declared as const array [constParameter] deutex-5.2.3/src/color.h:24:17: style: Variable 'COLindex' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/deutex.c:1118:19: style: Variable 'width2' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/extract.c:285:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/extract.c:1027:9: style: Condition '!Found' is always true [knownConditionTrueFalse] deutex-5.2.3/src/extract.c:997:18: note: Assignment 'Found=false', assigned value is 0 deutex-5.2.3/src/extract.c:1027:9: note: Condition '!Found' is always true deutex-5.2.3/src/extract.c:43:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/extract.c:45:11: style: Variable 'extens' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/extract.c:89:44: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/extract.c:149:11: style: Variable 'extens' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/extract.c:996:11: style: Variable 'extens' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/extract.c:216:55: error: Uninitialized variable: lumpsz [legacyUninitvar] deutex-5.2.3/src/extract.c:478:24: style: Variable 'ostart' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/extract.c:479:23: style: Variable 'osize' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/ident.c:786:20: style: Condition 'in_level' is always true [knownConditionTrueFalse] deutex-5.2.3/src/ident.c:829:41: style:inconclusive: Function 'IDENTentriesIWAD' argument 1 names different: declaration 'wad' definition 'info'. [funcArgNamesDifferent] deutex-5.2.3/src/ident.h:15:42: note: Function 'IDENTentriesIWAD' argument 1 names different: declaration 'wad' definition 'info'. deutex-5.2.3/src/ident.c:829:41: note: Function 'IDENTentriesIWAD' argument 1 names different: declaration 'wad' definition 'info'. deutex-5.2.3/src/ident.c:881:42: style:inconclusive: Function 'IDENTentriesPWAD' argument 1 names different: declaration 'wad' definition 'info'. [funcArgNamesDifferent] deutex-5.2.3/src/ident.h:17:41: note: Function 'IDENTentriesPWAD' argument 1 names different: declaration 'wad' definition 'info'. deutex-5.2.3/src/ident.c:881:42: note: Function 'IDENTentriesPWAD' argument 1 names different: declaration 'wad' definition 'info'. deutex-5.2.3/src/ident.c:777:25: style: Local variable 'n' shadows outer variable [shadowVariable] deutex-5.2.3/src/ident.c:751:13: note: Shadowed declaration deutex-5.2.3/src/ident.c:777:25: note: Shadow variable deutex-5.2.3/src/ident.c:314:55: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/ident.c:41:10: style: struct member 'Anonymous0::mandatory' is never used. [unusedStructMember] deutex-5.2.3/src/ident.c:45:17: style: struct member 'Anonymous0::flags' is never used. [unusedStructMember] deutex-5.2.3/src/listdir.c:563:18: style:inconclusive: Boolean expression 'cs>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] deutex-5.2.3/src/listdir.c:565:18: style:inconclusive: Boolean expression 'cs<1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] deutex-5.2.3/src/listdir.c:597:18: style:inconclusive: Boolean expression 'cs>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] deutex-5.2.3/src/listdir.c:599:18: style:inconclusive: Boolean expression 'cs<1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] deutex-5.2.3/src/listdir.c:659:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/listdir.c:658:16: note: Assuming allocation function fails deutex-5.2.3/src/listdir.c:658:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/listdir.c:659:13: note: Null pointer dereference deutex-5.2.3/src/listdir.c:194:17: style: Variable 'typ' is reassigned a value before the old one has been used. [redundantAssignment] deutex-5.2.3/src/listdir.c:182:17: note: typ is assigned deutex-5.2.3/src/listdir.c:194:17: note: typ is overwritten deutex-5.2.3/src/listdir.c:245:20: style: Variable 'dir1' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/listdir.c:246:20: style: Variable 'dir2' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/listdir.c:327:25: style: Parameter 'tex' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/listdir.c:377:20: style: Variable 'pdir' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/lists.c:395:50: style:inconclusive: Function 'LISmergeDir' argument 2 names different: declaration 'OnlySF' definition 'Append'. [funcArgNamesDifferent] deutex-5.2.3/src/lists.h:13:50: note: Function 'LISmergeDir' argument 2 names different: declaration 'OnlySF' definition 'Append'. deutex-5.2.3/src/lists.c:395:50: note: Function 'LISmergeDir' argument 2 names different: declaration 'OnlySF' definition 'Append'. deutex-5.2.3/src/lists.c:61:35: style: Parameter 'ids' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/lists.c:119:35: style: Parameter 'pv' can be declared as const array [constParameter] deutex-5.2.3/src/lists.c:143:34: style: Parameter 'root' can be declared as const array [constParameter] deutex-5.2.3/src/lists.c:202:42: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/lists.c:223:52: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/lists.c:321:20: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/lzw.c:233:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/merge.c:194:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/merge.c:320:60: style:inconclusive: Function 'ADDappendSpriteFloor' argument 2 names different: declaration 'wadin' definition 'wadres'. [funcArgNamesDifferent] deutex-5.2.3/src/merge.h:18:60: note: Function 'ADDappendSpriteFloor' argument 2 names different: declaration 'wadin' definition 'wadres'. deutex-5.2.3/src/merge.c:320:60: note: Function 'ADDappendSpriteFloor' argument 2 names different: declaration 'wadin' definition 'wadres'. deutex-5.2.3/src/merge.c:505:25: style:inconclusive: Function 'ADDallSpriteFloor' argument 3 names different: declaration 'wadin' definition 'wadres'. [funcArgNamesDifferent] deutex-5.2.3/src/merge.h:16:36: note: Function 'ADDallSpriteFloor' argument 3 names different: declaration 'wadin' definition 'wadres'. deutex-5.2.3/src/merge.c:505:25: note: Function 'ADDallSpriteFloor' argument 3 names different: declaration 'wadin' definition 'wadres'. deutex-5.2.3/src/merge.c:128:18: style: Variable 'size' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/merge.c:128:29: style: Variable 'wsize' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/mkwad.c:91:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:161:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:196:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:284:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:301:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:494:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:519:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:534:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:682:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:794:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/mkwad.c:500:44: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/mkwad.c:491:15: note: Assuming allocation function fails deutex-5.2.3/src/mkwad.c:491:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/mkwad.c:500:44: note: Null pointer dereference deutex-5.2.3/src/mkwad.c:685:51: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/mkwad.c:680:15: note: Assuming allocation function fails deutex-5.2.3/src/mkwad.c:680:15: note: Assignment 'fd=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/mkwad.c:685:51: note: Null pointer dereference deutex-5.2.3/src/mkwad.c:691:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/mkwad.c:680:15: note: Assuming allocation function fails deutex-5.2.3/src/mkwad.c:680:15: note: Assignment 'fd=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/mkwad.c:686:16: note: Assuming condition is false deutex-5.2.3/src/mkwad.c:691:12: note: Null pointer dereference deutex-5.2.3/src/mkwad.c:210:26: style:inconclusive: Function 'WADRdirAddEntry' argument 4 names different: declaration 'name' definition 'entry'. [funcArgNamesDifferent] deutex-5.2.3/src/mkwad.h:39:26: note: Function 'WADRdirAddEntry' argument 4 names different: declaration 'name' definition 'entry'. deutex-5.2.3/src/mkwad.c:210:26: note: Function 'WADRdirAddEntry' argument 4 names different: declaration 'name' definition 'entry'. deutex-5.2.3/src/mkwad.c:422:51: style:inconclusive: Function 'WADRreadEntry' argument 2 names different: declaration 'N' definition 'n'. [funcArgNamesDifferent] deutex-5.2.3/src/mkwad.h:73:51: note: Function 'WADRreadEntry' argument 2 names different: declaration 'N' definition 'n'. deutex-5.2.3/src/mkwad.c:422:51: note: Function 'WADRreadEntry' argument 2 names different: declaration 'N' definition 'n'. deutex-5.2.3/src/mkwad.c:479:50: style:inconclusive: Function 'WADRsaveEntry' argument 2 names different: declaration 'N' definition 'n'. [funcArgNamesDifferent] deutex-5.2.3/src/mkwad.h:75:50: note: Function 'WADRsaveEntry' argument 2 names different: declaration 'N' definition 'n'. deutex-5.2.3/src/mkwad.c:479:50: note: Function 'WADRsaveEntry' argument 2 names different: declaration 'N' definition 'n'. deutex-5.2.3/src/mkwad.c:708:37: style:inconclusive: Function 'WADRwriteWADlevelParts' argument 3 names different: declaration 'n' definition 'N'. [funcArgNamesDifferent] deutex-5.2.3/src/mkwad.h:63:37: note: Function 'WADRwriteWADlevelParts' argument 3 names different: declaration 'n' definition 'N'. deutex-5.2.3/src/mkwad.c:708:37: note: Function 'WADRwriteWADlevelParts' argument 3 names different: declaration 'n' definition 'N'. deutex-5.2.3/src/mkwad.c:554:59: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/mkwad.c:622:60: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/mkwad.c:611:23: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/mkwad.c:635:23: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/mkwad.c:655:23: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/mkwad.c:675:22: style: Variable 'sz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/picture.c:877:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1004:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1075:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1104:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1339:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1450:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1465:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1575:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1589:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/picture.c:1011:5: warning:inconclusive: The buffer 'sig' may not be null-terminated after the call to strncpy(). [terminateStrncpy] deutex-5.2.3/src/picture.c:1592:5: warning:inconclusive: The buffer 'GifIdent' may not be null-terminated after the call to strncpy(). [terminateStrncpy] deutex-5.2.3/src/picture.c:1109:14: error: Dereferencing 'fd' after it is deallocated / released [deallocuse] deutex-5.2.3/src/picture.c:1349:9: error: Resource handle 'fd' freed twice. [doubleFree] deutex-5.2.3/src/picture.c:1345:9: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:1349:9: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:1354:25: error: Dereferencing 'fd' after it is deallocated / released [deallocuse] deutex-5.2.3/src/picture.c:1355:25: error: Dereferencing 'fd' after it is deallocated / released [deallocuse] deutex-5.2.3/src/picture.c:1356:25: error: Dereferencing 'fd' after it is deallocated / released [deallocuse] deutex-5.2.3/src/picture.c:1357:9: error: Resource handle 'fd' freed twice. [doubleFree] deutex-5.2.3/src/picture.c:1345:9: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:1357:9: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:1368:61: error: Dereferencing 'fd' after it is deallocated / released [deallocuse] deutex-5.2.3/src/picture.c:1370:13: error: Resource handle 'fd' freed twice. [doubleFree] deutex-5.2.3/src/picture.c:1345:9: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:1370:13: note: Resource handle 'fd' freed twice. deutex-5.2.3/src/picture.c:878:26: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:875:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:875:15: note: Assignment 'fd=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/picture.c:878:26: note: Null pointer dereference deutex-5.2.3/src/picture.c:1012:27: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1001:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1001:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1012:27: note: Null pointer dereference deutex-5.2.3/src/picture.c:1077:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1073:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1073:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1077:13: note: Null pointer dereference deutex-5.2.3/src/picture.c:1083:54: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1073:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1073:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1083:54: note: Null pointer dereference deutex-5.2.3/src/picture.c:1085:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1073:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1073:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1085:16: note: Null pointer dereference deutex-5.2.3/src/picture.c:1105:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1102:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1102:15: note: Assignment 'fd=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/picture.c:1105:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1344:31: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1337:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1337:15: note: Assignment 'fd=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/picture.c:1344:31: note: Null pointer dereference deutex-5.2.3/src/picture.c:1593:28: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1593:28: note: Null pointer dereference deutex-5.2.3/src/picture.c:1596:48: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1596:48: note: Null pointer dereference deutex-5.2.3/src/picture.c:1598:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1598:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1599:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1599:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1600:48: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1600:48: note: Null pointer dereference deutex-5.2.3/src/picture.c:1601:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1601:16: note: Null pointer dereference deutex-5.2.3/src/picture.c:1607:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1607:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1609:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1609:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1618:14: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1618:14: note: Null pointer dereference deutex-5.2.3/src/picture.c:1619:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1619:16: note: Null pointer dereference deutex-5.2.3/src/picture.c:1620:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1620:16: note: Null pointer dereference deutex-5.2.3/src/picture.c:48:44: style:inconclusive: Function 'parse_pic_header' argument 2 names different: declaration 'size' definition 'bufsz'. [funcArgNamesDifferent] deutex-5.2.3/src/picture.h:40:44: note: Function 'parse_pic_header' argument 2 names different: declaration 'size' definition 'bufsz'. deutex-5.2.3/src/picture.c:48:44: note: Function 'parse_pic_header' argument 2 names different: declaration 'size' definition 'bufsz'. deutex-5.2.3/src/picture.c:769:38: style:inconclusive: Function 'snea_to_raw' argument 5 names different: declaration 'snea' definition 'sneabuf'. [funcArgNamesDifferent] deutex-5.2.3/src/picture.c:119:38: note: Function 'snea_to_raw' argument 5 names different: declaration 'snea' definition 'sneabuf'. deutex-5.2.3/src/picture.c:769:38: note: Function 'snea_to_raw' argument 5 names different: declaration 'snea' definition 'sneabuf'. deutex-5.2.3/src/picture.c:407:47: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:780:20: style: Variable 'end_of_raw' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/picture.c:854:63: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:861:22: style: Variable 'pixs' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/picture.c:862:14: style: Variable 'bmpidxs' can be declared as pointer to const [constVariablePointer] deutex-5.2.3/src/picture.c:987:28: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:987:40: style: Parameter 'raw' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1068:28: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1069:36: style: Parameter 'doompal' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1089:63: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1326:61: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1581:28: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1582:36: style: Parameter 'doompal' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/picture.c:1280:13: style: struct member 'Anonymous1::Width' is never used. [unusedStructMember] deutex-5.2.3/src/picture.c:1281:13: style: struct member 'Anonymous1::Height' is never used. [unusedStructMember] deutex-5.2.3/src/picture.c:293:13: style: Variable 'altXinsr' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/picture.c:293:27: style: Variable 'altYinsr' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/picture.c:413:33: style: Variable 'number_of_pix_index' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/picture.c:414:29: style: Variable 'first_pix_index' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:57:9: error: Resource leak: fd [resourceLeak] deutex-5.2.3/src/png_tools.c:57:9: error: Memory leak: buffer [memleak] deutex-5.2.3/src/png_tools.c:53:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] deutex-5.2.3/src/png_tools.c:52:20: note: Assuming allocation function fails deutex-5.2.3/src/png_tools.c:52:20: note: Assignment 'buffer=malloc(sizeof(unsigned char)*(*sz))', assigned value is 0 deutex-5.2.3/src/png_tools.c:53:20: note: Null pointer dereference deutex-5.2.3/src/png_tools.c:150:52: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/png_tools.c:146:15: note: Assuming allocation function fails deutex-5.2.3/src/png_tools.c:146:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/png_tools.c:150:52: note: Null pointer dereference deutex-5.2.3/src/png_tools.c:151:42: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] deutex-5.2.3/src/png_tools.c:146:15: note: Assuming allocation function fails deutex-5.2.3/src/png_tools.c:146:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/png_tools.c:151:42: note: Null pointer dereference deutex-5.2.3/src/png_tools.c:18:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/png_tools.c:39:39: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/png_tools.c:63:37: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/png_tools.c:99:18: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:99:10: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:123:18: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:124:20: style: Variable 'grabsz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:123:10: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/png_tools.c:124:13: style: Variable 'grabsz' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/sound.c:51:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/sound.c:88:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/sound.c:297:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/sound.c:313:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/sound.c:59:48: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:49:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:49:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/sound.c:59:48: note: Null pointer dereference deutex-5.2.3/src/sound.c:68:47: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:49:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:49:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/sound.c:68:47: note: Null pointer dereference deutex-5.2.3/src/sound.c:71:48: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:49:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:49:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/sound.c:71:48: note: Null pointer dereference deutex-5.2.3/src/sound.c:74:56: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:49:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:49:15: note: Assignment 'fp=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/sound.c:74:56: note: Null pointer dereference deutex-5.2.3/src/sound.c:90:51: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:86:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:86:15: note: Assignment 'fp=fopen(file,"rb")', assigned value is 0 deutex-5.2.3/src/sound.c:90:51: note: Null pointer dereference deutex-5.2.3/src/sound.c:299:17: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:295:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:295:15: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/sound.c:299:17: note: Null pointer dereference deutex-5.2.3/src/sound.c:301:16: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] deutex-5.2.3/src/sound.c:295:15: note: Assuming allocation function fails deutex-5.2.3/src/sound.c:295:15: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/sound.c:301:16: note: Null pointer dereference deutex-5.2.3/src/sound.c:158:67: style:inconclusive: Function 'SNDsaveSound' argument 4 names different: declaration 'Sound' definition 'format'. [funcArgNamesDifferent] deutex-5.2.3/src/sound.h:12:67: note: Function 'SNDsaveSound' argument 4 names different: declaration 'Sound' definition 'format'. deutex-5.2.3/src/sound.c:158:67: note: Function 'SNDsaveSound' argument 4 names different: declaration 'Sound' definition 'format'. deutex-5.2.3/src/sound.c:202:64: style:inconclusive: Function 'SNDcopyInWAD' argument 3 names different: declaration 'Sound' definition 'format'. [funcArgNamesDifferent] deutex-5.2.3/src/sound.h:14:64: note: Function 'SNDcopyInWAD' argument 3 names different: declaration 'Sound' definition 'format'. deutex-5.2.3/src/sound.c:202:64: note: Function 'SNDcopyInWAD' argument 3 names different: declaration 'Sound' definition 'format'. deutex-5.2.3/src/sound.c:278:33: style:inconclusive: Function 'SNDsavePCSound' argument 1 names different: declaration 'name' definition 'lumpname'. [funcArgNamesDifferent] deutex-5.2.3/src/sound.h:15:33: note: Function 'SNDsavePCSound' argument 1 names different: declaration 'name' definition 'lumpname'. deutex-5.2.3/src/sound.c:278:33: note: Function 'SNDsavePCSound' argument 1 names different: declaration 'name' definition 'lumpname'. deutex-5.2.3/src/sound.c:44:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/sound.c:44:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/sound.c:80:29: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/sound.c:305:57: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/sscript.c:54:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/sscript.c:62:31: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] deutex-5.2.3/src/text.c:143:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/text.c:152:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/text.c:560:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/text.c:432:55: style:inconclusive: Function 'TXTseekSection' argument 2 names different: declaration 'def' definition 'section'. [funcArgNamesDifferent] deutex-5.2.3/src/text.h:40:54: note: Function 'TXTseekSection' argument 2 names different: declaration 'def' definition 'section'. deutex-5.2.3/src/text.c:432:55: note: Function 'TXTseekSection' argument 2 names different: declaration 'def' definition 'section'. deutex-5.2.3/src/texture.c:697:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/texture.c:699:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/texture.c:695:16: note: Assuming allocation function fails deutex-5.2.3/src/texture.c:695:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/texture.c:699:13: note: Null pointer dereference deutex-5.2.3/src/texture.c:700:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/texture.c:695:16: note: Assuming allocation function fails deutex-5.2.3/src/texture.c:695:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/texture.c:700:13: note: Null pointer dereference deutex-5.2.3/src/texture.c:701:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/texture.c:695:16: note: Assuming allocation function fails deutex-5.2.3/src/texture.c:695:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/texture.c:701:13: note: Null pointer dereference deutex-5.2.3/src/texture.c:718:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/texture.c:695:16: note: Assuming allocation function fails deutex-5.2.3/src/texture.c:695:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/texture.c:718:13: note: Null pointer dereference deutex-5.2.3/src/texture.c:719:16: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] deutex-5.2.3/src/texture.c:695:16: note: Assuming allocation function fails deutex-5.2.3/src/texture.c:695:16: note: Assignment 'out=fopen(file,"w")', assigned value is 0 deutex-5.2.3/src/texture.c:719:16: note: Null pointer dereference deutex-5.2.3/src/texture.c:49:20: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/texture.c:83:31: style: Parameter 'patch' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/texture.c:213:34: style: Parameter 'name' can be declared as const array [constParameter] deutex-5.2.3/src/texture.c:277:21: style: Parameter 'Name' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/texture.c:538:44: style: Parameter 'PszX' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/texture.c:65:40: warning: Expression 'PNMmax' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] deutex-5.2.3/src/texture.c:58:20: note: Assuming that condition 'pnames>0x7FFFL' is not redundant deutex-5.2.3/src/texture.c:64:14: note: Assignment 'PNMmax=(int16_t)(pnames+0x40)', assigned value is -32705 deutex-5.2.3/src/texture.c:65:40: note: Negative value is converted to an unsigned value deutex-5.2.3/src/tools.c:402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:427:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:447:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:462:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:480:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:495:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:511:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:530:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:541:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:556:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:571:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] deutex-5.2.3/src/tools.c:56:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] deutex-5.2.3/src/tools.c:492:22: style: Redundant condition: left!=NULL. 'left==NULL || (left!=NULL && *left>0)' is equivalent to 'left==NULL || *left>0' [redundantCondition] deutex-5.2.3/src/tools.c:476:44: style:inconclusive: Function 'Warning' argument 2 names different: declaration 'str' definition 'fmt'. [funcArgNamesDifferent] deutex-5.2.3/src/tools.h:37:44: note: Function 'Warning' argument 2 names different: declaration 'str' definition 'fmt'. deutex-5.2.3/src/tools.c:476:44: note: Function 'Warning' argument 2 names different: declaration 'str' definition 'fmt'. deutex-5.2.3/src/tools.c:508:25: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] deutex-5.2.3/src/tools.c:258:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] deutex-5.2.3/src/usedidx.c:31:5: warning: Either the condition 'cusage==NULL' is redundant or there is possible null pointer dereference: cusage. [nullPointerRedundantCheck] deutex-5.2.3/src/usedidx.c:29:16: note: Assuming that condition 'cusage==NULL' is not redundant deutex-5.2.3/src/usedidx.c:31:5: note: Null pointer dereference deutex-5.2.3/src/usedidx.c:33:9: warning: Either the condition 'cusage==NULL' is redundant or there is possible null pointer dereference: cusage. [nullPointerRedundantCheck] deutex-5.2.3/src/usedidx.c:29:16: note: Assuming that condition 'cusage==NULL' is not redundant deutex-5.2.3/src/usedidx.c:33:9: note: Null pointer dereference deutex-5.2.3/src/usedidx.c:34:12: warning: Either the condition 'cusage==NULL' is redundant or there is possible null pointer dereference: cusage. [nullPointerRedundantCheck] deutex-5.2.3/src/usedidx.c:29:16: note: Assuming that condition 'cusage==NULL' is not redundant deutex-5.2.3/src/usedidx.c:34:12: note: Null pointer dereference deutex-5.2.3/src/usedidx.c:56:13: warning: Either the condition 'cusage==NULL' is redundant or there is possible null pointer dereference: cusage. [nullPointerRedundantCheck] deutex-5.2.3/src/usedidx.c:53:16: note: Assuming that condition 'cusage==NULL' is not redundant deutex-5.2.3/src/usedidx.c:56:13: note: Null pointer dereference deutex-5.2.3/src/tools.c:317:34: error: Pointer arithmetic overflow; 'name' buffer size is 8 [ctuPointerArith] deutex-5.2.3/src/extract.c:1083:29: note: Calling function SNDsaveSound, 5th argument is uninitialized deutex-5.2.3/src/sound.c:171:17: note: Calling function lump_name, 1st argument is uninitialized deutex-5.2.3/src/tools.c:317:34: note: Using argument name deutex-5.2.3/src/endianio.c:137:22: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [ctunullpointerOutOfResources] deutex-5.2.3/src/picture.c:1587:15: note: Assuming allocation function fails deutex-5.2.3/src/picture.c:1587:15: note: Assignment 'fd=fopen(file,"wb")', assigned value is 0 deutex-5.2.3/src/picture.c:1594:18: note: Calling function fwrite_u16_le, 1st argument is null deutex-5.2.3/src/endianio.c:137:22: note: Dereferencing argument fd that is null deutex-5.2.3/src/text.c:150:33: warning: Null pointer dereference: TXT [ctunullpointer] deutex-5.2.3/src/sound.c:312:13: note: Assuming that condition 'Txt==NULL' is not redundant deutex-5.2.3/src/sound.c:318:26: note: Calling function TXTskipComment, 1st argument is null deutex-5.2.3/src/text.c:176:14: note: Calling function TXTgetc, 1st argument is null deutex-5.2.3/src/text.c:150:33: note: Dereferencing argument TXT that is null diff: 2.17.0 deutex-5.2.3/src/deutex.c:883:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:883:31: note: Null pointer addition head deutex-5.2.3/src/deutex.c:883:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:883:31: note: Null pointer addition 2.17.0 deutex-5.2.3/src/deutex.c:920:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:885:15: note: Assuming condition is false deutex-5.2.3/src/deutex.c:920:31: note: Null pointer addition head deutex-5.2.3/src/deutex.c:920:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] deutex-5.2.3/src/deutex.c:869:31: note: Assuming allocation function fails deutex-5.2.3/src/deutex.c:869:31: note: Assignment 'argv=malloc(argc*sizeof(*argv))', assigned value is 0 deutex-5.2.3/src/deutex.c:885:15: note: Assuming condition is false deutex-5.2.3/src/deutex.c:920:31: note: Null pointer addition head deutex-5.2.3/src/png_tools.c:123:10: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] head deutex-5.2.3/src/png_tools.c:124:13: style: Variable 'grabsz' is assigned a value that is never used. [unreadVariable] head deutex-5.2.3/src/png_tools.c:99:10: style: Variable 'IDATpos' is assigned a value that is never used. [unreadVariable] DONE