cppcheck analysis of openmpi_1.4.2-3.dsc
- ./ompi/contrib/vt/vt/extlib/otf/otflib/OTF_Platform.c:244 [error] - Memory leak: buf
- ./ompi/contrib/vt/vt/extlib/otf/otflib/OTF_RBuffer.c:513 [error] - Common realloc mistake: "ret" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:200 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:264 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:282 [error] - Common realloc mistake: "outfilename" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/tools/compwrap/compwrap.cc:718 [error] - Mismatching allocation and deallocation: args
- ./ompi/contrib/vt/vt/tools/compwrap/compwrap.cc:730 [error] - Mismatching allocation and deallocation: args
- ./ompi/contrib/vt/vt/tools/opari/tool/handler.cc:425 [error] - Memory leak: r
- ./ompi/contrib/vt/vt/tools/opari/tool/handler.cc:487 [error] - Memory leak: r
- ./ompi/contrib/vt/vt/tools/opari/tool/handler.cc:704 [error] - Memory leak: r
- ./ompi/contrib/vt/vt/util/util.c:226 [error] - Memory leak: buf
- ./ompi/contrib/vt/vt/vtlib/vt_comp_dyninst.c:279 [error] - Memory leak: shlibs_arg
- ./ompi/contrib/vt/vt/vtlib/vt_comp_gnu.c:234 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/vtlib/vt_mpireq.c:221 [error] - Common realloc mistake: "orig_req_arr" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/vtlib/vt_mpiwrap.c:40 [error] - Common realloc mistake: "my_status_array" nulled but not freed upon failure
- ./ompi/contrib/vt/vt/vtlib/vt_thrd.c:113 [error] - Memory leak: thread
- ./ompi/debuggers/ompi_msgq_dll.c:1155 [error] - Uninitialized variable: data_name
- ./ompi/debuggers/ompi_msgq_dll.c:1156 [error] - Uninitialized variable: data_name
- ./ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:288 [error] - Memory leak: line
- ./ompi/mca/io/romio/romio/adio/ad_bgl/ad_bgl_read.c:33 [error] - Uninitialized variable: len
- ./ompi/mca/io/romio/romio/adio/ad_bgl/ad_bgl_write.c:33 [error] - Uninitialized variable: len
- ./ompi/mca/io/romio/romio/adio/ad_pfs/ad_pfs_fcntl.c:62 [error] - Uninitialized variable: err
- ./ompi/mca/io/romio/romio/adio/ad_xfs/ad_xfs_iwrite.c:121 [error] - Uninitialized variable: error_code
- ./ompi/mca/io/romio/romio/adio/common/system_hints.c:86 [error] - Memory leak: buffer
- ./opal/mca/base/mca_base_open.c:102 [error] - Deallocating a deallocated pointer: value
- ./opal/mca/crs/base/crs_base_fns.c:499 [error] - Common realloc mistake: "local_value" nulled but not freed upon failure
- ./opal/mca/memory/ptmalloc2/opal_ptmalloc2_component.c:106 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./opal/mca/memory/ptmalloc2/tst-mallocstate.c:62 [error] - Common realloc mistake: "p1" nulled but not freed upon failure
- ./opal/mca/memory/ptmalloc2/tst-mallocstate.c:68 [error] - Common realloc mistake: "p1" nulled but not freed upon failure
- ./opal/mca/memory/ptmalloc2/tst-mallocstate.c:75 [error] - Memory leak: p2
- ./opal/mca/memory/ptmalloc2/tst-mallocstate.c:50 [error] - Allocation with malloc, free doesn't release it.
- ./opal/mca/memory/ptmalloc2/tst-mstats.c:74 [error] - Common realloc mistake: "p1" nulled but not freed upon failure
- ./opal/mca/memory/ptmalloc2/tst-mstats.c:93 [error] - Memory leak: p1
- ./opal/mca/memory/ptmalloc2/tst-mstats.c:51 [error] - Allocation with malloc, free doesn't release it.
- ./opal/mca/memory/ptmalloc2/tst-mstats.c:70 [error] - Allocation with malloc, free doesn't release it.
- ./opal/mca/paffinity/linux/plpa/src/plpa-taskset/tokens.c:949 [error] - Memory leak: yyptr
- ./opal/mca/timer/altix/timer_altix_component.c:77 [error] - Resource leak: fd
- ./opal/tools/wrappers/opal_wrapper.c:158 [error] - Common realloc mistake: "options_data" nulled but not freed upon failure
- ./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/os_dirpath.c:291 [error] - Dangerous usage of 'search_path' (strncpy doesn't always 0-terminate it)
- ./opal/util/os_dirpath.c:395 [error] - Dangerous usage of 'search_path' (strncpy doesn't always 0-terminate it)
- ./opal/util/output.c:609 [error] - Dangerous usage of 'filename' (strncpy doesn't always 0-terminate it)
- ./opal/util/printf.c:265 [error] - Memory leak: buf
- ./orte/mca/iof/base/iof_base_setup.c:182 [error] - Resource leak: fd
- ./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] - Null pointer dereference
- ./orte/tools/orte-clean/orte-clean.c:425 [error] - Resource leak: psfile
- ./orte/util/hnp_contact.c:86 [error] - Resource leak: fp
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:17:28 +0000, based on results by cppcheck 1.46