cppcheck analysis of koffice_2.2.1-4.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/sidewinder/excel.cpp:2840 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./filters/kspread/excel/sidewinder/excel.cpp:2874 [error] - Common realloc mistake: "continuePositions" nulled but not freed upon failure
- ./filters/kspread/excel/sidewinder/excel.cpp:2879 [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:538 [error] - Memory leak: string
- ./filters/kword/mswrite/mswriteexport.cc:161 [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:312 [error] - Memory leak: buf
- ./filters/libkowmf/kwmf.cc:565 [error] - Memory leak: handle
- ./kchart/shape/ChartShapeFactory.cpp:144 [error] - Possible null pointer dereference: xAxis - otherwise it is redundant to check if xAxis is null at line 145
- ./kchart/shape/ChartShapeFactory.cpp:153 [error] - Possible null pointer dereference: yAxis - otherwise it is redundant to check if yAxis is null at line 154
- ./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:3191 [error] - Memory leak: t_objects
- ./kexi/kexidb/connection.cpp:3191 [error] - Memory leak: t_objectdata
- ./kexi/kexidb/connection.cpp:3191 [error] - Memory leak: t_fields
- ./kexi/kexidb/connection.cpp:3191 [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
- ./kformula/flake/FormulaCursor.cpp:60 [error] - instance of "FormulaCursor" object destroyed immediately
- ./kplato/kptview.cpp:1459 [error] - Memory leak: act
- ./kplato/libs/ui/kptdependencyeditor.cpp:1799 [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/tiles/kis_tileddatamanager.cc:492 [error] - Memory leak: tile
- ./krita/image/tiles/kis_tileddatamanager.cc:845 [error] - Memory leak: tile
- ./krita/plugins/extensions/dropshadow/kis_dropshadow.cc:526 [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:236 [error] - Mismatching allocation and deallocation: transfer
- ./krita/plugins/formats/psd/psd_layer_record.cpp:97 [error] - Memory leak: info
- ./krita/plugins/formats/psd/psd_layer_record.cpp:336 [error] - Memory leak: infoBlock
- ./krita/plugins/formats/psd/psd_layer_record.cpp:397 [error] - Memory leak: bytes
- ./krita/plugins/formats/psd/psd_layer_record.cpp:409 [error] - Memory leak: bytes
- ./krita/plugins/formats/psd/psd_layer_record.cpp:424 [error] - Memory leak: bytes
- ./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:196 [error] - Possible null pointer dereference: view
- ./krita/ui/kra/kis_kra_load_visitor.cpp:276 [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
- ./libs/kotext/changetracker/KoDeleteChangeMarker.cpp:163 [error] - Possible null pointer dereference: sharedData
- ./libs/main/rdf/KoSemanticStylesheetsEditor.cpp:288 [error] - Possible null pointer dereference: ssitem - otherwise it is redundant to check if ssitem is null at line 289
- ./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/dockers/shapeselector/RightClickStrategy.cpp:44 [error] - instance of "SelectStrategy" object destroyed immediately
- ./plugins/textshape/ChangeTrackingTool.cpp:275 [error] - Possible null pointer dereference: data - otherwise it is redundant to check if data is null at line 284
- ./plugins/textshape/Layout.cpp:509 [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 Mon, 20 Dec 2010 21:15:09 +0000, based on results by cppcheck 1.46