cppcheck analysis of salome_5.1.3-9.dsc
- ./BLSURFPLUGIN_SRC_5.1.3/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx:1282 [error] - Memory leak: tags
- ./BLSURFPLUGIN_SRC_5.1.3/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx:684 [error] - Uninitialized variable: i
- ./BLSURFPLUGIN_SRC_5.1.3/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx:702 [error] - Uninitialized variable: val
- ./BLSURFPLUGIN_SRC_5.1.3/src/PluginUtils/GeomSelectionTools.cxx:101 [error] - Uninitialized variable: selected
- ./COMPONENT_SRC_5.1.3/src/CalculatorComponent/CalculatorEngine.cxx:709 [error] - Mismatching allocation and deallocation: locvalue
- ./GEOM_SRC_5.1.3/src/GEOMGUI/GEOM_Displayer.cxx:186 [error] - Uninitialized variable: aFilter
- ./GEOM_SRC_5.1.3/src/GEOMGUI/GEOM_Displayer.cxx:692 [error] - Uninitialized variable: app
- ./GEOM_SRC_5.1.3/src/SKETCHER/Sketcher_Profile.cxx:376 [error] - Uninitialized variable: move
- ./GHS3DPLUGIN_SRC_5.1.3/src/GHS3DPlugin_GHS3D.cxx:1167 [error] - Memory leak: tabShape
- ./GHS3DPLUGIN_SRC_5.1.3/src/GHS3DPlugin_Hypothesis.cxx:572 [error] - Uninitialized variable: i
- ./GHS3DPRLPLUGIN_SRC_5.1.3/src/tepal2med/ghs3dprl_mesh_wrap.cxx:717 [error] - Resource leak: Ff
- ./GHS3DPRLPLUGIN_SRC_5.1.3/src/tepal2med/ghs3dprl_mesh_wrap.cxx:734 [error] - Mismatching allocation and deallocation: tlong
- ./GHS3DPRLPLUGIN_SRC_5.1.3/src/tepal2med/ghs3dprl_mesh_wrap.cxx:760 [error] - Mismatching allocation and deallocation: tlong
- ./GHS3DPRLPLUGIN_SRC_5.1.3/src/tepal2med/ghs3dprl_mesh_wrap.cxx:767 [error] - Mismatching allocation and deallocation: tlong
- ./GHS3DPRLPLUGIN_SRC_5.1.3/src/tepal2med/ghs3dprl_mesh_wrap.cxx:748 [error] - Mismatching allocation and deallocation: tfloat
- ./GUI_SRC_5.1.3/src/GLViewer/GLViewer_Tools.cxx:59 [error] - Mismatching allocation and deallocation: GLViewer_LineList::myArray
- ./GUI_SRC_5.1.3/src/GLViewer/GLViewer_ViewPort2d.cxx:284 [error] - Possible null pointer dereference: aContext - otherwise it is redundant to check if aContext is null at line 286
- ./GUI_SRC_5.1.3/src/Qtx/QtxPopupMgr.cxx:398 [error] - Memory leak: expr
- ./GUI_SRC_5.1.3/src/Qtx/QtxPopupMgr.cxx:537 [error] - Memory leak: exp
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:509 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:537 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:564 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:652 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:670 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:687 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:731 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SALOME_Actor.cxx:790 [error] - instance of "TPickLimiter" object destroyed immediately
- ./GUI_SRC_5.1.3/src/SVTK/SVTK_InteractorStyle.cxx:1442 [error] - Possible null pointer dereference: self - otherwise it is redundant to check if self is null at line 1445
- ./GUI_SRC_5.1.3/src/Style/Style_Salome.cxx:2045 [error] - Memory leak: aValue
- ./KERNEL_SRC_5.1.3/src/Container/Component_i.cxx:655 [error] - Uninitialized variable: value
- ./KERNEL_SRC_5.1.3/src/Container/Container_i.cxx:1412 [error] - Resource leak: fp
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:113 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:120 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:124 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:139 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:147 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:155 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:163 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:171 [error] - Mismatching allocation and deallocation: value
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:195 [error] - Memory leak: buffer
- ./KERNEL_SRC_5.1.3/src/Container/Salome_file_i.cxx:529 [error] - Allocation with fopen, if doesn't release it.
- ./KERNEL_SRC_5.1.3/src/HDFPersist/HDFascii.cc:93 [error] - Memory leak: aBuffer
- ./KERNEL_SRC_5.1.3/src/HDFPersist/HDFascii.cc:390 [error] - Resource leak: fp
- ./KERNEL_SRC_5.1.3/src/HDFPersist/HDFconvert.cc:53 [error] - Resource leak: fd
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test4.cxx:141 [error] - Mismatching allocation and deallocation: dim
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test4.cxx:181 [error] - Mismatching allocation and deallocation: dim
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test4.cxx:185 [error] - Mismatching allocation and deallocation: dim
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test4.cxx:150 [error] - Mismatching allocation and deallocation: val1
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test4.cxx:194 [error] - Mismatching allocation and deallocation: val2
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test9.cxx:102 [error] - Resource leak: fd
- ./KERNEL_SRC_5.1.3/src/HDFPersist/test9.cxx:130 [error] - Mismatching allocation and deallocation: buffer
- ./KERNEL_SRC_5.1.3/src/MPIContainer/MPIContainer_i.cxx:136 [error] - Mismatching allocation and deallocation: th
- ./KERNEL_SRC_5.1.3/src/MPIContainer/MPIContainer_i.cxx:233 [error] - Mismatching allocation and deallocation: th
- ./KERNEL_SRC_5.1.3/src/MPIContainer/MPIContainer_i.cxx:424 [error] - Mismatching allocation and deallocation: th
- ./KERNEL_SRC_5.1.3/src/MPIContainer/MPIContainer_i.cxx:548 [error] - Mismatching allocation and deallocation: th
- ./KERNEL_SRC_5.1.3/src/MPIContainer/MPIContainer_i.cxx:587 [error] - Mismatching allocation and deallocation: th
- ./KERNEL_SRC_5.1.3/src/ModuleCatalog/SALOME_ModuleCatalog_Acomponent_impl.cxx:369 [error] - Memory leak: _path
- ./KERNEL_SRC_5.1.3/src/ParallelContainer/SALOME_ParallelComponent_i.cxx:618 [error] - Uninitialized variable: value
- ./KERNEL_SRC_5.1.3/src/ParallelContainer/SALOME_ParallelContainer_i.cxx:1083 [error] - Resource leak: fp
- ./KERNEL_SRC_5.1.3/src/ResourcesManager/ResourcesManager.cxx:556 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:54 [error] - Mismatching allocation and deallocation: c
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:55 [error] - Mismatching allocation and deallocation: buffer
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:75 [error] - Mismatching allocation and deallocation: c
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:76 [error] - Mismatching allocation and deallocation: buffer
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:689 [error] - Mismatching allocation and deallocation: tmpBuffer
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeParameter.cxx:431 [error] - Uninitialized variable: aFather
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSequenceOfInteger.cxx:183 [error] - Mismatching allocation and deallocation: aResult
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSequenceOfReal.cxx:184 [error] - Mismatching allocation and deallocation: aResult
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx:268 [error] - Mismatching allocation and deallocation: aProperty
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx:143 [error] - Mismatching allocation and deallocation: Val
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx:143 [error] - Mismatching allocation and deallocation: Val
- ./KERNEL_SRC_5.1.3/src/SALOMEDSImpl/SALOMEDSImpl_AttributeUserID.cxx:102 [error] - Mismatching allocation and deallocation: aUAttrName
- ./KERNEL_SRC_5.1.3/src/TestContainer/SALOME_TestComponent_i.cxx:88 [error] - Uninitialized variable: value
- ./LIGHT_SRC_5.1.3/src/LIGHTGUI/LIGHTGUI_TextPrs.cxx:59 [error] - Mismatching allocation and deallocation: LIGHTGUI_TextPrs::myString
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Connectivity.cxx:625 [error] - Memory leak: newFaceNb
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_EnsightUtils.cxx:1191 [error] - Memory leak: sup
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Grid.cxx:655 [error] - Memory leak: nodeCNumbers
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Grid.cxx:655 [error] - Memory leak: nodeFNumbers
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Grid.cxx:655 [error] - Memory leak: nodeENumbers
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Grid.cxx:655 [error] - Memory leak: subNumbers
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Grid.cxx:655 [error] - Memory leak: subRevNumbers
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver21.cxx:2296 [error] - Memory leak: MEDArrayFamily
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver21.cxx:2381 [error] - Memory leak: familyArray
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver21.cxx:2466 [error] - Memory leak: familyArray
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx:3204 [error] - Memory leak: MEDArrayFamily
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx:3298 [error] - Memory leak: familyArray
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_MedMeshDriver22.cxx:3398 [error] - Memory leak: familyArray
- ./MED_SRC_5.1.3/src/MEDMEM/MEDMEM_Support.cxx:459 [error] - Memory leak: index
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_grid.c:176 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_grid.c:201 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_grid.c:311 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_grid.c:418 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh.c:233 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4.c:170 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2.c:202 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2.c:218 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2.c:234 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2_wrong.c:206 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2_wrong.c:222 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c2q4s2_wrong.c:238 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8.c:199 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8.c:225 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4.c:232 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4.c:258 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4.c:281 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4_wrong.c:236 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4_wrong.c:262 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_mesh_c3h8q4_wrong.c:285 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_poly2D.c:227 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_poly2D.c:241 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/create_poly2D.c:255 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/tests/testUCoordinate.cxx:94 [error] - Memory leak: noms
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/tests/testUCoordinate.cxx:94 [error] - Memory leak: numbers
- ./MED_SRC_5.1.3/src/MEDMEMBinTest/tests/testUCoordinate.cxx:94 [error] - Memory leak: coor1
- ./MED_SRC_5.1.3/src/MEDMEMCppTest/MEDMEMTest_Array.cxx:497 [error] - Memory leak: val1
- ./MED_SRC_5.1.3/src/MEDMEM_I/MEDMEM_convert.cxx:241 [style] - Redundant assignment of "coherent" in switch
- ./MED_SRC_5.1.3/src/MEDMEM_I/MEDMEM_convert.cxx:253 [style] - Redundant assignment of "coherent" in switch
- ./MED_SRC_5.1.3/src/MEDMEM_I/MEDMEM_convert.cxx:277 [style] - Redundant assignment of "coherent" in switch
- ./MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionMedXMLDriver.cxx:291 [error] - Buffer access out-of-bounds
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDchampEcr.cxx:183 [error] - Memory leak: pfltab
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDchampLire.cxx:110 [error] - Memory leak: pfltab
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDfamMaaCr.cxx:50 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDfamMaaCr.cxx:56 [error] - Undefined behaviour: nomfam is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDgro2famA.cxx:138 [error] - Memory leak: tmp
- ./MED_SRC_5.1.3/src/MEDWrapper/V2_1/Core/MEDgro2famB.cxx:155 [error] - Memory leak: tmp
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_MeshDis.cxx:139 [error] - Returning pointer to auto variable
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_MeshDis.cxx:803 [error] - Division by zero
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_MeshDis.cxx:804 [error] - Division by zero
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Obj.cxx:436 [error] - Throwing exception in invalid state, mMeshDis points at deallocated memory
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Utils.cxx:136 [error] - Resource leak: src
- ./MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Utils.cxx:269 [error] - Memory leak: name
- ./MED_SRC_5.1.3/src/MedClient/src/MemorySpy.cxx:110 [error] - Invalid number of character ({) when these macros are defined: 'HP'.
- ./MED_SRC_5.1.3/src/ParaMEDMEM/BlockTopology.cxx:147 [error] - When i==].size(), ][i] is out of bounds
- ./MED_SRC_5.1.3/src/ParaMEDMEM/BlockTopology.cxx:233 [error] - When i==].size(), ][i] is out of bounds
- ./MED_SRC_5.1.3/src/ParaMEDMEM/ExplicitCoincidentDEC.cxx:291 [error] - Memory leak: recvdispls
- ./MED_SRC_5.1.3/src/ParaMEDMEM/MPIProcessorGroup.cxx:106 [error] - Memory leak: ranks
- ./NETGENPLUGIN_SRC_5.1.3/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx:214 [error] - Uninitialized variable: val
- ./NETGENPLUGIN_SRC_5.1.3/src/NETGENPlugin/NETGENPlugin_Hypothesis.cxx:220 [error] - Uninitialized variable: is
- ./NETGENPLUGIN_SRC_5.1.3/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D.cxx:99 [error] - Uninitialized variable: is
- ./NETGENPLUGIN_SRC_5.1.3/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D.cxx:145 [error] - Uninitialized variable: val
- ./NETGENPLUGIN_SRC_5.1.3/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D.cxx:111 [error] - Uninitialized variable: val
- ./SMESH_SRC_5.1.3/src/DriverDAT/DriverDAT_R_SMDS_Mesh.cxx:60 [error] - Resource leak: aFileId
- ./SMESH_SRC_5.1.3/src/DriverDAT/DriverDAT_W_SMDS_Mesh.cxx:46 [error] - Resource leak: aFileId
- ./SMESH_SRC_5.1.3/src/SMDS/SMDS_Mesh.cxx:1229 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./SMESH_SRC_5.1.3/src/SMDS/SMDS_MeshGroup.cxx:86 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./SMESH_SRC_5.1.3/src/SMESH/SMESH_MeshEditor.cxx:4102 [error] - Same iterator is used with both currList and firstList
- ./SMESH_SRC_5.1.3/src/SMESH_I/SMESH_Gen_i.cxx:2909 [error] - Mismatching allocation and deallocation: smIDs
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_Arithmetic1D.cxx:154 [error] - Uninitialized variable: intVal
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_Distribution.cxx:146 [error] - Uninitialized variable: f2
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_FixedPoints1D.cxx:155 [error] - Uninitialized variable: intVal
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_FixedPoints1D.cxx:159 [error] - Uninitialized variable: dblVal
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_LengthFromEdges.cxx:108 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_LocalLength.cxx:151 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_MaxElementArea.cxx:117 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_MaxElementVolume.cxx:118 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_MaxLength.cxx:162 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_MaxLength.cxx:175 [error] - Uninitialized variable: pre
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_NumberOfSegments.cxx:535 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_NumberOfSegments.cxx:548 [error] - Uninitialized variable: scale_factor
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_NumberOfSegments.cxx:569 [error] - Uninitialized variable: b
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_NumberOfSegments.cxx:590 [error] - Uninitialized variable: b
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_NumberOfSegments.cxx:637 [error] - Uninitialized variable: intVal
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_Propagation.cxx:366 [error] - Memory leak: chainData
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_Propagation.cxx:360 [error] - Memory leak: oppData
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_SegmentLengthAroundVertex.cxx:119 [error] - Uninitialized variable: a
- ./SMESH_SRC_5.1.3/src/StdMeshers/StdMeshers_StartEndLength.cxx:156 [error] - Uninitialized variable: intVal
- ./VISU_SRC_5.1.3/src/CONVERTOR/VISU_Vtk2MedConvertor.cxx:714 [error] - Uninitialized variable: aPointsMapper
- ./VISU_SRC_5.1.3/src/VISU_I/VISU_ColoredPrs3dCache_i.cc:209 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./VISU_SRC_5.1.3/src/VISU_I/VISU_Result_i.cc:840 [error] - Mismatching allocation and deallocation: aHDFFileName
- ./YACS_SRC_5.1.3/src/engine/ComposedNode.cxx:957 [error] - Possible null pointer dereference: nodeToTest
- ./YACS_SRC_5.1.3/src/engine/OutGate.cxx:130 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./YACS_SRC_5.1.3/src/genericgui/GenericGui.cxx:2196 [error] - Possible null pointer dereference: sub - otherwise it is redundant to check if sub is null at line 2197
- ./YACS_SRC_5.1.3/src/genericgui/GenericGui.cxx:2260 [error] - Possible null pointer dereference: sub - otherwise it is redundant to check if sub is null at line 2261
- ./YACS_SRC_5.1.3/src/yacsloader/parsers.cxx:75 [error] - Resource leak: fin
- ./YACS_SRC_5.1.3/src/yacsloader/xmlParserBase.cxx:498 [error] - Resource leak: fin
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:30 +0000, based on results by cppcheck 1.46