cppcheck analysis of ctn_3.0.6-13.dsc
- ./apps/assoc_tool/netWork.c:386 [error] - Memory leak: buf1
- ./apps/assoc_tool/netWork.c:386 [error] - Memory leak: buf2
- ./apps/assoc_tool/netWork.c:386 [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 [error] - Resource leak: fd
- ./apps/dcm_create_object/dcm_create_object.c:374 [error] - Resource leak: fd
- ./apps/dcm_create_object/gram_mod.c:438 [error] - Common realloc mistake: "yys" nulled but not freed upon failure
- ./apps/dcm_create_object/gram_mod.c:439 [error] - Common realloc mistake: "yyv" nulled but not freed upon failure
- ./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:436 [error] - Common realloc mistake: "yys" nulled but not freed upon failure
- ./apps/dcm_modify_object/gram_mod.c:437 [error] - Common realloc mistake: "yyv" nulled but not freed upon failure
- ./apps/dcm_modify_object/gram_mod_w32.c:436 [error] - Common realloc mistake: "yys" nulled but not freed upon failure
- ./apps/dcm_modify_object/gram_mod_w32.c:437 [error] - Common realloc mistake: "yyv" nulled but not freed upon failure
- ./apps/dcm_replace_element/dcm_replace_element.c:127 [error] - Resource leak: fd
- ./apps/icon/icon_append_file.c:307 [error] - Memory leak: iconfile
- ./apps/icon/icon_append_index.c:246 [error] - Memory leak: iconindex
- ./apps/icon/icon_append_index.c:267 [error] - Memory leak: iconfile
- ./apps/icon/icon_append_index.c:246 [error] - Memory leak: imagefile
- ./apps/idb_viewer/applicationShell1.c:168 [error] - Memory leak: item
- ./apps/image_archive/archive_server.c:421 [error] - Memory leak: s
- ./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_shared.c:348 [error] - Memory leak: imgDisplay
- ./apps/print_server/utils.c:135 [error] - Memory leak: imgDisplay
- ./apps/print_server_display/display_prn.c:395 [error] - Memory leak: pointer
- ./apps/print_server_display/display_prn.c:548 [error] - Memory leak: box
- ./apps/simple_storage/simple_storage.c:360 [error] - Memory leak: s
- ./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.
- ./cgi_apps/fileview/fileview.c:92 [error] - Mismatching allocation and deallocation: dirp
- ./external/cgihtml-1.69/cgi-lib.c:79 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./external/cgihtml-1.69/cgi-lib.c:369 [error] - Memory leak: uploadfname
- ./external/cgihtml-1.69/cgi-lib.c:225 [error] - Memory leak: buffer
- ./external/cgihtml-1.69/cgi-lib.c:368 [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/database/database.c:3814 [error] - Common realloc mistake: "new_regex" nulled but not freed upon failure
- ./facilities/dulprotocol/dulsnoop.c:423 [error] - Resource leak: fd_itoa
- ./facilities/fis/build.c:1434 [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/idb/idb.c:3101 [error] - Common realloc mistake: "GS_PatNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3110 [error] - Common realloc mistake: "GS_NullPatFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:3120 [error] - Common realloc mistake: "GS_StuNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3128 [error] - Common realloc mistake: "GS_NullStuFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:3309 [error] - Common realloc mistake: "GS_PatNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3318 [error] - Common realloc mistake: "GS_NullPatFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:3408 [error] - Common realloc mistake: "GS_StuNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3416 [error] - Common realloc mistake: "GS_NullStuFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:3528 [error] - Common realloc mistake: "GS_SerNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3537 [error] - Common realloc mistake: "GS_NullSerFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:3630 [error] - Common realloc mistake: "GS_ImaNodes" nulled but not freed upon failure
- ./facilities/idb/idb.c:3639 [error] - Common realloc mistake: "GS_NullImaFlag" nulled but not freed upon failure
- ./facilities/idb/idb.c:5149 [error] - Common realloc mistake: "new_regex" nulled but not freed upon failure
- ./facilities/info_entity/ie.c:287 [error] - Memory leak: ie_object
- ./facilities/info_entity/ie.c:558 [error] - Memory leak: ie_ie
- ./facilities/info_entity/ie.c:777 [error] - Memory leak: ie_module
- ./facilities/info_entity/ie.c:942 [error] - Memory leak: ie_object
- ./facilities/info_entity/ie.c:1092 [error] - Memory leak: ie_ie
- ./facilities/info_entity/ie.c:1260 [error] - Memory leak: ie_module
- ./facilities/objects/dcm.c:301 [error] - Resource leak: fd
- ./facilities/objects/dcm.c:4344 [error] - Uninitialized variable: xferSyntax
- ./facilities/objects/dcm.c:6939 [error] - Uninitialized variable: sqItem
- ./facilities/print/print.c:588 [error] - Memory leak: e
- ./facilities/services/get.c:939 [error] - Resource leak: fd
- ./facilities/services/services.c:1340 [error] - Memory leak: dirName
- ./facilities/tbl/ufs.c:133 [error] - Memory leak: privateHandle
- ./facilities/tbl/ufs.c:279 [error] - Memory leak: field
- ./facilities/uid/uid.c:510 [error] - Resource leak: f
- ./facilities/utility/utility.c:265 [error] - Common realloc mistake: "new_regex" nulled but not freed upon failure
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:13:18 +0000, based on results by cppcheck 1.46