cppcheck analysis of slicer_3.6.3~svn16075-2.dsc
- ./Applications/CLI/ExtractSkeleton/SkelGraph.cxx:48 [error] - instance of "SkelGraph" object destroyed immediately
- ./Base/GUI/vtkSlicerBoxRepresentation.cxx:272 [error] - Uninitialized variable: focalPoint
- ./Base/GUI/vtkSlicerCacheAndDataIOManagerGUI.cxx:698 [error] - Memory leak: txt
- ./Base/GUI/vtkSlicerDiffusionTensorGlyphDisplayWidget.cxx:139 [error] - Possible null pointer dereference: node - otherwise it is redundant to check if node is null at line 146
- ./Base/GUI/vtkSlicerFiducialListWidget.cxx:1546 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./Base/GUI/vtkSlicerParameterWidget.cxx:946 [error] - Returning pointer to auto variable
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1482 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1485
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1627 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1630
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1788 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1790
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1926 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1928
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:3360 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 3362
- ./Base/GUI/vtkSlicerSlicesControlGUI.cxx:1682 [error] - Invalid number of character ({) when these macros are defined: 'FOV_ENTRIES_DEBUG'.
- ./Base/GUI/vtkSlicerViewerWidget.cxx:1756 [error] - Possible null pointer dereference: modelDisplayNode - otherwise it is redundant to check if modelDisplayNode is null at line 1758
- ./Base/GUI/vtkSlicerViewerWidget.cxx:2238 [error] - Possible null pointer dereference: mdnode - otherwise it is redundant to check if mdnode is null at line 2336
- ./Base/Logic/vtkDataIOManagerLogic.cxx:637 [error] - Possible null pointer dereference: task - otherwise it is redundant to check if task is null at line 641
- ./Libs/FreeSurfer/vtkFSSurfaceAnnotationReader.cxx:258 [error] - Memory leak: rgbs
- ./Libs/FreeSurfer/vtkFSSurfaceAnnotationReader.cxx:258 [error] - Memory leak: labels
- ./Libs/FreeSurfer/vtkFSSurfaceAnnotationReader.cxx:884 [error] - Resource leak: file
- ./Libs/FreeSurfer/vtkFSSurfaceLabelReader.cxx:103 [error] - Resource leak: labelFile
- ./Libs/FreeSurfer/vtkFSSurfaceLabelReader.cxx:146 [error] - Memory leak: scalars
- ./Libs/FreeSurfer/vtkFSSurfaceScalarReader.cxx:141 [error] - Memory leak: FSscalars
- ./Libs/FreeSurfer/vtkFSSurfaceWFileReader.cxx:130 [error] - Memory leak: FSscalars
- ./Libs/MRML/vtkMRMLXYPlotManagerNode.cxx:329 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./Libs/RemoteIO/vtkXNDHandler.cxx:507 [error] - Resource leak: returnURIFile
- ./Libs/RemoteIO/vtkXNDHandler.cxx:597 [error] - Resource leak: responseFile
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:695 [error] - Possible null pointer dereference: logoWidth
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:695 [error] - Possible null pointer dereference: logoHeight
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:696 [error] - Possible null pointer dereference: logoPixelSize
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:696 [error] - Possible null pointer dereference: logoLength
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1538 [error] - Possible null pointer dereference: logoWidth
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1538 [error] - Possible null pointer dereference: logoHeight
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1539 [error] - Possible null pointer dereference: logoPixelSize
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1539 [error] - Possible null pointer dereference: logoLength
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1287 [error] - Possible null pointer dereference: logoWidth
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1287 [error] - Possible null pointer dereference: logoHeight
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1288 [error] - Possible null pointer dereference: logoPixelSize
- ./Libs/SlicerExecutionModel/ModuleDescriptionParser/ModuleFactory.cxx:1288 [error] - Possible null pointer dereference: logoLength
- ./Libs/vtkTeem/vtkDiffusionTensorGlyph.cxx:231 [error] - Memory leak: pts
- ./Libs/vtkTeem/vtkPreciseHyperStreamline.cxx:364 [error] - Possible null pointer dereference: inTensors - otherwise it is redundant to check if inTensors is null at line 367
- ./Libs/vtkTeem/vtkPreciseHyperStreamline.cxx:349 [error] - Uninitialized variable: v0
- ./Libs/vtkTeem/vtkPreciseHyperStreamline.cxx:350 [error] - Uninitialized variable: m0
- ./Libs/vtkTeem/vtkTensorImplicitFunctionToFunctionSet.cxx:91 [error] - Uninitialized variable: f
- ./Modules/ChangeTracker/DeformableMetric/applyTransformationITK.cxx:114 [error] - Resource leak: fid
- ./Modules/EMSegment/Algorithm/vtkFileOps.cxx:235 [error] - Memory leak: tmp
- ./Modules/EMSegment/Algorithm/vtkImageEMGeneral.cxx:554 [error] - Undefined behaviour: OpenFileName 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.
- ./Modules/EMSegment/Algorithm/vtkImageEMGeneral.cxx:555 [error] - Undefined behaviour: OpenFileName 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.
- ./Modules/EMSegment/Algorithm/vtkImageEMGeneral.cxx:556 [error] - Undefined behaviour: OpenFileName 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.
- ./Modules/EMSegment/Algorithm/vtkImageEMGeneral.cxx:557 [error] - Undefined behaviour: OpenFileName 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.
- ./Modules/EMSegment/Algorithm/vtkImageEMLocalSegmenter.cxx:478 [error] - Memory leak: NewLevelName
- ./Modules/EMSegment/Algorithm/vtkSimonParameterReaderWriter.cxx:636 [error] - Resource leak: fp
- ./Modules/EMSegment/Graph/vtkImageCurveRegion.cxx:361 [error] - Memory leak: value
- ./Modules/EMSegment/Graph/vtkImageCurveRegion.cxx:375 [error] - Memory leak: LogValue
- ./Modules/EMSegment/Testing/vtkEMSegmentTestUtilities.cxx:165 [error] - Memory leak: Extrema
- ./Modules/EMSegment/Wizard/vtkEMSegmentIntensityImagesStep.cxx:306 [error] - Possible null pointer dereference: volumeNode
- ./Modules/EMSegment/vtkEMSegmentMRMLManager.cxx:3429 [error] - Possible null pointer dereference: volumeNode
- ./Modules/FetchMI/Logic/vtkFetchMIWriterXND.cxx:181 [error] - Memory leak: dtdBuffer
- ./Modules/FetchMI/Logic/vtkFetchMIWriterXND.cxx:343 [error] - Resource leak: fptr
- ./Modules/FetchMI/Logic/vtkFetchMIWriterXND.cxx:367 [error] - Memory leak: dtdBuffer
- ./Modules/Measurements/vtkMeasurementsAngleWidget.cxx:2892 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./Modules/Measurements/vtkMeasurementsRulerWidget.cxx:2459 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./Modules/Meshing/Adapter/vtkUnstructuredGridToitkMesh.cxx:125 [error] - Memory leak: vtkCellTypes
- ./Modules/Meshing/BuildingBlock/IaFeMeshR21.cxx:123 [error] - Uninitialized variable: ret
- ./Modules/Meshing/BuildingBlock/vtkKWMimxAssignBoundaryConditionsGroup.cxx:1137 [error] - Possible null pointer dereference: strarray
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:49 [error] - Mismatching allocation and deallocation: vtkMimxActorBase::FilePath
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:48 [error] - Mismatching allocation and deallocation: vtkMimxActorBase::FileName
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:50 [error] - Mismatching allocation and deallocation: vtkMimxActorBase::UniqueId
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:51 [error] - Mismatching allocation and deallocation: vtkMimxActorBase::FoundationName
- ./Modules/Meshing/Common/vtkMimxMeshActor.cxx:2422 [error] - Memory leak: range
- ./Modules/Meshing/Widgets/vtkMimxBoundingBoxWidget.cxx:875 [error] - Uninitialized variable: x
- ./Modules/Meshing/Widgets/vtkMimxPolyDataWidget.cxx:758 [error] - Uninitialized variable: x
- ./Modules/Meshing/Widgets/vtkMimxUnstructuredGridWidget.cxx:1218 [error] - Uninitialized variable: x
- ./Modules/Meshing/Widgets/vtkMimxViewMergePointsWidget.cxx:1217 [error] - Uninitialized variable: x
- ./Modules/OpenCV/vtkOpenCVLogic.cxx:260 [error] - Uninitialized variable: locatorModel
- ./Modules/ProstateNav/vtkMRMLProstateNavManagerNode.cxx:909 [error] - Memory leak: ras
- ./Modules/QueryAtlas/vtkQueryAtlasGUI.cxx:2901 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 2903
- ./Modules/QueryAtlas/vtkQueryAtlasGUI.cxx:2934 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 2936
- ./Modules/SlicerDaemon/vtkTclHelper.cxx:151 [error] - Possible null pointer dereference: tensorArray - otherwise it is redundant to check if tensorArray is null at line 153
- ./Modules/SlicerDaemon/vtkTclHelper.cxx:283 [error] - Possible null pointer dereference: tensorArray - otherwise it is redundant to check if tensorArray is null at line 285
- ./Modules/SlicerDaemon/vtkTclHelper.cxx:437 [error] - Memory leak: serializedTensorsP
- ./Modules/SlicerDaemon/vtkTclHelper.cxx:527 [error] - Memory leak: serializedTensorsP
- ./Modules/VolumeRendering/VolumeRenderingReplacements/vtkSlicerFixedPointVolumeRayCastMapper.cxx:1082 [error] - Memory leak: minNonZeroScalarIndex
- ./Modules/VolumeRendering/VolumeRenderingReplacements/vtkSlicerFixedPointVolumeRayCastMapper.cxx:1082 [error] - Memory leak: minNonZeroGradientMagnitudeIndex
- ./Modules/VolumeRendering1/VolumeRenderingReplacements1/vtkSlicerBoxRepresentation.cxx:272 [error] - Uninitialized variable: focalPoint
- ./Modules/VolumeRendering1/VolumeRenderingReplacements1/vtkSlicerFixedPointVolumeRayCastMapper.cxx:1044 [error] - Memory leak: minNonZeroScalarIndex
- ./Modules/VolumeRendering1/VolumeRenderingReplacements1/vtkSlicerFixedPointVolumeRayCastMapper.cxx:1044 [error] - Memory leak: minNonZeroGradientMagnitudeIndex
- ./Modules/Volumes/vtkSlicerDiffusionTestingWidget.cxx:347 [error] - Possible null pointer dereference: displayNode
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, 25 Mar 2011 06:58:13 +0000, based on results by cppcheck 1.46