2025-07-06 03:11 ftp://ftp.de.debian.org/debian/pool/main/t/tdom/tdom_0.9.5.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 191 188 elapsed-time: 1.9 1.8 head-timing-info: old-timing-info: head results: tdom-0.9.5-src/extensions/example/example.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/example/example.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:110:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:184:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/example/example.c:163:9: warning: If memory allocation fails, then there is a possible null pointer dereference: counter [nullPointerOutOfMemory] tdom-0.9.5-src/extensions/example/example.c:162:44: note: Assuming allocation function fails tdom-0.9.5-src/extensions/example/example.c:162:19: note: Assignment 'counter=(struct simpleCounter*)malloc(sizeof(struct simpleCounter))', assigned value is 0 tdom-0.9.5-src/extensions/example/example.c:163:9: note: Null pointer dereference tdom-0.9.5-src/expat/xmlparse.c:70:0: error: #error XML_GE (for general entities) must be defined, non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default) [preprocessorErrorDirective] tdom-0.9.5-src/expat/xmlparse.c:70:4: error: #error XML_GE (for general entities) must be defined, non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default) [preprocessorErrorDirective] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:213:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:349:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:703:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:726:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:48:17: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'gtinImpl' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:143:22: note: You might need to cast the function pointer here tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:48:17: note: Parameter 'interp' can be declared as pointer to const tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:50:11: style: Parameter 'text' can be declared as pointer to const. However it seems that 'gtinImpl' is a callback function, if 'text' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:143:22: note: You might need to cast the function pointer here tdom-0.9.5-src/extensions/schemadtx/schemadtx.c:50:11: note: Parameter 'text' can be declared as pointer to const tdom-0.9.5-src/generic/datatypes.c:271:5: error: There is an unknown macro here somewhere. Configuration is required. If ADD_CONSTRAINT is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:213:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:349:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:703:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:726:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/dom.c:2886:5: error: There is an unknown macro here somewhere. Configuration is required. If TDomThreaded is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/extensions/tnc/tnc.c:281:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:424:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_CQUANT_REP [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:698:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_CQUANT_REP [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:755:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tcl_HashTable [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:1176:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nameId [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:1865:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable model [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:1962:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_CQUANT_REP [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2118:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2386:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2678:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STRING_KEYS [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2717:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tcl_HashTable [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2848:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:2995:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domhtml.c:110:40: error: syntax error [syntaxError] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:644:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:643:10: note: Assuming that condition 've' is not redundant tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:644:13: note: Null pointer dereference tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:687:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:625:15: note: Assuming allocation function fails tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:625:15: note: Assignment 'fp=fopen(filename,"rt")', assigned value is 0 tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:687:12: note: Null pointer dereference tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:475:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:470:23: note: 'lastBuf' is assigned value 'pi->buffer' here. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:475:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:487:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:616:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:47:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:616:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:701:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:48:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:701:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:792:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:49:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:792:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:670:23: style: Local variable 'sp' shadows outer variable [shadowVariable] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:623:16: note: Shadowed declaration tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:670:23: note: Shadow variable tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:77:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:621:11: style: Variable 'szResult' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:668:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:670:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/schemadtx/win/nmakehlp.c:621:11: style: Variable 'szResult' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:644:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:643:10: note: Assuming that condition 've' is not redundant tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:644:13: note: Null pointer dereference tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:687:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:625:15: note: Assuming allocation function fails tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:625:15: note: Assignment 'fp=fopen(filename,"rt")', assigned value is 0 tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:687:12: note: Null pointer dereference tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:475:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:470:23: note: 'lastBuf' is assigned value 'pi->buffer' here. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:475:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:487:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:616:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:47:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:616:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:701:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:48:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:701:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:792:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:49:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:792:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:670:23: style: Local variable 'sp' shadows outer variable [shadowVariable] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:623:16: note: Shadowed declaration tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:670:23: note: Shadow variable tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:77:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:621:11: style: Variable 'szResult' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:668:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:670:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/win/nmakehlp.c:621:11: style: Variable 'szResult' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/generic/domjson.c:278:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JSON_ARRAY [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domjson.c:528:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domjson.c:622:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domLengthConversion [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domjson.c:644:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domjson.c:782:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domjson.c:824:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tdom_tagNames [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/domxpath.c:338:60: error: There is an unknown macro here somewhere. Configuration is required. If domLengthConversion is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/generic/nodecmd.c:185:24: debug: Function::addArguments found argument 'interp' with varid 0. [varid0] tdom-0.9.5-src/generic/domxslt.c:556:39: error: There is an unknown macro here somewhere. Configuration is required. If TDOM_LS_MODIFIER is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/generic/domalloc.c:209:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:209:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:210:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:210:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:211:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:211:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:212:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:212:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:213:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:213:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:214:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:214:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:222:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:222:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:233:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:233:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:234:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:234:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:235:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:235:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:236:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:236:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:237:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:237:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:238:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:238:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:239:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:239:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:240:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:240:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:241:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:241:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:242:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:242:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:243:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:243:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:244:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:244:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:249:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:249:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:250:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:250:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:251:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:251:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:253:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:253:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:254:9: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:254:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:254:27: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:254:27: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:255:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bin [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:208:36: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:208:15: note: Assignment 'bin=(struct domAllocBin*)malloc(sizeof(struct domAllocBin))', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:255:9: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:276:12: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:276:12: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:277:12: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:277:12: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:278:12: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:278:12: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:334:19: warning: If memory allocation fails, then there is a possible null pointer dereference: block [nullPointerOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:334:19: note: Null pointer dereference tdom-0.9.5-src/generic/domalloc.c:339:7: error: Null pointer dereference: (char*)0 [nullPointer] tdom-0.9.5-src/generic/domalloc.c:234:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:234:42: note: Null pointer addition tdom-0.9.5-src/generic/domalloc.c:246:53: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:246:53: note: Null pointer addition tdom-0.9.5-src/generic/domalloc.c:275:49: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:275:49: note: Null pointer addition tdom-0.9.5-src/generic/nodecmd.c:289:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/nodecmd.c:356:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/nodecmd.c:594:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/nodecmd.c:809:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENT_NODE [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/nodecmd.c:897:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELEMENT_NODE [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/schema.c:4636:21: error: There is an unknown macro here somewhere. Configuration is required. If TDOM_LS_MODIFIER is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/generic/nodecmd.c:335:21: style:inconclusive: Function 'NodeObjCmd' argument 4 names different: declaration 'o' definition 'objv'. [funcArgNamesDifferent] tdom-0.9.5-src/generic/nodecmd.c:88:73: note: Function 'NodeObjCmd' argument 4 names different: declaration 'o' definition 'objv'. tdom-0.9.5-src/generic/nodecmd.c:335:21: note: Function 'NodeObjCmd' argument 4 names different: declaration 'o' definition 'objv'. tdom-0.9.5-src/generic/nodecmd.c:891:32: style: Variable 'n' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/generic/tcldom.c:6008:38: error: syntax error [syntaxError] tdom-0.9.5-src/generic/tclpull.c:379:20: error: There is an unknown macro here somewhere. Configuration is required. If TDOM_LS_MODIFIER is a macro then please configure it. [unknownMacro] tdom-0.9.5-src/generic/tdomStubLib.c:79:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/tdominit.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/xmlsimple.c:112:40: error: syntax error [syntaxError] tdom-0.9.5-src/unix/tclAppInit.c:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/generic/tclexpat.c:111:43: error: syntax error [syntaxError] tdom-0.9.5-src/win/nmakehlp.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/win/nmakehlp.c:213:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/win/nmakehlp.c:349:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/win/nmakehlp.c:477:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/win/nmakehlp.c:703:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/win/nmakehlp.c:726:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:154:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:281:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:368:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:485:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:518:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:547:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:578:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:731:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:836:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:926:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:956:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:986:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1031:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1345:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1454:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1517:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1736:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1765:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok_impl.c:1781:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok.c:412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok.c:1367:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/expat/xmltok.c:1387:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] tdom-0.9.5-src/extensions/tnc/tnc.c:1335:21: style: The if condition is the same as the previous if condition [duplicateCondition] tdom-0.9.5-src/extensions/tnc/tnc.c:1314:21: note: First condition tdom-0.9.5-src/extensions/tnc/tnc.c:1335:21: note: Second condition tdom-0.9.5-src/extensions/tnc/tnc.c:2012:13: style: The if condition is the same as the previous if condition [duplicateCondition] tdom-0.9.5-src/extensions/tnc/tnc.c:2006:13: note: First condition tdom-0.9.5-src/extensions/tnc/tnc.c:2012:13: note: Second condition tdom-0.9.5-src/extensions/tnc/tnc.c:1413:21: style: Condition 'stackelm->alreadymatched' is always true [knownConditionTrueFalse] tdom-0.9.5-src/extensions/tnc/tnc.c:1477:28: style: Condition 'result==0' is always true [knownConditionTrueFalse] tdom-0.9.5-src/extensions/tnc/tnc.c:1471:21: note: Assuming that condition 'result' is not redundant tdom-0.9.5-src/extensions/tnc/tnc.c:1477:28: note: Condition 'result==0' is always true tdom-0.9.5-src/extensions/tnc/tnc.c:1854:17: style: Condition '!result' is always true [knownConditionTrueFalse] tdom-0.9.5-src/extensions/tnc/tnc.c:1851:17: note: Assuming that condition 'result' is not redundant tdom-0.9.5-src/extensions/tnc/tnc.c:1854:17: note: Condition '!result' is always true tdom-0.9.5-src/extensions/tnc/tnc.c:654:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] tdom-0.9.5-src/extensions/tnc/tnc.c:1584:37: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] tdom-0.9.5-src/extensions/tnc/tnc.c:238:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tdom-0.9.5-src/extensions/tnc/tnc.c:748:21: style: Variable 'entityInfo' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/tnc.c:1160:18: style: Variable 'activeModel' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/tnc.c:1535:21: style: Variable 'entityInfo' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/tnc.c:2180:15: style: Variable 'tncdata' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/tnc.c:2224:15: style: Variable 'tncdata' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/extensions/tnc/tnc.c:1450:39: style: Variable 'zeroMatchPossible' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/extensions/tnc/tnc.c:1596:18: style: Variable 'entryPtr' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/extensions/tnc/tnc.c:1620:18: style: Variable 'entryPtr' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/generic/domjson.c:218:23: style: Assignment 'c='\\'' is redundant with condition 'c=='\\''. [duplicateConditionalAssign] tdom-0.9.5-src/generic/domjson.c:217:23: note: Condition 'c=='\\'' tdom-0.9.5-src/generic/domjson.c:218:23: note: Assignment 'c='\\'' is redundant tdom-0.9.5-src/generic/domjson.c:220:23: style: Assignment 'c='"'' is redundant with condition 'c=='"''. [duplicateConditionalAssign] tdom-0.9.5-src/generic/domjson.c:219:30: note: Condition 'c=='"'' tdom-0.9.5-src/generic/domjson.c:220:23: note: Assignment 'c='"'' is redundant tdom-0.9.5-src/generic/domjson.c:222:23: style: Assignment 'c='/'' is redundant with condition 'c=='/''. [duplicateConditionalAssign] tdom-0.9.5-src/generic/domjson.c:221:30: note: Condition 'c=='/'' tdom-0.9.5-src/generic/domjson.c:222:23: note: Assignment 'c='/'' is redundant tdom-0.9.5-src/win/nmakehlp.c:644:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] tdom-0.9.5-src/win/nmakehlp.c:643:10: note: Assuming that condition 've' is not redundant tdom-0.9.5-src/win/nmakehlp.c:644:13: note: Null pointer dereference tdom-0.9.5-src/win/nmakehlp.c:687:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tdom-0.9.5-src/win/nmakehlp.c:625:15: note: Assuming allocation function fails tdom-0.9.5-src/win/nmakehlp.c:625:15: note: Assignment 'fp=fopen(filename,"rt")', assigned value is 0 tdom-0.9.5-src/win/nmakehlp.c:687:12: note: Null pointer dereference tdom-0.9.5-src/win/nmakehlp.c:475:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] tdom-0.9.5-src/win/nmakehlp.c:470:23: note: 'lastBuf' is assigned value 'pi->buffer' here. tdom-0.9.5-src/win/nmakehlp.c:475:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. tdom-0.9.5-src/generic/domjson.c:464:11: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] tdom-0.9.5-src/win/nmakehlp.c:487:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tdom-0.9.5-src/win/nmakehlp.c:616:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] tdom-0.9.5-src/win/nmakehlp.c:47:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/win/nmakehlp.c:616:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tdom-0.9.5-src/win/nmakehlp.c:701:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] tdom-0.9.5-src/win/nmakehlp.c:48:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/win/nmakehlp.c:701:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tdom-0.9.5-src/win/nmakehlp.c:792:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] tdom-0.9.5-src/win/nmakehlp.c:49:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/win/nmakehlp.c:792:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tdom-0.9.5-src/win/nmakehlp.c:670:23: style: Local variable 'sp' shadows outer variable [shadowVariable] tdom-0.9.5-src/win/nmakehlp.c:623:16: note: Shadowed declaration tdom-0.9.5-src/win/nmakehlp.c:670:23: note: Shadow variable tdom-0.9.5-src/win/nmakehlp.c:77:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/win/nmakehlp.c:621:11: style: Variable 'szResult' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/win/nmakehlp.c:668:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/win/nmakehlp.c:670:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] tdom-0.9.5-src/win/nmakehlp.c:621:11: style: Variable 'szResult' is assigned a value that is never used. [unreadVariable] tdom-0.9.5-src/expat/xmltok.c:1257:19: style:inconclusive: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. [funcArgNamesDifferent] tdom-0.9.5-src/expat/xmltok.h:296:32: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. tdom-0.9.5-src/expat/xmltok.c:1257:19: note: Function 'XmlUtf8Encode' argument 1 names different: declaration 'charNumber' definition 'c'. tdom-0.9.5-src/expat/xmltok.c:1293:20: style:inconclusive: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. [funcArgNamesDifferent] tdom-0.9.5-src/expat/xmltok.h:297:33: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. tdom-0.9.5-src/expat/xmltok.c:1293:20: note: Function 'XmlUtf16Encode' argument 1 names different: declaration 'charNumber' definition 'charNum'. tdom-0.9.5-src/expat/xmltok_ns.c:115:34: style:inconclusive: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'encodingNamePtr' definition 'encodingName'. [funcArgNamesDifferent] tdom-0.9.5-src/expat/xmltok.h:289:34: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'encodingNamePtr' definition 'encodingName'. tdom-0.9.5-src/expat/xmltok_ns.c:115:34: note: Function 'XmlParseXmlDecl' argument 8 names different: declaration 'encodingNamePtr' definition 'encodingName'. tdom-0.9.5-src/expat/xmltok_ns.c:115:65: style:inconclusive: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'namedEncodingPtr' definition 'encoding'. [funcArgNamesDifferent] tdom-0.9.5-src/expat/xmltok.h:290:38: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'namedEncodingPtr' definition 'encoding'. tdom-0.9.5-src/expat/xmltok_ns.c:115:65: note: Function 'XmlParseXmlDecl' argument 9 names different: declaration 'namedEncodingPtr' definition 'encoding'. tdom-0.9.5-src/expat/xmltok_ns.c:116:26: style:inconclusive: Function 'XmlParseXmlDecl' argument 10 names different: declaration 'standalonePtr' definition 'standalone'. [funcArgNamesDifferent] tdom-0.9.5-src/expat/xmltok.h:290:61: note: Function 'XmlParseXmlDecl' argument 10 names different: declaration 'standalonePtr' definition 'standalone'. tdom-0.9.5-src/expat/xmltok_ns.c:116:26: note: Function 'XmlParseXmlDecl' argument 10 names different: declaration 'standalonePtr' definition 'standalone'. tdom-0.9.5-src/expat/xmltok.c:1401:40: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] diff: head tdom-0.9.5-src/expat/xmlparse.c:70:4: error: #error XML_GE (for general entities) must be defined, non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default) [preprocessorErrorDirective] head tdom-0.9.5-src/extensions/tnc/tnc.c:1584:37: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head tdom-0.9.5-src/extensions/tnc/tnc.c:654:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.17.0 tdom-0.9.5-src/generic/domalloc.c:234:42: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:234:42: note: Null pointer addition head tdom-0.9.5-src/generic/domalloc.c:234:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:234:42: note: Null pointer addition 2.17.0 tdom-0.9.5-src/generic/domalloc.c:246:53: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:246:53: note: Null pointer addition head tdom-0.9.5-src/generic/domalloc.c:246:53: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:246:53: note: Null pointer addition 2.17.0 tdom-0.9.5-src/generic/domalloc.c:275:49: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:275:49: note: Null pointer addition head tdom-0.9.5-src/generic/domalloc.c:275:49: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tdom-0.9.5-src/generic/domalloc.c:232:40: note: Assuming allocation function fails tdom-0.9.5-src/generic/domalloc.c:232:17: note: Assignment 'block=(struct domAllocBlock*)malloc(blockSize)', assigned value is 0 tdom-0.9.5-src/generic/domalloc.c:275:49: note: Null pointer addition DONE