cppcheck analysis of dpm_1.7.4.1-3.dsc
- ./common/Cnetdb.c:879 [possible error] - Memory leak: namebuf
- ./common/Cpool.c:293 [possible error] - Memory leak: to_close
- ./common/Cregexp.c:453 [error] - Memory leak: r
- ./common/Cthread.c:2330 [error] - Memory leak: Cmtx_new
- ./common/Cthread.c:4309 [error] - Memory leak: Cspec_new
- ./common/Cthread.c:1382 [error] - Memory leak: tsd
- ./common/Cthread.c:4904 [error] - Memory leak: tsd
- ./common/log.c:186 [possible error] - Resource leak: fd
- ./dicomcopy/dicomcopy_serv.c:184 [possible error] - Resource leak: cf
- ./dicomcopy/dpm_dicomcopyfile.c:30 [possible error] - Memory leak: buffer
- ./dpm/dpm_main.c:341 [possible error] - Resource leak: cf
- ./dpmcopy/dpmcopy_main.c:183 [possible error] - Resource leak: cf
- ./ns/Cns_opendir.c:80 [error] - Memory leak: dirp
- ./ns/Cns_procreq.c:4422 [error] - Deallocating a deallocated pointer: tppools
- ./ns/Cns_procreq.c:7942 [error] - Deallocating a deallocated pointer: q
- ./ns/nschclass.c:182 [error] - Memory leak: dlc
- ./ns/nschgrp.c:179 [error] - Memory leak: dlc
- ./ns/nschown.c:209 [error] - Memory leak: dlc
- ./ns/nsfind.c:282 [error] - Memory leak: dlc
- ./ns/nsls.c:270 [error] - Memory leak: dlc
- ./ns/nsrm.c:184 [error] - Memory leak: dlc
- ./rfio/rfcp.c:985 [possible error] - Memory leak: cpbuf
- ./rfio/rfio_call64.c:1691 [error] - Memory leak: v
- ./rfio/rfio_call64.c:1691 [possible error] - Memory leak: v
- ./rfio/rfio_calls.c:2876 [error] - Memory leak: v
- ./rfio/xyopen.c:186 [possible error] - Memory leak: fd
- ./rfio/xyopen.c:465 [error] - Memory leak: name
- ./rfio/xyopen.c:469 [error] - Memory leak: node
- ./scripts/CheckMigrationScript/src/check_main.c:38 [possible error] - Memory leak: mysql_pwd
- ./scripts/Migration-LFC-MySQL-Oracle/src/Ora_GetMetadataInfo.cpp:694 [possible error] - Memory leak: column_pos_list_temp
- ./scripts/Migration-LFC-MySQL-Oracle/src/mysql_info.cpp:331 [error] - Resource leak: f1
- ./scripts/RLS-Atlas-migration/bin/migrate_files.c:156 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_files.c:160 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_files.c:164 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_files.c:169 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_path.c:88 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_path.c:92 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_path.c:96 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_path.c:100 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Atlas-migration/bin/migrate_path.c:105 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_files.c:156 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_files.c:160 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_files.c:164 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_files.c:169 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_path.c:87 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_path.c:91 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_path.c:95 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_path.c:99 [error] - Buffer access out-of-bounds
- ./scripts/RLS-Cms-migration/bin/migrate_path.c:104 [error] - Buffer access out-of-bounds
- ./scripts/RLS-migration/bin/migrate_path.c:88 [error] - Buffer access out-of-bounds
- ./scripts/RLS-migration/bin/migrate_path.c:92 [error] - Buffer access out-of-bounds
- ./scripts/RLS-migration/bin/migrate_path.c:96 [error] - Buffer access out-of-bounds
- ./scripts/RLS-migration/bin/migrate_path.c:101 [error] - Buffer access out-of-bounds
- ./scripts/UpdateACLForMySQL/src/updateACL_core.cpp:1145 [error] - Memory leak: acl_temp
- ./scripts/UpdateDomainName/src/update_main.cpp:61 [error] - Memory leak: mysql_pwd
- ./security/Csec_plugin_GSS_mapper.c:75 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./security/Csec_plugin_GSS_mapper.c:75 [error] - Invalid number of character ({) when these macros are defined: 'lint'.
- ./socket/dpmcli/dpm-Ls.c:306 [error] - Memory leak: dlc
- ./socket/dpmcli/dpm-Rm.c:319 [error] - Memory leak: dlc
- ./socket/dpmcli/dpm-delreplica.c:362 [error] - Memory leak: reqfiles
- ./socket/dpmcli/dpm-getreqid.c:775 [possible error] - Memory leak: dpmfilel
- ./socket/goputils/gop_sig.c:209 [error] - Unusual pointer arithmetic
- ./srmv1/srmv1.c:124 [error] - Resource leak: cf
- ./srmv2.2/srmv2.c:124 [error] - Resource leak: cf
- ./srmv2/srmv2.c:124 [error] - Resource leak: cf
- ./test/srmv1/srm_testJiri.c:1036 [error] - Memory leak: filestatuses
- ./test/srmv1/srm_testJiri.c:1176 [error] - Memory leak: filestatuses
- ./test/srmv1/srm_testJiri.c:538 [error] - Invalid number of character (() when these macros are defined: 'GG'.
- ./win32/cmdf2argv.c:41 [error] - Resource leak: cmdfd
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:47:05 +0000, based on results by cppcheck 1.41-modif