cppcheck analysis of glusterfs_3.0.5-1.dsc
- ./libglusterfs/src/dict.c:179 [error] - Memory leak: newdata
- ./libglusterfs/src/fd.c:464 [error] - Possible null pointer dereference: fd - otherwise it is redundant to check if fd is null at line 466
- ./libglusterfs/src/statedump.c:184 [error] - Resource leak: fp
- ./libglusterfs/src/y.tab.c:2096 [error] - Common realloc mistake: "cmd" nulled but not freed upon failure
- ./libglusterfs/src/y.tab.c:2101 [error] - Common realloc mistake: "result" nulled but not freed upon failure
- ./libglusterfs/src/y.tab.c:1743 [error] - Memory leak: node
- ./libglusterfs/src/y.tab.c:2067 [error] - Memory leak: cmd
- ./libglusterfsclient/src/libglusterfsclient-dentry.c:249 [error] - Memory leak: resolved
- ./libglusterfsclient/src/libglusterfsclient.c:5886 [error] - Possible null pointer dereference: fd - otherwise it is redundant to check if fd is null at line 5890
- ./libglusterfsclient/src/libglusterfsclient.c:7342 [error] - Memory leak: tmppath
- ./xlators/cluster/dht/src/switch.c:858 [error] - Memory leak: dup_str
- ./xlators/storage/posix/src/posix.c:4732 [error] - Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 4736
- ./xlators/storage/posix/src/posix.c:4733 [error] - Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 4736
- ./xlators/storage/posix/src/posix.c:1072 [error] - Common realloc mistake: "entry_path" 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 Mon, 20 Dec 2010 21:14:22 +0000, based on results by cppcheck 1.46