cppcheck analysis of glusterfs_3.1.3-1.dsc
- ./contrib/macfuse/mount_darwin.c:309 [error] - Memory leak: fdnam
- ./contrib/uuid/gen_uuid.c:217 [error] - Resource leak: fd
- ./glusterfsd/src/glusterfsd-mgmt.c:309 [error] - Resource leak: oldvolfile_fp
- ./libglusterfs/src/statedump.c:399 [error] - Resource leak: fp
- ./rpc/rpc-lib/src/rpc-clnt.c:757 [error] - Possible null pointer dereference: req - otherwise it is redundant to check if req is null at line 759
- ./xlators/mgmt/glusterd/src/glusterd-op-sm.c:3425 [error] - Buffer access out-of-bounds: buf
- ./xlators/mgmt/glusterd/src/glusterd-op-sm.c:3525 [error] - snprintf size is out of bounds
- ./xlators/mgmt/glusterd/src/glusterd-op-sm.c:3571 [error] - snprintf size is out of bounds
- ./xlators/mgmt/glusterd/src/glusterd-op-sm.c:3604 [error] - snprintf size is out of bounds
- ./xlators/mgmt/glusterd/src/glusterd-op-sm.c:4457 [error] - Resource leak: file
- ./xlators/mount/fuse/src/fuse-bridge.c:3062 [error] - instance of "fuse_first_lookup" object destroyed immediately
- ./xlators/storage/posix/src/posix.c:4150 [error] - Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 4154
- ./xlators/storage/posix/src/posix.c:4151 [error] - Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 4154
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 25 Mar 2011 06:58:04 +0000, based on results by cppcheck 1.46