cppcheck analysis of ctn_3.0.6-13.dsc
- ./apps/assoc_tool/netWork.c:203 [error] - Memory leak: buf1
- ./apps/assoc_tool/netWork.c:203 [error] - Memory leak: buf2
- ./apps/assoc_tool/netWork.c:203 [error] - Memory leak: bufsyn
- ./apps/clone_study/remap.c:59 [error] - Memory leak: map.orig
- ./apps/clone_study/remap.c:59 [error] - Memory leak: map.mapped
- ./apps/dcm_add_fragments/dcm_add_fragments.c:182 [possible error] - Resource leak: fd
- ./apps/dcm_create_object/dcm_create_object.c:374 [error] - Resource leak: fd
- ./apps/dcm_create_object/gram_mod.c:435 [possible error] - Memory leak: newyys
- ./apps/dcm_create_object/gram_mod.c:435 [possible error] - Memory leak: newyyv
- ./apps/dcm_make_object/dcm_make_object.c:401 [error] - Resource leak: fd
- ./apps/dcm_modify_object/dcm_modify_object.c:431 [error] - Resource leak: fd
- ./apps/dcm_modify_object/gram_mod.c:433 [possible error] - Memory leak: newyys
- ./apps/dcm_modify_object/gram_mod.c:433 [possible error] - Memory leak: newyyv
- ./apps/dcm_modify_object/gram_mod_w32.c:433 [possible error] - Memory leak: newyys
- ./apps/dcm_modify_object/gram_mod_w32.c:433 [possible error] - Memory leak: newyyv
- ./apps/dcm_replace_element/dcm_replace_element.c:127 [error] - Resource leak: fd
- ./apps/icon/icon_append_file.c:307 [possible error] - Memory leak: iconfile
- ./apps/icon/icon_append_index.c:246 [possible error] - Memory leak: iconindex
- ./apps/icon/icon_append_index.c:267 [possible error] - Memory leak: iconfile
- ./apps/icon/icon_append_index.c:246 [possible error] - Memory leak: imagefile
- ./apps/image_archive/archive_server.c:271 [possible error] - Resource leak: fp
- ./apps/image_server/image_server.c:428 [possible error] - Resource leak: fp
- ./apps/object_viewer/fileSelectionBoxDialog1.c:152 [possible error] - Memory leak: info
- ./apps/pmgr_motif/print_shared.c:338 [error] - Memory leak: imgDisplay
- ./apps/print_clients/client_support.c:486 [error] - Memory leak: imgDisplay
- ./apps/print_clients/print_mgr.c:1019 [error] - Memory leak: Login
- ./apps/print_clients/print_shared.c:348 [error] - Memory leak: imgDisplay
- ./apps/print_server/utils.c:135 [error] - Memory leak: imgDisplay
- ./apps/print_server_display/display_prn.c:548 [error] - Memory leak: box
- ./apps/print_server_display/display_prn.c:654 [error] - Memory leak: session
- ./apps/simple_storage/simple_storage.c:360 [error] - Memory leak: s
- ./apps/simple_storage/simple_storage.c:1888 [possible error] - Memory leak: UIDItem
- ./apps/spray_image/spray_image.c:465 [error] - Undefined behaviour: uid 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.
- ./apps/spray_image/spray_image.c:471 [error] - Undefined behaviour: uid 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.
- ./apps/spray_image/spray_image.c:477 [error] - Undefined behaviour: uid 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.
- ./apps/storage_commit/commit_agent.c:407 [possible error] - Resource leak: fp
- ./cgi_apps/fileview/fileview.c:92 [error] - Mismatching allocation and deallocation: dirp
- ./external/cgihtml-1.69/cgi-lib.c:225 [possible error] - Memory leak: buffer
- ./external/cgihtml-1.69/cgi-lib.c:225 [error] - Memory leak: prevbuf
- ./external/cgihtml-1.69/cgi-lib.c:103 [error] - Uninitialized variable: buffer
- ./external/cgihtml-1.69/string-lib.c:39 [error] - Memory leak: nstr
- ./facilities/dulprotocol/dulsnoop.c:423 [error] - Resource leak: fd_itoa
- ./facilities/fis/build.c:753 [error] - Memory leak: scSeries
- ./facilities/fis/build.c:1415 [error] - Memory leak: refSeries
- ./facilities/icon/icon.c:118 [error] - Resource leak: fd
- ./facilities/icon/icon.c:165 [error] - Resource leak: fd
- ./facilities/icon/icon.c:307 [error] - Resource leak: fd
- ./facilities/icon/icon.c:355 [error] - Resource leak: fd
- ./facilities/icon/icon.c:418 [error] - Resource leak: fd
- ./facilities/info_entity/ie.c:206 [error] - Memory leak: ie_object
- ./facilities/info_entity/ie.c:471 [error] - Memory leak: ie_ie
- ./facilities/info_entity/ie.c:735 [error] - Memory leak: ie_module
- ./facilities/info_entity/ie.c:918 [error] - Memory leak: ie_object
- ./facilities/info_entity/ie.c:1057 [error] - Memory leak: ie_ie
- ./facilities/info_entity/ie.c:1212 [error] - Memory leak: ie_module
- ./facilities/objects/dcm.c:301 [possible error] - Resource leak: fd
- ./facilities/objects/dcm.c:7009 [error] - Uninitialized variable: opt
- ./facilities/print/print.c:588 [error] - Memory leak: e
- ./facilities/services/get.c:939 [error] - Resource leak: fd
- ./facilities/tbl/ufs.c:279 [error] - Memory leak: field
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:46:49 +0000, based on results by cppcheck 1.41-modif