Skip to content

OMFS bug fixes

Bob Copeland linux-fsdevel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4omfs: fix memory leakfs/omfs/inode.c+2 -00 replies
2/4omfs: check bounds on block numbers before passing to sb_breadfs/omfs/dir.c fs/omfs/file.c fs/omfs/inode.c +1 more+29 -290 replies
3/4omfs: refuse to mount if bitmap pointer is obviously wrongfs/omfs/inode.c+9 -00 replies
4/4omfs: sanity check cluster sizefs/omfs/inode.c fs/omfs/omfs_fs.h+7 -00 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] OMFS bug fixes

This series of patches fixes a memory leak on mount failures of OMFS, and various crashes that were found with fuzzed disk images some time ago. All patches passed omfsprogs test suite.

Bob Copeland (3):
omfs: check bounds on block numbers before passing to sb_bread
omfs: refuse to mount if bitmap pointer is obviously wrong
omfs: sanity check cluster size

Davidlohr Bueso (1):
omfs: fix memory leak

 fs/omfs/dir.c     |   22 ++++++++--------------
 fs/omfs/file.c    |    8 ++++----
 fs/omfs/inode.c   |   44 +++++++++++++++++++++++++++++++++-----------
 fs/omfs/omfs.h    |    1 +
 fs/omfs/omfs_fs.h |    1 +
 5 files changed, 47 insertions(+), 29 deletions(-)