Skip to content

UBIFS: Fix code issues detected by Fortify

hujianyang linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4UBIFS: Add missing error handling in create_default_filesystem()fs/ubifs/sb.c+2 -00 replies
2/4UBIFS: Add missing error handling in dump_lpt_leb()fs/ubifs/lpt_commit.c+5 -00 replies
3/4UBIFS: Add missing break in dbg_chk_pnode()fs/ubifs/lpt.c+2 -00 replies
4/4UBIFS: Remove useless statementsfs/ubifs/journal.c fs/ubifs/lpt.c fs/ubifs/lpt_commit.c +5 more+5 -102 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] UBIFS: Fix code issues detected by Fortify

With the help of Fortify, I found some problems in source code. I would like to fix them in this series of patches.

hujianyang (4):
UBIFS: Add missing error handling in create_default_filesystem()
UBIFS: Add missing error handling in dump_lpt_leb()
UBIFS: Add missing break in dbg_chk_pnode()
UBIFS: Remove useless statements

 fs/ubifs/journal.c    | 3 +++
 fs/ubifs/lpt.c        | 5 ++---
 fs/ubifs/lpt_commit.c | 7 +++++--
 fs/ubifs/orphan.c     | 1 -
 fs/ubifs/sb.c         | 4 +++-
 fs/ubifs/super.c      | 2 +-
 fs/ubifs/tnc.c        | 1 -
 fs/ubifs/tnc_commit.c | 1 -
 8 files changed, 14 insertions(+), 10 deletions(-)
Signature · 1 line
1.8.1.4