2025-05-05 04:18 ftp://ftp.de.debian.org/debian/pool/main/i/ipe-tools/ipe-tools_7.2.29.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=lua --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 148 148 elapsed-time: 2.9 3.0 head-timing-info: old-timing-info: head results: ipe-tools-7.2.29.1/ipepython/ipepython.cpp:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:126:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:197:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:282:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:290:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:364:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:409:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:429:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:445:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:453:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:486:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:523:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:538:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPADD [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPSUB [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:548:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPMUL [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:553:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPPOW [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:558:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPUNM [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:771:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TSTRING [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:334:24: error: Invalid lua_pop() argument nr 2. The value is -1 but the valid values are '1:'. [invalidFunctionArg] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:233:17: warning: Either the condition '!ret' is redundant or there is possible null pointer dereference: ret. [nullPointerRedundantCheck] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:229:9: note: Assuming that condition '!ret' is not redundant ipe-tools-7.2.29.1/ipepython/ipepython.cpp:233:17: note: Null pointer dereference ipe-tools-7.2.29.1/ipepython/ipepython.cpp:233:17: error: Null pointer dereference [nullPointer] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:57:21: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:100:41: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:116:24: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:123:20: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:285:26: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:290:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:327:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:364:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:390:6: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:433:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:434:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:445:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:453:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:486:46: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:194:14: style: The scope of the variable 'rc' can be reduced. [variableScope] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:363:15: style: The scope of the variable 's' can be reduced. [variableScope] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:288:46: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'LuaObject_getattr' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:623:3: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:288:46: note: Parameter 'obj' can be declared as pointer to const ipe-tools-7.2.29.1/ipepython/ipepython.cpp:323:40: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'LuaObject_setattr' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:624:3: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:323:40: note: Parameter 'obj' can be declared as pointer to const ipe-tools-7.2.29.1/ipepython/ipepython.cpp:360:42: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'LuaObject_str' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:622:3: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:360:42: note: Parameter 'obj' can be declared as pointer to const ipe-tools-7.2.29.1/ipepython/ipepython.cpp:427:46: style: Parameter 'lhs' can be declared as pointer to const. However it seems that 'LuaObject_richcmp' is a callback function, if 'lhs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:630:3: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:427:46: note: Parameter 'lhs' can be declared as pointer to const ipe-tools-7.2.29.1/ipepython/ipepython.cpp:442:43: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'LuaObject_call' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:621:16: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:442:43: note: Parameter 'obj' can be declared as pointer to const ipe-tools-7.2.29.1/ipepython/ipepython.cpp:483:40: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'LuaObject_length' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ipe-tools-7.2.29.1/ipepython/ipepython.cpp:503:12: note: You might need to cast the function pointer here ipe-tools-7.2.29.1/ipepython/ipepython.cpp:483:40: note: Parameter 'obj' can be declared as pointer to const ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:201:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:211:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:332:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:392:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:651:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:781:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:855:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:878:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:936:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1177:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1219:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1272:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1329:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:124:6: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:129:8: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:138:8: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:147:15: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:148:8: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:117:7: style: The scope of the variable 'j' can be reduced. [variableScope] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:60:23: style: Parameter 'program' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:60:38: style: Parameter 'otherArgs' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:62:9: style: Variable 'typ' can be declared as pointer to const [constVariablePointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:105:58: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:168:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:178:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/pdftoipe/parseargs.cc:198:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] ipe-tools-7.2.29.1/pdftoipe/pdftoipe.cpp:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.h:37:8: style:inconclusive: Either there is a missing 'override', or the member function 'XmlOutputDev::isOk' can be const. [functionConst] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:125:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:356:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strDCT [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:601:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:214:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:342:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:516:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1055:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1076:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:153:15: style: The scope of the variable 'i' can be reduced. [variableScope] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:209:10: style: The scope of the variable 'm' can be reduced. [variableScope] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:209:16: style: The scope of the variable 'j' can be reduced. [variableScope] ipe-tools-7.2.29.1/pdftoipe/xmloutputdev.cpp:347:7: style: The scope of the variable 'c' can be reduced. [variableScope] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:142:3: warning: Member variable 'FigReader::iVersion' is not initialized in the constructor. [uninitMemberVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:142:3: warning: Member variable 'FigReader::iMagnification' is not initialized in the constructor. [uninitMemberVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:142:3: warning: Member variable 'FigReader::iUnitsPerPoint' is not initialized in the constructor. [uninitMemberVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:142:3: warning: Member variable 'FigReader::iUserColors' is not initialized in the constructor. [uninitMemberVar] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:612:19: style:inconclusive: Technically the member function 'FigWriter::X' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:600:10: note: Technically the member function 'FigWriter::X' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:612:19: note: Technically the member function 'FigWriter::X' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:622:25: style:inconclusive: Technically the member function 'FigWriter::rgbColor' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:602:16: note: Technically the member function 'FigWriter::rgbColor' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:622:25: note: Technically the member function 'FigWriter::rgbColor' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:142:3: style: Class 'FigReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:720:3: style: Class 'DepthCompare' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:909:7: style: Exception should be caught by reference. [catchExceptionByValue] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1052:11: style: Exception should be caught by reference. [catchExceptionByValue] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:391:7: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:443:11: warning:inconclusive: Width 1020 given in format string (no. 2) is smaller than destination buffer 'image_filename[1024]'. [invalidScanfFormatWidth_smaller] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1045:43: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1063:39: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1064:40: style: C-style pointer casting [cstyleCast] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1044:49: style: Local variable 'c' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1026:30: note: Shadowed declaration ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:1044:49: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:296:19: warning: %hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed short *'. [invalidScanfArgType_int] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:300:19: warning: %hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed short *'. [invalidScanfArgType_int] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:304:19: warning: %hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed short *'. [invalidScanfArgType_int] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:375:19: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:498:5: error: Memory leak: iobj [memleak] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:361:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assignment 'ns=(char*)malloc((strlen(rd.str)+strlen(linebuf)+2)*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:361:9: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:362:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assignment 'ns=(char*)malloc((strlen(rd.str)+strlen(linebuf)+2)*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:362:9: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:363:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ns [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:360:13: note: Assignment 'ns=(char*)malloc((strlen(rd.str)+strlen(linebuf)+2)*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:363:9: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:487:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:485:10: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:485:10: note: Assignment 'iobj=(struct IpeObject*)malloc(sizeof(struct IpeObject))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:487:3: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:536:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.line [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:535:20: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:535:20: note: Assignment 'iobj->w.line=(struct Line*)malloc(sizeof(struct Line))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:536:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:566:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.arc [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:565:19: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:565:19: note: Assignment 'iobj->w.arc=(struct Arc*)malloc(sizeof(struct Arc))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:566:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:577:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.circle [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:576:22: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:576:22: note: Assignment 'iobj->w.circle=(struct Circle*)malloc(sizeof(struct Circle))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:577:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:590:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.mark [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:589:20: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:589:20: note: Assignment 'iobj->w.mark=(struct Mark*)malloc(sizeof(struct Mark))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:590:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:598:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.bitmap [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:597:22: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:597:22: note: Assignment 'iobj->w.bitmap=(struct Bitmap*)malloc(sizeof(struct Bitmap))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:598:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:611:12: warning: If memory allocation fails, then there is a possible null pointer dereference: iobj->w.text [nullPointerOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:610:20: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:610:20: note: Assignment 'iobj->w.text=(struct Text*)malloc(sizeof(struct Text))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:611:12: note: Null pointer dereference ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assignment 'pix=(char*)malloc(nwords*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:401:8: note: Assuming condition is false ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: note: Null pointer addition ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:370:12: style: Local variable 'i' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:261:7: note: Shadowed declaration ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:370:12: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:549:11: style: Local variable 'i' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:481:7: note: Shadowed declaration ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:549:11: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:808:6: style: Local variable 'i' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:761:7: note: Shadowed declaration ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:808:6: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1035:11: style: Local variable 'i' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:761:7: note: Shadowed declaration ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1035:11: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1043:11: style: Local variable 'i' shadows outer variable [shadowVariable] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:761:7: note: Shadowed declaration ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1043:11: note: Shadow variable ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:259:9: style: Variable 'wk' can be declared as pointer to const [constVariablePointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:397:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:480:9: style: Variable 'wk' can be declared as pointer to const [constVariablePointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:632:35: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:708:40: style: Parameter 'iobj' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:720:32: style: Parameter 'v0' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:720:44: style: Parameter 'v1' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:727:43: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:727:54: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:733:45: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:733:56: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:1065:9: style: Variable 'wk' can be declared as pointer to const [constVariablePointer] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:498:31: error: Memory is allocated but not initialized: iobj [uninitdata] diff: 2.17.0 ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:600:10: style:inconclusive: Technically the member function 'FigWriter::X' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:612:19: note: Technically the member function 'FigWriter::X' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:600:10: note: Technically the member function 'FigWriter::X' can be const. 2.17.0 ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:602:16: style:inconclusive: Technically the member function 'FigWriter::rgbColor' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:622:25: note: Technically the member function 'FigWriter::rgbColor' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:602:16: note: Technically the member function 'FigWriter::rgbColor' can be const. head ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:612:19: style:inconclusive: Technically the member function 'FigWriter::X' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:600:10: note: Technically the member function 'FigWriter::X' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:612:19: note: Technically the member function 'FigWriter::X' can be const. head ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:622:25: style:inconclusive: Technically the member function 'FigWriter::rgbColor' can be const. [functionConst] ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:602:16: note: Technically the member function 'FigWriter::rgbColor' can be const. ipe-tools-7.2.29.1/figtoipe/figtoipe.cpp:622:25: note: Technically the member function 'FigWriter::rgbColor' can be const. 2.17.0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assignment 'pix=(char*)malloc(nwords*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:401:8: note: Assuming condition is false ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: note: Null pointer addition head ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assuming allocation function fails ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:399:16: note: Assignment 'pix=(char*)malloc(nwords*sizeof(char))', assigned value is 0 ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:401:8: note: Assuming condition is false ipe-tools-7.2.29.1/ipe5toxml/ipe5toxml.c:407:14: note: Null pointer addition DONE