cppcheck analysis of ceph_0.25.2-1.dsc
- ./src/client/Client.cc:4459 [error] - Resource leak: r
- ./src/client/SyntheticClient.cc:1940 [error] - Memory leak: buf
- ./src/client/SyntheticClient.cc:2000 [error] - Memory leak: buf
- ./src/client/SyntheticClient.cc:2048 [error] - Memory leak: buf
- ./src/client/test_ioctls.c:91 [error] - Resource leak: fd
- ./src/cmds.cc:151 [error] - Possible null pointer dereference: messenger - otherwise it is redundant to check if messenger is null at line 153
- ./src/common/ConfUtils.cc:746 [error] - Common realloc mistake: "line" nulled but not freed upon failure
- ./src/common/ConfUtils.cc:372 [error] - Memory leak: eq
- ./src/common/Thread.cc:60 [error] - Resource leak: dir
- ./src/common/config.cc:712 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/common/fiemap.cc:71 [error] - Common realloc mistake: "fiemap" nulled but not freed upon failure
- ./src/common/lockdep.cc:147 [error] - Memory leak: bt
- ./src/crushtool.cc:840 [error] - Uninitialized variable: f
- ./src/gtest/fused-src/gtest/gtest-all.cc:4945 [error] - Null pointer dereference
- ./src/gtest/src/gtest.cc:3605 [error] - Null pointer dereference
- ./src/gtest/test/gtest_output_test_.cc:438 [error] - Null pointer dereference
- ./src/librados.cc:1157 [error] - Memory leak: onack
- ./src/librados.cc:1174 [error] - Memory leak: onack
- ./src/librados.cc:1211 [error] - Memory leak: onack
- ./src/librados.cc:1211 [error] - Memory leak: onsafe
- ./src/librados.cc:1755 [error] - Memory leak: rd
- ./src/mds/Server.cc:3040 [error] - Memory leak: layout
- ./src/mon/MonClient.cc:176 [error] - Possible null pointer dereference: smessenger
- ./src/mon/MonClient.cc:178 [error] - Possible null pointer dereference: smessenger
- ./src/mon/MonClient.cc:204 [error] - Possible null pointer dereference: smessenger
- ./src/mount/mount.ceph.c:266 [error] - Resource leak: fd
- ./src/osdc/rados_bencher.h:498 [error] - Memory leak: newName
- ./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
- ./src/test/TestSignalHandlers.cc:42 [error] - Null pointer dereference
- ./src/testlibrbd.c:120 [error] - The given size 80 is mismatching
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, 04 Apr 2011 06:58:02 +0000, based on results by cppcheck 1.46