[Ocfs2-tools-devel] [PATCH 0/6] ocfs2-tools-1.8.4: Check the validity of variables before use
piaojun
piaojun at huawei.com
Wed Mar 25 23:32:17 PDT 2015
When I was scanning the code of ocfs2-tools-1.8.4 with coverity, some
problems were found. The summarization of the problems are listed below:
Signed-off-by: Jun Piao <piaojun at huawei.com>
Reviewed-by: Alex Chen <alex.chen at huawei.com>
[PATCH 1/6] debugfs.ocfs2: Check the validity of variables before use
[PATCH 2/6] fsck.ocfs2: Check the validity of variables before use
[PATCH 3/6] mkfs.ocfs2: Check the validity of variables before use
[PATCH 4/6] extras: Check the validity of variables before use
[PATCH 5/6] o2info.ocfs2: Check the validity of variables before use
[PATCH 6/6] tunefs.ocfs2: Check the validity of variables before use
debugfs.ocfs2/commands.c | 7 +++++--
debugfs.ocfs2/dump.c | 19 +++++++++++++++----
debugfs.ocfs2/dump_dlm_locks.c | 16 +++++++++++-----
debugfs.ocfs2/main.c | 12 ++++++++++++
debugfs.ocfs2/utils.c | 3 ++-
extras/find_hardlinks.c | 17 ++++++++++++++---
fsck.ocfs2/icount.c | 3 ++-
fsck.ocfs2/pass0.c | 2 ++
fsck.ocfs2/pass1.c | 6 ++++--
fsck.ocfs2/pass1b.c | 1 +
fsck.ocfs2/refcount.c | 8 +++++++-
mkfs.ocfs2/mkfs.c | 13 +++++++++----
o2info/o2info.c | 3 ++-
o2info/operations.c | 17 ++++++++++++++---
tunefs.ocfs2/feature_indexed_dirs.c | 3 ++-
tunefs.ocfs2/feature_inline_data.c | 2 +-
tunefs.ocfs2/feature_metaecc.c | 2 ++
17 files changed, 105 insertions(+), 29 deletions(-)
More information about the Ocfs2-tools-devel
mailing list