cppcheck analysis of gdcm_2.0.14-2.dsc
- ./Applications/Cxx/deflate.cxx:115 [error] - Resource leak: input
- ./Applications/Cxx/deflate.cxx:115 [error] - Resource leak: output
- ./Applications/Cxx/gdcminfo.cxx:512 [possible error] - Memory leak: doc
- ./Applications/Cxx/gdcmpdf.cxx:647 [possible error] - Memory leak: doc
- ./Examples/Cxx/AnonymizeAES.cxx:136 [possible error] - Memory leak: buf
- ./Source/DataStructureAndEncodingDefinition/gdcmDataElement.h:128 [possible error] - Memory leak: bv
- ./Source/DataStructureAndEncodingDefinition/gdcmCSAElement.h:76 [possible error] - Memory leak: bv
- ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx:1038 [possible error] - Memory leak: sqi2
- ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx:1225 [possible error] - Memory leak: sqi2
- ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx:1410 [possible error] - Memory leak: sqi2
- ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx:1500 [possible error] - Memory leak: sqi2
- ./Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx:359 [error] - Memory leak: buffer
- ./Source/MediaStorageAndFileFormat/gdcmRLECodec.cxx:359 [possible error] - Memory leak: bufferrgb
- ./Utilities/Tools/upsidedown.c:31 [error] - Memory leak: buffer
- ./Utilities/gdcmexpat/xmlwf/readfilemap.c:53 [error] - Resource leak: fd
- ./Utilities/gdcmexpat/xmlwf/xmlfile.c:193 [possible error] - Resource leak: fd
- ./Utilities/gdcmexpat/xmlwf/xmlwf.c:851 [possible error] - Memory leak: outName
- ./Utilities/gdcmopenjpeg/codec/convert.c:134 [error] - Resource leak: IN
- ./Utilities/gdcmopenjpeg/codec/convert.c:419 [error] - Memory leak: RGB
- ./Utilities/gdcmopenjpeg/codec/convert.c:311 [error] - Memory leak: table_R
- ./Utilities/gdcmopenjpeg/codec/convert.c:311 [error] - Memory leak: table_G
- ./Utilities/gdcmopenjpeg/codec/convert.c:311 [error] - Memory leak: table_B
- ./Utilities/gdcmopenjpeg/codec/convert.c:704 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/codec/convert.c:854 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/indexer_JPIP/jp2.c:271 [error] - Memory leak: j2kfile
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:100 [error] - Resource leak: IN
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [error] - Resource leak: Compo0
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [possible error] - Resource leak: Compo1
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [possible error] - Resource leak: Compo2
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [error] - Memory leak: RGB
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [error] - Memory leak: table_R
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [error] - Memory leak: table_G
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:462 [error] - Memory leak: table_B
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:658 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/convert.c:692 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/decoder/jpwldec/j2k_to_image.c:80 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/j2k.c:1416 [possible error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/jpw.c:724 [error] - Memory leak: buff
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/jpw.c:1402 [possible error] - Memory leak: buff
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/jpw.c:2167 [error] - Memory leak: buff
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/jpw.c:2692 [possible error] - Memory leak: buff
- ./Utilities/gdcmopenjpeg/jpwl/decoder/libopenjpeg/jpw.c:3108 [possible error] - Memory leak: buff
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:100 [error] - Resource leak: IN
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [error] - Resource leak: Compo0
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [possible error] - Resource leak: Compo1
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [possible error] - Resource leak: Compo2
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [error] - Memory leak: RGB
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [error] - Memory leak: table_R
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [error] - Memory leak: table_G
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:462 [error] - Memory leak: table_B
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:658 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/convert.c:692 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/encoder/jpwlenc/j2k_to_image.c:78 [error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/encoder/libopenjpeg/j2k.c:1732 [possible error] - Resource leak: f
- ./Utilities/gdcmopenjpeg/jpwl/encoder/libopenjpeg/jpw.c:1363 [error] - Memory leak: PSNR
- ./Utilities/gdcmopenjpeg/jpwl/encoder/libopenjpeg/jpw.c:1778 [possible error] - Memory leak: buf1
- ./Utilities/gdcmopenjpeg/mj2/extract_j2k_from_mj2.c:64 [error] - Memory leak: frame_codestream
- ./Utilities/gdcmopenjpeg/mj2/extract_j2k_from_mj2.c:64 [possible error] - Memory leak: frame_codestream
- ./Utilities/gdcmopenjpeg/mj2/frames_to_mj2.c:840 [error] - Resource leak: mj2file
- ./Utilities/gdcmopenjpeg/mj2/meta_out.c:1840 [error] - Invalid number of character (() when these macros are defined: 'NOTYET'.
- ./Utilities/gdcmopenjpeg/mj2/mj2.c:2788 [error] - Memory leak: src
- ./Utilities/gdcmopenjpeg/mj2/mj2_to_frames.c:52 [possible error] - Resource leak: outfile
- ./Utilities/gdcmopenjpeg/mj2/mj2_to_metadata.c:256 [error] - Resource leak: file
- ./Utilities/gdcmzlib/examples/gzappend.c:458 [possible error] - Resource leak: fd
- ./Utilities/wxWidgets/wxGDCMFrame.cpp:93 [possible error] - Memory leak: dialog
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:33 [possible error] - Memory leak: wxGDCMFrameBase::TopFrameMenubar
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:35 [possible error] - Memory leak: wxGDCMFrameBase::TopFrameToolbar
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:36 [possible error] - Memory leak: wxGDCMFrameBase::TreeCtrl
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:37 [possible error] - Memory leak: wxGDCMFrameBase::ListCtrl
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:38 [possible error] - Memory leak: wxGDCMFrameBase::VTKWindow
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:39 [possible error] - Memory leak: wxGDCMFrameBase::Grid
- ./Utilities/wxWidgets/wxGDCMFrameBase.h:40 [possible error] - Memory leak: wxGDCMFrameBase::Notebook
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:48:29 +0000, based on results by cppcheck 1.41-modif