cppcheck analysis of redhat-cluster_3.0.12-2.dsc
- ./cman/daemon/ais.c:331 [error] - Common realloc mistake: "saved_left_list" nulled but not freed upon failure
- ./cman/daemon/barrier.c:252 [error] - Memory leak: barrier
- ./cman/qdisk/scandisk.c:276 [error] - Resource leak: fp
- ./cman/qdisk/scandisk.c:285 [error] - Memory leak: startnode
- ./cman/qdisk/scandisk.c:688 [error] - Memory leak: startnode
- ./config/tools/ccs_tool/editconf.c:1060 [error] - Memory leak: fencename
- ./config/tools/ldap/rng2ldif/value-list.c:115 [error] - Resource leak: fp
- ./dlm/libdlmcontrol/main.c:129 [error] - Memory leak: reply
- ./dlm/libdlmcontrol/main.c:275 [error] - Memory leak: reply
- ./dlm/libdlmcontrol/main.c:333 [error] - Memory leak: reply
- ./dlm/tests/usertest/asttest.c:242 [error] - Null pointer dereference
- ./dlm/tool/main.c:959 [error] - Resource leak: file
- ./fence/agents/xvm/simple_auth.c:188 [error] - Resource leak: devrand
- ./fence/fenced/main.c:69 [error] - Common realloc mistake: "client" nulled but not freed upon failure
- ./fence/fenced/main.c:71 [error] - Common realloc mistake: "pollfd" nulled but not freed upon failure
- ./fence/fenced/main.c:880 [error] - Resource leak: fd
- ./fence/libfenced/main.c:190 [error] - Memory leak: reply
- ./fence/libfenced/main.c:321 [error] - Memory leak: reply
- ./gfs-kernel/src/gfs/lock_dlm_lock.c:148 [error] - Buffer access out-of-bounds
- ./gfs/gfs_fsck/bio.c:28 [error] - Memory leak: bh
- ./gfs/gfs_fsck/inode.c:24 [error] - Memory leak: ip
- ./gfs/gfs_fsck/link.c:67 [error] - Memory leak: ii
- ./gfs/gfs_fsck/pass1.c:713 [error] - Memory leak: newdi
- ./gfs/gfs_fsck/pass1b.c:342 [error] - Memory leak: id
- ./gfs/gfs_fsck/pass1b.c:369 [error] - Memory leak: b
- ./gfs/gfs_grow/main.c:791 [error] - Resource leak: fp
- ./gfs/gfs_jadd/main.c:727 [error] - Resource leak: fp
- ./gfs/libgfs/bio.c:30 [error] - Memory leak: bh
- ./gfs/libgfs/inode.c:20 [error] - Memory leak: ip
- ./gfs/tests/filecon2/filecon2_server.c:554 [error] - Common realloc mistake: "sock" nulled but not freed upon failure
- ./gfs/tests/filecon2/filecon2_server.c:557 [error] - Common realloc mistake: "ssin" nulled but not freed upon failure
- ./gfs2/fsck/inode_hash.c:54 [error] - Memory leak: data
- ./gfs2/fsck/pass2.c:575 [error] - Memory leak: filename
- ./gfs2/fsck/pass2.c:767 [error] - Memory leak: filename
- ./gfs2/fsck/pass3.c:47 [error] - Memory leak: filename
- ./gfs2/fsck/util.c:264 [error] - Memory leak: found_id
- ./gfs2/fsck/util.c:317 [error] - Memory leak: data
- ./group/daemon/joinleave.c:106 [error] - Memory leak: a
- ./group/daemon/main.c:362 [error] - Common realloc mistake: "client" nulled but not freed upon failure
- ./group/daemon/main.c:364 [error] - Common realloc mistake: "pollfd" nulled but not freed upon failure
- ./group/daemon/main.c:883 [error] - Resource leak: fd
- ./group/dlm_controld/main.c:76 [error] - Common realloc mistake: "client" nulled but not freed upon failure
- ./group/dlm_controld/main.c:78 [error] - Common realloc mistake: "pollfd" nulled but not freed upon failure
- ./group/dlm_controld/main.c:1111 [error] - Resource leak: fd
- ./group/gfs_controld/main.c:74 [error] - Common realloc mistake: "client" nulled but not freed upon failure
- ./group/gfs_controld/main.c:76 [error] - Common realloc mistake: "pollfd" nulled but not freed upon failure
- ./group/gfs_controld/main.c:1358 [error] - Resource leak: fd
- ./group/libgfscontrol/main.c:129 [error] - Memory leak: reply
- ./group/libgfscontrol/main.c:270 [error] - Memory leak: reply
- ./group/libgfscontrol/main.c:328 [error] - Memory leak: reply
- ./group/test/client.c:36 [error] - Buffer overrun possible for long cmd-line args
- ./rgmanager/src/clulib/tmgr.c:89 [error] - Memory leak: newthread
- ./rgmanager/src/daemons/fo_domain.c:372 [error] - Memory leak: tmpset
- ./rgmanager/src/utils/clustat.c:259 [error] - Common realloc mistake: "rsl" 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 Wed, 22 Dec 2010 00:58:12 +0000, based on results by cppcheck 1.46