cppcheck analysis of freecad_0.11.3729.dfsg-2.dsc
- ./src/3rdParty/salomesmesh/src/DriverDAT/DriverDAT_R_SMDS_Mesh.cpp:57 [error] - Resource leak: aFileId
- ./src/3rdParty/salomesmesh/src/DriverDAT/DriverDAT_W_SMDS_Mesh.cpp:43 [error] - Resource leak: aFileId
- ./src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Hypothesis.cpp:214 [error] - Uninitialized variable: val
- ./src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Hypothesis.cpp:220 [error] - Uninitialized variable: is
- ./src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D.cpp:99 [error] - Uninitialized variable: is
- ./src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D.cpp:145 [error] - Uninitialized variable: val
- ./src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cpp:111 [error] - Uninitialized variable: val
- ./src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp:1236 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/3rdParty/salomesmesh/src/SMDS/SMDS_MeshGroup.cpp:86 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:562 [error] - Memory leak: subMesh
- ./src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp:655 [error] - Memory leak: subMesh
- ./src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:4102 [error] - Same iterator is used with both currList and firstList
- ./src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Mesh.cpp:1228 [error] - Memory leak: aNewSub
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Arithmetic1D.cpp:154 [error] - Uninitialized variable: intVal
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Distribution.cpp:146 [error] - Uninitialized variable: f2
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_FixedPoints1D.cpp:155 [error] - Uninitialized variable: intVal
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_FixedPoints1D.cpp:159 [error] - Uninitialized variable: dblVal
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Hexa_3D.cpp:428 [error] - Memory leak: np
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_LengthFromEdges.cpp:108 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_LocalLength.cpp:151 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_MaxElementArea.cpp:117 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_MaxElementVolume.cpp:118 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_MaxLength.cpp:162 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_MaxLength.cpp:175 [error] - Uninitialized variable: pre
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp:535 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp:548 [error] - Uninitialized variable: scale_factor
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp:569 [error] - Uninitialized variable: b
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp:590 [error] - Uninitialized variable: b
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_NumberOfSegments.cpp:637 [error] - Uninitialized variable: intVal
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Propagation.cpp:366 [error] - Memory leak: chainData
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Propagation.cpp:360 [error] - Memory leak: oppData
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cpp:119 [error] - Uninitialized variable: a
- ./src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_StartEndLength.cpp:156 [error] - Uninitialized variable: intVal
- ./src/Base/PyTools.c:470 [error] - Uninitialized variable: res
- ./src/Base/UnitsApi.tab.c:1393 [error] - Memory leak: yyptr
- ./src/Base/swigpyrun_1.3.25.cpp:26 [error] - Invalid number of character ({) when these macros are defined: 'SWIG_LINK_RUNTIME'.
- ./src/Gui/SelectionFilter.tab.c:1211 [error] - Memory leak: yyptr
- ./src/Mod/Mesh/App/Core/Degeneration.cpp:307 [error] - Same iterator is used with both rFaces and aFaces
- ./src/Mod/Mesh/App/Core/Degeneration.cpp:370 [error] - Same iterator is used with both rFaces and aFaceSet
- ./src/Mod/Mesh/App/Core/Triangulation.cpp:353 [error] - Mismatching allocation and deallocation: V
- ./src/Mod/Mesh/App/MeshPyImp.cpp:496 [style] - The iterator incrementing is suspicious - it is incremented at line 496 and then at line 483 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.
- ./src/Mod/Mesh/Gui/ViewProviderDefects.cpp:226 [style] - The iterator incrementing is suspicious - it is incremented at line 226 and then at line 223 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.
- ./src/Mod/Sketcher/App/sketchflat/export.cpp:189 [error] - Resource leak: f
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 22 Apr 2011 06:58:05 +0000, based on results by cppcheck 1.46