cppcheck analysis of openmpi_1.4.1-2.dsc
- ./ompi/communicator/comm.c:875 [error] - Memory leak: tmpbuf
- ./ompi/communicator/comm.c:875 [possible error] - Memory leak: req
- ./ompi/communicator/comm.c:1191 [error] - Memory leak: rcounts
- ./ompi/communicator/comm.c:1191 [error] - Memory leak: rdisps
- ./ompi/communicator/comm_cid.c:663 [possible error] - Memory leak: tmpbuf
- ./ompi/communicator/comm_cid.c:663 [error] - Memory leak: rcounts
- ./ompi/communicator/comm_cid.c:663 [error] - Memory leak: rdisps
- ./ompi/contrib/vt/vt/tools/compwrap/compwrap.cc:686 [error] - Mismatching allocation and deallocation: args
- ./ompi/contrib/vt/vt/tools/compwrap/compwrap.cc:698 [error] - Mismatching allocation and deallocation: args
- ./ompi/contrib/vt/vt/vtlib/vt_comp_dyninst.c:289 [error] - Memory leak: shlibs_arg
- ./ompi/mca/btl/elan/btl_elan.c:89 [error] - Resource leak: file
- ./ompi/mca/btl/openib/btl_openib_component.c:1828 [error] - Memory leak: allowed_ports
- ./ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:288 [error] - Memory leak: line
- ./ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:729 [error] - Uninitialized variable: rc
- ./ompi/mca/btl/udapl/btl_udapl_component.c:494 [possible error] - Memory leak: datinfo
- ./ompi/mca/btl/udapl/btl_udapl_endpoint.c:1559 [error] - Memory leak: alloc_ptr
- ./ompi/mca/coll/basic/coll_basic_allgatherv.c:134 [error] - Memory leak: scounts
- ./ompi/mca/coll/basic/coll_basic_allgatherv.c:134 [error] - Memory leak: sdisps
- ./ompi/mca/coll/basic/coll_basic_reduce.c:205 [error] - Memory leak: inplace_temp
- ./ompi/mca/coll/basic/coll_basic_reduce.c:375 [error] - Memory leak: free_buffer
- ./ompi/mca/coll/basic/coll_basic_reduce.c:389 [error] - Memory leak: inplace_temp
- ./ompi/mca/coll/basic/coll_basic_reduce_scatter.c:425 [error] - Memory leak: tmpbuf
- ./ompi/mca/coll/basic/coll_basic_reduce_scatter.c:425 [error] - Memory leak: tmpbuf2
- ./ompi/mca/coll/basic/coll_basic_reduce_scatter.c:425 [error] - Memory leak: disps
- ./ompi/mca/coll/hierarch/coll_hierarch_allreduce.c:115 [error] - Memory leak: tbuf
- ./ompi/mca/coll/hierarch/coll_hierarch_reduce.c:109 [error] - Memory leak: tbuf
- ./ompi/mca/coll/inter/coll_inter_allgatherv.c:66 [error] - Memory leak: count
- ./ompi/mca/coll/inter/coll_inter_allgatherv.c:75 [error] - Memory leak: displace
- ./ompi/mca/coll/inter/coll_inter_gatherv.c:69 [error] - Memory leak: count
- ./ompi/mca/coll/inter/coll_inter_gatherv.c:78 [error] - Memory leak: displace
- ./ompi/mca/coll/inter/coll_inter_reduce.c:78 [error] - Memory leak: free_buffer
- ./ompi/mca/coll/tuned/coll_tuned_allgather.c:210 [error] - Memory leak: free_buf
- ./ompi/mca/coll/tuned/coll_tuned_alltoall.c:232 [possible error] - Memory leak: displs
- ./ompi/mca/coll/tuned/coll_tuned_alltoall.c:232 [possible error] - Memory leak: blen
- ./ompi/mca/coll/tuned/coll_tuned_alltoall.c:221 [possible error] - Memory leak: tmpbuf_free
- ./ompi/mca/coll/tuned/coll_tuned_reduce.c:335 [error] - Memory leak: accumbuf_free
- ./ompi/mca/coll/tuned/coll_tuned_reduce.c:644 [error] - Memory leak: inplace_temp
- ./ompi/mca/coll/tuned/coll_tuned_topo.c:387 [error] - Memory leak: bmtree
- ./ompi/mca/common/portals/common_portals_utcp.c:201 [possible error] - Memory leak: nidmap
- ./ompi/mca/common/portals/common_portals_utcp.c:201 [possible error] - Memory leak: pidmap
- ./ompi/mca/common/portals/common_portals_utcp.c:201 [possible error] - Memory leak: nid_str
- ./ompi/mca/common/portals/common_portals_utcp.c:201 [possible error] - Memory leak: pid_str
- ./ompi/mca/io/romio/romio/adio/ad_lustre/ad_lustre_rwcontig.c:77 [error] - Uninitialized variable: diff
- ./ompi/mca/io/romio/romio/adio/common/system_hints.c:86 [error] - Memory leak: buffer
- ./ompi/runtime/ompi_mpi_params.c:429 [possible error] - Resource leak: fp
- ./opal/dss/dss_print.c:63 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:82 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:101 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:120 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:139 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:158 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:177 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:196 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:215 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:234 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:253 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:272 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:291 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:319 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:348 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:367 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:391 [error] - Memory leak: prefx
- ./opal/dss/dss_print.c:461 [error] - Memory leak: prefx
- ./opal/mca/base/mca_base_open.c:102 [error] - Deallocating a deallocated pointer: value
- ./opal/mca/crs/blcr/crs_blcr_module.c:791 [error] - Uninitialized variable: pid_str
- ./opal/mca/memory/ptmalloc2/tst-mallocstate.c:75 [error] - Memory leak: p2
- ./opal/mca/timer/altix/timer_altix_component.c:77 [error] - Resource leak: fd
- ./opal/util/daemon_init.c:70 [possible error] - Resource leak: fd
- ./opal/util/malloc.c:113 [error] - Memory leak: addr
- ./opal/util/malloc.c:142 [error] - Memory leak: addr
- ./opal/util/malloc.c:176 [error] - Memory leak: addr
- ./opal/util/opal_environ.c:118 [error] - Memory leak: newvalue
- ./opal/util/output.c:609 [error] - Dangerous usage of 'filename' (strncpy doesn't always 0-terminate it)
- ./orte/mca/ess/base/ess_base_put.c:64 [error] - Memory leak: value
- ./orte/mca/ess/slurm/ess_slurm_module.c:415 [error] - Memory leak: tmp
- ./orte/mca/iof/base/iof_base_setup.c:182 [possible error] - Resource leak: fd
- ./orte/mca/plm/alps/plm_alps_module.c:410 [possible error] - Memory leak: cur_prefix
- ./orte/mca/plm/ccp/plm_ccp_module.c:599 [possible error] - Memory leak: num_procs
- ./orte/mca/plm/process/plm_process_module.c:716 [possible error] - Memory leak: ntlm_auth
- ./orte/mca/plm/slurm/plm_slurm_module.c:324 [error] - Memory leak: jobid_string
- ./orte/mca/ras/alps/ras_alps_module.c:239 [error] - Resource leak: iFd
- ./orte/mca/ras/slurm/ras_slurm_module.c:94 [error] - Memory leak: regexp
- ./orte/mca/ras/slurm/ras_slurm_module.c:100 [error] - Memory leak: node_tasks
- ./orte/mca/ras/tm/ras_tm_module.c:224 [error] - Resource leak: fp
- ./orte/mca/rmaps/rank_file/rmaps_rank_file.c:751 [possible error] - Memory leak: username
- ./orte/mca/snapc/full/snapc_full_app.c:626 [error] - Memory leak: tmp_pid
- ./orte/test/mpi/hello_nodename.c:41 [error] - Memory leak: appstr
- ./orte/test/mpi/hello_nodename.c:41 [error] - Memory leak: unistr
- ./orte/test/mpi/segv.c:24 [error] - Possible null pointer dereference: foo
- ./orte/tools/orte-clean/orte-clean.c:425 [error] - Resource leak: psfile
- ./orte/util/hnp_contact.c:86 [error] - Resource leak: fp
- ./orte/util/hostfile/hostfile.c:206 [error] - Memory leak: node_alias
- ./orte/util/hostfile/hostfile.c:206 [error] - Memory leak: username
- ./orte/util/pre_condition_transports.c:152 [error] - Memory leak: string_key
- ./orte/util/pre_condition_transports.c:152 [error] - Memory leak: format
- ./orte/util/session_dir.c:318 [error] - Memory leak: batchname
- ./orte/util/session_dir.c:318 [possible error] - Memory leak: sessions
- ./orte/util/session_dir.c:318 [error] - Memory leak: user
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:59:44 +0000, based on results by cppcheck 1.41-modif