cppcheck analysis of caret_5.6.1.3~dfsg.1-2.dsc
- ./caret/GuiDisplayControlDialog.cxx:8165 [error] - Possible null pointer dereference: pageFociSearch
- ./caret/GuiMainWindowSurfaceActions.cxx:1828 [error] - Possible null pointer dereference: fiducial
- ./caret_brain_set/BrainModelBorderSet.cxx:1237 [error] - Possible null pointer dereference: bfi
- ./caret_brain_set/BrainModelSurfaceMorphing.cxx:1511 [error] - Mismatching allocation and deallocation: NeighborInformation::neighbors
- ./caret_brain_set/BrainModelSurfaceMorphing.cxx:1515 [error] - Mismatching allocation and deallocation: NeighborInformation::neighborDistance
- ./caret_brain_set/BrainModelSurfaceMorphing.cxx:1516 [error] - Mismatching allocation and deallocation: NeighborInformation::angle1
- ./caret_brain_set/BrainModelSurfaceMorphing.cxx:1517 [error] - Mismatching allocation and deallocation: NeighborInformation::angle2
- ./caret_brain_set/BrainModelSurfaceNodeColoring.cxx:1177 [error] - Mismatching allocation and deallocation: geoPaint
- ./caret_brain_set/DisplaySettingsSurface.cxx:128 [style] - Redundant assignment of "lightOn" in switch
- ./caret_command_operations/CommandVolumeHistogram.cxx:261 [error] - Mismatching allocation and deallocation: histoArray
- ./caret_command_operations/CommandVolumeProbAtlasToFunctional.cxx:138 [error] - Possible null pointer dereference: firstProbAtlasVolumeFile
- ./caret_command_operations/CommandVolumeProbAtlasToFunctional.cxx:143 [error] - Possible null pointer dereference: firstProbAtlasVolumeFile
- ./caret_files/MetricFile.cxx:4222 [error] - Memory leak: tMapMetricFile
- ./caret_statistics/StatisticMatrix.cxx:320 [error] - Memory leak: index
- ./caret_statistics/StatisticMatrix.cxx:320 [error] - Memory leak: column
- ./caret_statistics/StatisticMatrix.cxx:320 [error] - Memory leak: matrixIn
- ./caret_statistics/StatisticMatrix.cxx:320 [error] - Memory leak: matrixOut
- ./caret_statistics/StatisticNormalizeDistribution.cxx:89 [error] - Memory leak: outputNormalizedValues
- ./caret_uniformize/caret_uniformize.cxx:348 [error] - Uninitialized variable: jy
- ./caret_uniformize/caret_uniformize.cxx:348 [error] - Uninitialized variable: ix
- ./caret_uniformize/caret_uniformize.cxx:351 [error] - Uninitialized variable: ix
- ./caret_uniformize/caret_uniformize.cxx:352 [error] - Uninitialized variable: jy
- ./caret_uniformize/matrix.cxx:1317 [error] - Common realloc mistake: "iar" nulled but not freed upon failure
- ./caret_uniformize/matrix.cxx:1330 [error] - Common realloc mistake: "iar" nulled but not freed upon failure
- ./caret_uniformize/matrix.cxx:1338 [error] - Common realloc mistake: "iar" nulled but not freed upon failure
- ./flat_fluid/flat_fluid.c:1033 [error] - Resource leak: fp
- ./flat_fluid/flat_fluid.c:1882 [error] - Memory leak: v3x
- ./flat_fluid/flat_fluid.c:1882 [error] - Memory leak: v3y
- ./flat_fluid/flat_fluid.c:2022 [error] - Resource leak: fpin
- ./flat_fluid/flat_fluid.c:978 [error] - Resource leak: fd
- ./flat_fluid/surface_io.c:87 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:97 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:131 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1048 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1049 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1050 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1051 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1052 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1053 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1069 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1081 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1434 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:1439 [error] - Buffer access out-of-bounds: line
- ./flat_fluid/surface_io.c:687 [error] - Resource leak: fd_params
- ./flat_fluid/surface_io.c:1020 [error] - Resource leak: fp
- ./flat_fluid/surface_io.c:1088 [error] - Resource leak: fp
- ./flat_fluid/surface_io.c:1458 [error] - Resource leak: fp
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:12:52 +0000, based on results by cppcheck 1.46