cppcheck analysis of koffice_2.3.3-1.dsc
- ./filters/karbon/applixgraphics/applixgraphicimport.cc:394 [error] - Memory leak: x
- ./filters/karbon/applixgraphics/applixgraphicimport.cc:394 [error] - Memory leak: y
- ./filters/karbon/pdf/SvgOutputDev.cpp:539 [error] - Mismatching allocation and deallocation: buffer
- ./filters/karbon/pdf/SvgOutputDev.cpp:488 [error] - Data is allocated but not initialized: buffer
- ./filters/karbon/pdf/SvgOutputDev.cpp:507 [error] - Data is allocated but not initialized: buffer
- ./filters/kspread/excel/import/ExcelImport.cpp:463 [error] - Memory leak: stylesXml
- ./filters/kspread/excel/sidewinder/excel.cpp:2428 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./filters/kspread/excel/sidewinder/excel.cpp:2463 [error] - Common realloc mistake: "continuePositions" nulled but not freed upon failure
- ./filters/kspread/excel/sidewinder/excel.cpp:2468 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./filters/kspread/libkspreadexport/KSpreadLeader.cc:91 [error] - Possible null pointer dereference: document - otherwise it is redundant to check if document is null at line 92
- ./filters/kword/latex/import/parser/main.cc:45 [error] - Memory leak: file_name
- ./filters/kword/msword-odf/wv2/src/parser9x.cpp:522 [error] - Memory leak: string
- ./filters/kword/mswrite/mswriteexport.cc:149 [error] - Memory leak: zero
- ./filters/kword/mswrite/structures.cpp:720 [error] - Memory leak: colorIndex
- ./filters/kword/mswrite/structures.cpp:946 [error] - Memory leak: colorIndex
- ./filters/kword/mswrite/structures_private.cpp:1089 [error] - Possible null pointer dereference: m_formatParaProperty - otherwise it is redundant to check if m_formatParaProperty is null at line 1090
- ./filters/kword/mswrite/structures_private.cpp:1095 [error] - Possible null pointer dereference: m_formatCharProperty - otherwise it is redundant to check if m_formatCharProperty is null at line 1096
- ./filters/kword/wordperfect/import/wpimport.cc:479 [error] - Memory leak: buf
- ./filters/libkowmf/kwmf.cc:565 [error] - Memory leak: handle
- ./filters/libmso/shapes.cpp:1481 [error] - Possible null pointer dereference: drawingGroup
- ./kexi/formeditor/factories/stdwidgetfactory.cpp:884 [error] - Invalid number of character (() when these macros are defined: ''.
- ./kexi/formeditor/factories/stdwidgetfactory.cpp:884 [error] - Invalid number of character (() when these macros are defined: 'KEXI_NO_FORM_SPRING_ELEMENT'.
- ./kexi/formeditor/factories/stdwidgetfactory.cpp:884 [error] - Invalid number of character (() when these macros are defined: 'KEXI_NO_UNFINISHED'.
- ./kexi/kexidb/connection.cpp:3193 [error] - Memory leak: t_objects
- ./kexi/kexidb/connection.cpp:3193 [error] - Memory leak: t_objectdata
- ./kexi/kexidb/connection.cpp:3193 [error] - Memory leak: t_fields
- ./kexi/kexidb/connection.cpp:3193 [error] - Memory leak: t_db
- ./kexi/kexidb/drivers/oracle/oracleconnection.cpp:416 [error] - Uninitialized variable: res
- ./kexi/kexidb/drivers/oracle/oracleconnection_p.cpp:119 [error] - Memory leak: port
- ./kexi/kexidb/drivers/xbase/xbaseexport.cpp:80 [style] - Redundant assignment of "xBaseType" in switch
- ./kexi/main/printing/kexisimpleprintingpagesetup.cpp:315 [error] - Uninitialized variable: objectId
- ./kexi/migration/mdb/src/mdbtools/libmdb/write.c:778 [error] - Memory leak: new_pg
- ./kexi/plugins/importexport/csv/kexicsvexport.cpp:218 [error] - Memory leak: isDateTime
- ./kexi/plugins/importexport/csv/kexicsvexport.cpp:218 [error] - Memory leak: isTime
- ./kexi/plugins/importexport/csv/kexicsvexport.cpp:218 [error] - Memory leak: isBLOB
- ./kexi/plugins/importexport/csv/kexicsvexport.cpp:218 [error] - Memory leak: visibleFieldIndex
- ./kplato/kptview.cpp:1432 [error] - Memory leak: act
- ./kplato/libs/ui/kptdependencyeditor.cpp:1746 [error] - Memory leak: i
- ./krita/benchmarks/kis_datamanager_benchmark.cpp:195 [error] - Memory leak: src
- ./krita/benchmarks/kis_datamanager_benchmark.cpp:195 [error] - Memory leak: dst
- ./krita/image/tiles3/tests/kis_compression_tests.cpp:227 [error] - Memory leak: output
- ./krita/image/tiles3/tests/kis_lockless_stack_test.cpp:40 [error] - Uninitialized variable: value
- ./krita/plugins/extensions/dropshadow/kis_dropshadow.cc:521 [error] - Memory leak: sum
- ./krita/plugins/extensions/painterlyframework/illuminants/xml2matlab.cpp:203 [error] - Memory leak: m_red
- ./krita/plugins/extensions/painterlyframework/illuminants/xml2matlab.cpp:217 [error] - Memory leak: m_green
- ./krita/plugins/extensions/painterlyframework/illuminants/xml2matlab.cpp:229 [error] - Memory leak: m_blue
- ./krita/plugins/filters/colorsfilters/colorsfilters.cpp:235 [error] - Mismatching allocation and deallocation: transfer
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:431 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:432 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:433 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:434 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:435 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:436 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:438 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:439 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:440 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:441 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:450 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:451 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:452 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:453 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:454 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:455 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:456 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/filters/phongbumpmap/phongbumpmap.cpp:457 [error] - Possible null pointer dereference: config - otherwise it is redundant to check if config is null at line 459
- ./krita/plugins/formats/psd/psd_layer_record.cpp:213 [error] - Memory leak: info
- ./krita/plugins/formats/psd/psd_layer_record.cpp:458 [error] - Memory leak: infoBlock
- ./krita/plugins/formats/psd/psd_utils.cpp:60 [error] - Memory leak: pad
- ./krita/plugins/formats/tiff/kis_tiff_converter.cc:411 [error] - Memory leak: lineSizeCoeffs
- ./krita/plugins/tools/defaulttools/kis_tool_move.cc:206 [error] - Possible null pointer dereference: view
- ./krita/ui/kra/kis_kra_load_visitor.cpp:283 [error] - Mismatching allocation and deallocation: defPixel
- ./krita/ui/tests/kis_node_model_test.cpp:60 [error] - instance of "ModelTest" object destroyed immediately
- ./krita/ui/tests/kis_node_model_test.cpp:108 [error] - instance of "ModelTest" object destroyed immediately
- ./krita/ui/tests/kis_node_model_test.cpp:186 [error] - instance of "ModelTest" object destroyed immediately
- ./kspread/StyleManager.cpp:82 [error] - Possible null pointer dereference: map - otherwise it is redundant to check if map is null at line 84
- ./kword/part/KWStatusBar.cpp:172 [error] - Possible null pointer dereference: canvasController - otherwise it is redundant to check if canvasController is null at line 173
- ./kword/part/KWView.cpp:113 [error] - Possible null pointer dereference: shape
- ./libs/kotext/changetracker/KoDeleteChangeMarker.cpp:165 [error] - Possible null pointer dereference: sharedData
- ./libs/main/rdf/KoSemanticStylesheetsEditor.cpp:291 [error] - Possible null pointer dereference: ssitem - otherwise it is redundant to check if ssitem is null at line 292
- ./libs/pigment/KoColorConversionSystem.cpp:70 [error] - Memory leak: v2
- ./libs/pigment/KoColorConversionSystem.cpp:112 [error] - Memory leak: engineNode
- ./libs/pigment/KoColorConversionSystem.cpp:197 [error] - Memory leak: vFromAlpha
- ./libs/pigment/KoColorConversionSystem.cpp:197 [error] - Memory leak: vToAlpha
- ./plugins/chartshape/ChartShapeFactory.cpp:149 [error] - Possible null pointer dereference: xAxis - otherwise it is redundant to check if xAxis is null at line 150
- ./plugins/chartshape/ChartShapeFactory.cpp:158 [error] - Possible null pointer dereference: yAxis - otherwise it is redundant to check if yAxis is null at line 159
- ./plugins/dockers/shapeselector/RightClickStrategy.cpp:44 [error] - instance of "SelectStrategy" object destroyed immediately
- ./plugins/textshape/ChangeTrackingTool.cpp:264 [error] - Possible null pointer dereference: data - otherwise it is redundant to check if data is null at line 273
- ./plugins/textshape/Layout.cpp:534 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 07 Apr 2011 06:59:18 +0000, based on results by cppcheck 1.46