cppcheck analysis of sofa-framework_1.0~beta4-4.dsc
- ./applications/sofa/gui/qt/ModifyObject.cpp:217 [error] - Possible null pointer dereference: tabPropertiesLayout
- ./applications/sofa/gui/qt/ModifyObject.cpp:294 [style] - The iterator incrementing is suspicious - it is incremented at line 294 and then at line 225 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./applications/sofa/gui/qt/ModifyObject.cpp:849 [style] - The iterator incrementing is suspicious - it is incremented at line 849 and then at line 840 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./applications/sofa/gui/qt/RealGUI.cpp:1626 [style] - The iterator incrementing is suspicious - it is incremented at line 1626 and then at line 1616 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./extlibs/miniFlowVR/src/librender/mesh_io_mesh.cpp:130 [error] - Resource leak: fp
- ./extlibs/miniFlowVR/src/librender/mesh_io_mesh.cpp:208 [error] - Resource leak: fp
- ./framework/sofa/helper/io/ImageBMP.cpp:69 [error] - Resource leak: file
- ./framework/sofa/helper/io/ImageRAW.cpp:121 [error] - Resource leak: file
- ./framework/sofa/helper/io/MeshTopologyLoader.cpp:589 [error] - Deallocating a deallocated pointer: file
- ./framework/sofa/helper/system/PipeProcess.cpp:244 [error] - Resource leak: filefd
- ./modules/sofa/component/behaviormodel/eulerianfluid/Grid3D.cpp:859 [style] - Redundant assignment of "y0" in switch
- ./modules/sofa/filemanager/sofapml/PMLStiffSpringForceField.cpp:200 [error] - Buffer access out-of-bounds: index
- ./modules/sofa/simulation/common/Simulation.cpp:109 [error] - Possible null pointer dereference: root - otherwise it is redundant to check if root is null at line 110
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:18:42 +0000, based on results by cppcheck 1.46