cppcheck analysis of openscenegraph_2.8.3-7.dsc
- ./OpenSceneGraph/examples/osgphotoalbum/PhotoArchive.cpp:96 [error] - Memory leak: fileIndentifier
- ./OpenSceneGraph/src/osgPlugins/Inventor/ConvertToInventor.cpp:656 [error] - Mismatching allocation and deallocation: tmpArray
- ./OpenSceneGraph/src/osgPlugins/Inventor/ReaderWriterIV.cpp:187 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./OpenSceneGraph/src/osgPlugins/cfg/CameraConfig.cpp:635 [error] - Unusual pointer arithmetic
- ./OpenSceneGraph/src/osgPlugins/cfg/ConfigParser.cpp:1294 [error] - Memory leak: yyptr
- ./OpenSceneGraph/src/osgPlugins/dw/ReaderWriterDW.cpp:535 [error] - Mismatching allocation and deallocation: _dwobj::fc1
- ./OpenSceneGraph/src/osgPlugins/dw/ReaderWriterDW.cpp:536 [error] - Mismatching allocation and deallocation: _dwobj::fc2
- ./OpenSceneGraph/src/osgPlugins/dxf/scene.cpp:121 [error] - Memory leak: ly
- ./OpenSceneGraph/src/osgPlugins/dxf/scene.cpp:169 [error] - Memory leak: ly
- ./OpenSceneGraph/src/osgPlugins/freetype/FreeTypeLibrary.cpp:131 [error] - Memory leak: buffer
- ./OpenSceneGraph/src/osgPlugins/gecko/UBrowser.cpp:103 [error] - Invalid number of character ({) when these macros are defined: '__APPLE__'.
- ./OpenSceneGraph/src/osgPlugins/geo/ReaderWriterGEO.cpp:210 [error] - Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 211
- ./OpenSceneGraph/src/osgPlugins/geo/ReaderWriterGEO.cpp:227 [error] - Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 228
- ./OpenSceneGraph/src/osgPlugins/geo/ReaderWriterGEO.cpp:903 [error] - Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 904
- ./OpenSceneGraph/src/osgPlugins/md2/ReaderWriterMD2.cpp:180 [error] - Memory leak: mapbase
- ./OpenSceneGraph/src/osgPlugins/md2/ReaderWriterMD2.cpp:166 [error] - Resource leak: file_fd
- ./OpenSceneGraph/src/osgPlugins/pic/ReaderWriterPIC.cpp:152 [error] - Mismatching allocation and deallocation: tmpbuf
- ./OpenSceneGraph/src/osgPlugins/pic/ReaderWriterPIC.cpp:153 [error] - Mismatching allocation and deallocation: buffer
- ./OpenSceneGraph/src/osgPlugins/ply/plyfile.cpp:842 [error] - Memory leak: plyfile
- ./OpenSceneGraph/src/osgPlugins/shp/ESRIShapeParser.cpp:29 [error] - Resource leak: fd
- ./OpenSceneGraph/src/osgPlugins/shp/XBaseParser.cpp:96 [error] - Resource leak: fd
- ./OpenSceneGraph/src/osgPlugins/tga/ReaderWriterTGA.cpp:423 [error] - Memory leak: colormap
- ./OpenSceneGraph/src/osgPlugins/txp/ReaderWriterTXP.cpp:95 [error] - Memory leak: archive
- ./OpenSceneGraph/src/osgUtil/Simplifier.cpp:95 [error] - Memory leak: point
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 27 Mar 2011 06:58:21 +0000, based on results by cppcheck 1.46