cppcheck analysis of lam_7.1.2-2.dsc
- ./otb/mpirun/mpirun.c:655 [error] - Memory leak: fmtbuf
- ./otb/mpirun/mpirun.c:836 [error] - Memory leak: procStatStruct
- ./otb/sys/bufferd/bufferd.c:284 [error] - Common realloc mistake: "seq" nulled but not freed upon failure
- ./otb/sys/bufferd/bufferd.c:789 [error] - Common realloc mistake: "seq" nulled but not freed upon failure
- ./otb/sys/dli_inet/dli_inet.c:489 [error] - Common realloc mistake: "dilinks" nulled but not freed upon failure
- ./otb/sys/dlo_inet/dlo_inet.c:461 [error] - Common realloc mistake: "dolinks" nulled but not freed upon failure
- ./romio/adio/ad_hfs/ad_hfs_fcntl.c:221 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./romio/adio/ad_hfs/ad_hfs_fcntl.c:221 [error] - Invalid number of character ({) when these macros are defined: 'PRINT_ERR_MSG'.
- ./romio/test/noncontig_coll2.c:247 [error] - Uninitialized variable: p
- ./share/args/ndi_parse.c:388 [error] - Memory leak: nodes
- ./share/args/parse_id.c:613 [error] - Memory leak: nodes
- ./share/boot/asc_parse.c:344 [error] - Memory leak: progname
- ./share/boot/bhostparse.c:216 [error] - Memory leak: host
- ./share/boot/bhostparse.c:135 [error] - Memory leak: linecopy
- ./share/boot/hbootparse.c:156 [error] - Memory leak: pathprefix
- ./share/etc/mempool.c:106 [error] - Common realloc mistake: "types" nulled but not freed upon failure
- ./share/etc/registry.c:150 [error] - syntax error
- ./share/etc/show_help.c:505 [error] - Common realloc mistake: "args" nulled but not freed upon failure
- ./share/etc/show_help.c:514 [error] - Common realloc mistake: "args" nulled but not freed upon failure
- ./share/impi/iinit.c:279 [error] - Memory leak: orig_procs
- ./share/memory/ptmalloc2/tst-mallocstate.c:62 [error] - Common realloc mistake: "p1" nulled but not freed upon failure
- ./share/memory/ptmalloc2/tst-mallocstate.c:68 [error] - Common realloc mistake: "p1" nulled but not freed upon failure
- ./share/memory/ptmalloc2/tst-mallocstate.c:75 [error] - Memory leak: p2
- ./share/memory/ptmalloc2/tst-mallocstate.c:50 [error] - Allocation with malloc, free doesn't release it.
- ./share/mpi/f77/startall_f.c:56 [error] - Possible null pointer dereference: rq
- ./share/mpi/f77/tcreatestruct_f.c:55 [error] - Possible null pointer dereference: tp
- ./share/mpi/f77/testall_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/f77/testany_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/f77/testsome_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/f77/thindex_f.c:56 [error] - Possible null pointer dereference: dp
- ./share/mpi/f77/tstruct_f.c:67 [error] - Possible null pointer dereference: tp
- ./share/mpi/f77/tstruct_f.c:68 [error] - Possible null pointer dereference: dp
- ./share/mpi/f77/waitall_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/f77/waitany_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/f77/waitsome_f.c:56 [error] - Possible null pointer dereference: reqs
- ./share/mpi/lamclocks.c:103 [error] - Memory leak: leaders
- ./share/mpi/lamprocs.c:326 [error] - Common realloc mistake: "lam_procs" nulled but not freed upon failure
- ./share/mpi/spawn.c:406 [error] - Memory leak: ecodes
- ./share/mpi/spawn.c:624 [error] - Memory leak: world
- ./share/mpi/spawn.c:638 [error] - Memory leak: worldout
- ./share/mpi/spawn.c:895 [error] - Memory leak: routes
- ./share/mpi/spawnmult.c:549 [error] - Memory leak: world
- ./share/mpi/spawnmult.c:563 [error] - Memory leak: worldout
- ./share/mpi/tdarray.c:271 [error] - Memory leak: offsets
- ./share/mpi/tdarray.c:271 [error] - Memory leak: coords
- ./share/mpi/wfence.c:115 [error] - Memory leak: reqs
- ./share/mpi/wstart.c:110 [error] - Memory leak: reqs
- ./share/ssi/coll/lam_basic/src/ssi_coll_lam_basic.c:300 [error] - Uninitialized variable: size
- ./share/ssi/coll/lam_basic/src/ssi_coll_lam_basic_reduce_scatter.c:160 [error] - Memory leak: disps
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:189 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:192 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:196 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:197 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:198 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:199 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:200 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:201 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:202 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:203 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/shmem/src/ssi_coll_shmem.c:204 [error] - Possible null pointer dereference: lcd
- ./share/ssi/coll/smp/src/ssi_coll_smp.c:364 [error] - Memory leak: temp_array_for_holding_global_ranks
- ./share/ssi/coll/smp/src/ssi_coll_smp_allgather.c:113 [error] - Memory leak: global_disp
- ./share/ssi/coll/smp/src/ssi_coll_smp_allgatherv.c:175 [error] - Memory leak: global_disp
- ./share/ssi/coll/smp/src/ssi_coll_smp_reduce_scatter.c:233 [error] - Memory leak: global_disp
- ./share/ssi/crlam/blcr/src/ssi_crlam_blcr.c:714 [error] - Memory leak: cr_file
- ./share/ssi/crlam/blcr/src/ssi_crlam_blcr.c:714 [error] - Memory leak: cr_restart
- ./share/ssi/crlam/blcr/src/ssi_crlam_blcr.c:725 [error] - Memory leak: asc_line
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:223 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:240 [error] - Common realloc mistake: "tmp" nulled but not freed upon failure
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:219 [error] - Memory leak: tmp_argv
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:656 [error] - Memory leak: cr_self_file
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:656 [error] - Memory leak: cr_self_restart
- ./share/ssi/crlam/self/src/ssi_crlam_self.c:667 [error] - Memory leak: asc_line
- ./share/ssi/rpi/ib/src/ssi_rpi_ib_hashmap.c:83 [error] - Memory leak: lmap.root_ptr
- ./tools/hboot/hboot.c:211 [error] - Memory leak: prefix
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 15:58:15 +0000, based on results by cppcheck 1.46