cppcheck analysis of ceph_0.24.3-2.dsc
- ./src/client/Client.cc:4435 [error] - Resource leak: r
- ./src/client/SyntheticClient.cc:1935 [error] - Memory leak: buf
- ./src/client/SyntheticClient.cc:1995 [error] - Memory leak: buf
- ./src/client/SyntheticClient.cc:2043 [error] - Memory leak: buf
- ./src/client/test_ioctls.c:91 [error] - Resource leak: fd
- ./src/cmds.cc:112 [error] - Possible null pointer dereference: messenger - otherwise it is redundant to check if messenger is null at line 114
- ./src/common/ConfUtils.cc:666 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./src/common/ConfUtils.cc:371 [error] - Memory leak: eq
- ./src/common/fiemap.cc:66 [error] - Common realloc mistake: "fiemap" nulled but not freed upon failure
- ./src/common/lockdep.cc:154 [error] - Memory leak: bt
- ./src/config.cc:934 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/crushtool.cc:839 [error] - Uninitialized variable: f
- ./src/librados.cc:927 [error] - Memory leak: onack
- ./src/librados.cc:943 [error] - Memory leak: onack
- ./src/librados.cc:961 [error] - Memory leak: onack
- ./src/librados.cc:961 [error] - Memory leak: onsafe
- ./src/mds/Server.cc:3034 [error] - Memory leak: layout
- ./src/mon/MonClient.cc:173 [error] - Possible null pointer dereference: smessenger
- ./src/mon/MonClient.cc:175 [error] - Possible null pointer dereference: smessenger
- ./src/mon/MonClient.cc:201 [error] - Possible null pointer dereference: smessenger
- ./src/mount/mount.ceph.c:266 [error] - Resource leak: fd
- ./src/osdc/rados_bencher.h:192 [error] - Memory leak: newName
- ./src/osdc/rados_bencher.h:352 [error] - Memory leak: newName
- ./src/rbd.cc:778 [error] - Resource leak: fd
- ./src/rgw/rgw_acl.cc:321 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/rgw/rgw_fs.cc:515 [error] - Memory leak: state
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, 22 Mar 2011 06:58:03 +0000, based on results by cppcheck 1.46