cppcheck analysis of slicer_3.4.0~svn10438-6.dsc
- ./Applications/CLI/ExtractSkeleton/ExtractSkeleton.cxx:146 [possible error] - Memory leak: graph
- ./Applications/CLI/GrayscaleModelMaker.cxx:109 [error] - Possible null pointer dereference: ici - otherwise it is redundant to check if ici is null at line 296
- ./Applications/CLI/ModelMaker.cxx:162 [error] - Possible null pointer dereference: modelScene - otherwise it is redundant to check if modelScene is null at line 1670
- ./Applications/CLI/ModelMaker.cxx:359 [error] - Possible null pointer dereference: ici - otherwise it is redundant to check if ici is null at line 1653
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_AAL5'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_APPLETALK'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_ASH'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_ATMPVC'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_ATMSVC'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_AX25'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_BRIDGE'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_DECnet'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_ECONET'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_INET6'.
- ./Base/GUI/Python/patched-socketmodule.c:3667 [error] - Invalid number of character ({) when these macros are defined: 'AF_IPX'.
- ./Base/GUI/vtkSlicerApplicationSettingsInterface.cxx:494 [error] - Possible null pointer dereference: app - otherwise it is redundant to check if app is null at line 813
- ./Base/GUI/vtkSlicerDataGUI.cxx:2314 [error] - Possible null pointer dereference: app - otherwise it is redundant to check if app is null at line 2329
- ./Base/GUI/vtkSlicerDataGUI.cxx:2481 [error] - Possible null pointer dereference: app - otherwise it is redundant to check if app is null at line 2496
- ./Base/GUI/vtkSlicerModulesStep.cxx:881 [possible error] - Memory leak: entry
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1442 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1445
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1587 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1590
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:1721 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 1723
- ./Base/GUI/vtkSlicerSliceControllerWidget.cxx:3026 [error] - Possible null pointer dereference: ssgui - otherwise it is redundant to check if ssgui is null at line 3028
- ./Base/GUI/vtkSlicerSlicesControlGUI.cxx:1570 [error] - Invalid number of character ({) when these macros are defined: 'FOV_ENTRIES_DEBUG'.
- ./Base/GUI/vtkSlicerViewerWidget.cxx:1109 [error] - Possible null pointer dereference: modelDisplayNode - otherwise it is redundant to check if modelDisplayNode is null at line 1194
- ./Base/GUI/vtkSlicerViewerWidget.cxx:1110 [error] - Possible null pointer dereference: modelDisplayNode - otherwise it is redundant to check if modelDisplayNode is null at line 1194
- ./Base/GUI/vtkSlicerViewerWidget.cxx:1111 [error] - Possible null pointer dereference: modelDisplayNode - otherwise it is redundant to check if modelDisplayNode is null at line 1194
- ./Base/Logic/vtkImageConnectivity.cxx:830 [possible error] - Memory leak: census
- ./Base/Logic/vtkImageConnectivity.cxx:304 [error] - Memory leak: axis_len
- ./Base/Logic/vtkImageConnectivity.cxx:304 [error] - Memory leak: conInput
- ./Base/Logic/vtkImageConnectivity.cxx:304 [possible error] - Memory leak: conOutput
- ./Base/Logic/vtkImageConnectivity.cxx:304 [error] - Memory leak: numIslands
- ./Base/Logic/vtkSlicerIGTDemoLogic.h:92 [possible error] - Memory leak: vtkSlicerIGTDemoLogic::context
- ./Base/Logic/vtkSlicerSliceLayerLogic.cxx:298 [error] - Possible null pointer dereference: displayNode
- ./Libs/FreeSurfer/vtkFSSurfaceAnnotationReader.cxx:475 [possible error] - Memory leak: rgbs
- ./Libs/FreeSurfer/vtkFSSurfaceAnnotationReader.cxx:157 [error] - Memory leak: labels
- ./Libs/FreeSurfer/vtkFSSurfaceLabelReader.cxx:143 [error] - Memory leak: scalars
- ./Libs/FreeSurfer/vtkFSSurfaceScalarReader.cxx:118 [error] - Memory leak: FSscalars
- ./Libs/FreeSurfer/vtkFSSurfaceWFileReader.cxx:130 [error] - Memory leak: FSscalars
- ./Libs/vtkTeem/vtkDiffusionTensorGlyph.cxx:229 [error] - Memory leak: pts
- ./Modules/ChangeTracker/DeformableMetric/applyTransformationITK.cxx:115 [possible error] - Resource leak: fid
- ./Modules/EMSegment/Algorithm/vtkFileOps.cxx:376 [error] - Deallocating a deallocated pointer: fp
- ./Modules/EMSegment/Algorithm/vtkImageEMAtlasSuperClass.cxx:130 [possible error] - Memory leak: oldClassListType
- ./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:471 [error] - Memory leak: NewLevelName
- ./Modules/EMSegment/Algorithm/vtkImageEMLocalSuperClass.cxx:178 [possible error] - Memory leak: oldClassListType
- ./Modules/EMSegment/Wizard/vtkEMSegmentIntensityDistributionsStep.cxx:804 [error] - Possible null pointer dereference: rwi
- ./Modules/FetchMI/vtkFetchMIWriterXND.cxx:343 [error] - Resource leak: fptr
- ./Modules/Meshing/BuildingBlock/IaFeMeshR21.cxx:123 [error] - Uninitialized variable: ret
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:49 [possible error] - Mismatching allocation and deallocation: vtkMimxActorBase::FilePath
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:48 [possible error] - Mismatching allocation and deallocation: vtkMimxActorBase::FileName
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:50 [possible error] - Mismatching allocation and deallocation: vtkMimxActorBase::UniqueId
- ./Modules/Meshing/Common/vtkMimxActorBase.cxx:51 [possible error] - Mismatching allocation and deallocation: vtkMimxActorBase::FoundationName
- ./Modules/Meshing/Common/vtkMimxMeshActor.cxx:2363 [error] - Memory leak: range
- ./Modules/Meshing/Filter/vtkMimxConstrainedSmoothPolyDataFilter.cxx:738 [possible error] - Memory leak: w
- ./Modules/OpenIGTLinkIF/vtkOpenIGTLinkIFLogic.cxx:480 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./Modules/ProstateNav/vtkMRMLBrpRobotCommandNode.cxx:35 [error] - Uninitialized variable: ret
- ./Modules/QdecModule/vtkGDFReader.h:179 [possible error] - Memory leak: vtkGDFReader::Title
- ./Modules/QdecModule/vtkGDFReader.h:182 [possible error] - Memory leak: vtkGDFReader::MeasurementName
- ./Modules/QdecModule/vtkGDFReader.h:185 [possible error] - Memory leak: vtkGDFReader::SubjectName
- ./Modules/QdecModule/vtkGDFReader.h:188 [possible error] - Memory leak: vtkGDFReader::DataFileName
- ./Modules/QdecModule/vtkGDFReader.h:197 [possible error] - Memory leak: vtkGDFReader::DefaultVariable
- ./Modules/QdecModule/vtkGDFReader.h:205 [possible error] - Memory leak: vtkGDFReader::Tessellation
- ./Modules/QdecModule/vtkGDFReader.h:206 [possible error] - Memory leak: vtkGDFReader::RegistrationSubject
- ./Modules/QdecModule/vtkGDFReader.h:207 [possible error] - Memory leak: vtkGDFReader::DesignMatFile
- ./Modules/QdecModule/vtkGDFReader.h:208 [possible error] - Memory leak: vtkGDFReader::Creator
- ./Modules/QdecModule/vtkGDFReader.h:210 [possible error] - Memory leak: vtkGDFReader::SUBJECTS_DIR
- ./Modules/QdecModule/vtkGDFReader.h:224 [possible error] - Memory leak: vtkGDFReader::gd2mtx
- ./Modules/QueryAtlas/vtkBIRNCard.h:69 [possible error] - Memory leak: vtkBIRNCard::DirName
- ./Modules/QueryAtlas/vtkFontParameters.h:100 [possible error] - Memory leak: vtkFontParameters::FontDirectory
- ./Modules/QueryAtlas/vtkQueryAtlasGUI.cxx:3246 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 3248
- ./Modules/QueryAtlas/vtkQueryAtlasGUI.cxx:3279 [error] - Possible null pointer dereference: l - otherwise it is redundant to check if l is null at line 3281
- ./Modules/RealTimeImaging/Image.h:22 [possible error] - Memory leak: Image::image_ptr
- ./Modules/RealTimeImaging/vtkRealTimeImagingLogic.h:118 [possible error] - Memory leak: vtkRealTimeImagingLogic::context
- ./Modules/SlicerDaemon/Matlab/popen/popenw.c:374 [possible error] - Memory leak: data
- ./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:1044 [error] - Memory leak: minNonZeroScalarIndex
- ./Modules/VolumeRendering/VolumeRenderingReplacements/vtkSlicerFixedPointVolumeRayCastMapper.cxx:1044 [error] - Memory leak: minNonZeroGradientMagnitudeIndex
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 06:02:23 +0000, based on results by cppcheck 1.41-modif