cppcheck analysis of btrfs-tools_0.19+20100601-3.dsc
- ./btrfs-map-logical.c:221 [error] - Memory leak: output_file
- ./btrfs_cmds.c:868 [error] - Common realloc mistake: "sargs" nulled but not freed upon failure
- ./btrfs_cmds.c:339 [error] - Memory leak: newname
- ./btrfs_cmds.c:345 [error] - Memory leak: dstdir
- ./btrfs_cmds.c:412 [error] - Memory leak: dname
- ./btrfs_cmds.c:414 [error] - Memory leak: vname
- ./btrfs_cmds.c:468 [error] - Memory leak: newname
- ./btrfs_cmds.c:470 [error] - Memory leak: dstdir
- ./btrfs_cmds.c:864 [error] - Memory leak: sargs
- ./btrfsck.c:1528 [error] - Memory leak: ref_root
- ./btrfsck.c:1641 [error] - Memory leak: rec
- ./btrfsck.c:2219 [error] - Memory leak: back
- ./btrfsck.c:2265 [error] - Memory leak: back
- ./btrfsctl.c:123 [error] - Memory leak: snap_location
- ./btrfsctl.c:128 [error] - Memory leak: name
- ./convert.c:1142 [error] - Memory leak: trans
- ./dir-test.c:50 [error] - Uninitialized variable: res
- ./disk-io.c:429 [error] - Memory leak: log_root
- ./disk-io.c:623 [error] - Memory leak: tree_root
- ./disk-io.c:623 [error] - Memory leak: extent_root
- ./disk-io.c:623 [error] - Memory leak: chunk_root
- ./disk-io.c:623 [error] - Memory leak: dev_root
- ./disk-io.c:623 [error] - Memory leak: csum_root
- ./disk-io.c:623 [error] - Memory leak: fs_info
- ./file-item.c:332 [error] - Uninitialized variable: ret
- ./mkfs.c:476 [error] - Memory leak: trans
- ./random-test.c:47 [error] - Uninitialized variable: res
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:12:45 +0000, based on results by cppcheck 1.46