cppcheck analysis of minc_2.0.18-1.dsc
- ./conversion/dcm2mnc/dcm2mnc.c:903 [error] - Memory leak: acq_file_index
- ./conversion/dcm2mnc/siemens_to_dicom.c:230 [possible error] - Memory leak: image
- ./conversion/ecattominc/ecat_file.c:1021 [error] - Uninitialized variable: value
- ./conversion/image_filters/extract.c:103 [error] - Resource leak: fp1
- ./conversion/minctoecat/minctoecat.c:392 [error] - Memory leak: mi
- ./conversion/nifti1/nifti1_io.c:3029 [error] - Memory leak: nim
- ./libsrc/minc_simple.c:1117 [error] - Memory leak: temp
- ./libsrc/netcdf_convenience.c:297 [error] - Mismatching allocation and deallocation: pipe
- ./libsrc/netcdf_convenience.c:303 [error] - Mismatching allocation and deallocation: pipe
- ./libsrc/netcdf_convenience.c:309 [error] - Mismatching allocation and deallocation: pipe
- ./libsrc/netcdf_convenience.c:360 [error] - Mismatching allocation and deallocation: pipe
- ./libsrc2/grpattr.c:45 [error] - Dangerous usage of 'fullpath' (strncpy doesn't always 0-terminate it)
- ./libsrc2/grpattr.c:249 [error] - Dangerous usage of 'fullpath' (strncpy doesn't always 0-terminate it)
- ./libsrc2/hyper.c:120 [error] - Memory leak: temp
- ./progs/mincaverage/mincaverage.c:1056 [error] - Resource leak: fp
- ./progs/minccalc/minccalc.c:548 [error] - Resource leak: fp
- ./progs/minccalc/minccalc.c:693 [possible error] - Resource leak: fp
- ./progs/mincconcat/mincconcat.c:1180 [error] - Memory leak: sort_list
- ./progs/mincconcat/mincconcat.c:1503 [error] - Resource leak: fp
- ./progs/mincmath/mincmath.c:975 [error] - Resource leak: fp
- ./progs/mincview/invert_raw_image.c:109 [error] - Memory leak: buffer
- ./progs/mincview/invert_raw_image.c:109 [error] - Memory leak: outbuf
- ./testdir/test_speed.c:83 [error] - Memory leak: image
- ./volume_io/Prog_utils/alloc_check.c:917 [possible error] - Resource leak: file
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 05:54:59 +0000, based on results by cppcheck 1.41-modif