Skip to content

e2fsprogs: Misc cleanups & fixes

Eric Sandeen linux-ext4 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 35 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/25libext2: Fix EXT2_LIB_SOFTSUPP maskinglib/ext2fs/openfs.c+2 -21 reply
2/25e2fsprogs: Remove impossible name_len tests.debugfs/dump.c debugfs/htree.c debugfs/ls.c +2 more+3 -142 replies
3/25fsck: fix -C option parsingmisc/fsck.c+1 -11 reply
4/25mke2fs: remove impossible tests for null usage_typesmisc/mke2fs.c+2 -51 reply
5/25libext2: move buf variable completely under ifdeflib/ext2fs/ext_attr.c+4 -31 reply
6/25libext2fs: Potential null ptr deref in undo_err_handler_initlib/ext2fs/undo_io.c+2 -11 reply
7/25e2fsck: handle null fs in print_pathname()e2fsck/message.c+3 -21 reply
8/25e2fsprogs: annotate intentional fallthroughs in case statementslib/e2p/feature.c lib/e2p/mntopts.c lib/e2p/parse_num.c +2 more+10 -01 reply
9/25uuidd: Add missing break to option case statementmisc/uuidd.c+1 -02 replies
10/25freefrag: fix up getopt case statementmisc/e2freefrag.c+1 -31 reply
11/25libe2p: reach unreachable codelib/e2p/setflags.c+4 -31 reply
12/25e2fsck: Don't store old_op from ehandler_operation if we don't restore it.e2fsck/pass1.c e2fsck/pass2.c+2 -41 reply
13/25e2fsprogs: Fix some error cleanup path bugslib/ext2fs/dblist.c lib/ext2fs/inode.c lib/ext2fs/inode_io.c +3 more+11 -111 reply
14/25subst: Fix free of uninit pointersutil/subst.c+1 -41 reply
15/25filefrag: Fix uninitialized "expected" valuemisc/filefrag.c+3 -21 reply
16/25e2fsck: remove extraneous memsete2fsck/dirinfo.c+0 -11 reply
17/25mke2fs: Do not let -t or -T be specified more than oncemisc/mke2fs.c+10 -03 replies
18/25e2initrd_helper: Fix memory leak on errormisc/e2initrd_helper.c+7 -41 reply
19/25libext2: Fix leaks in write_bitmaps on error returnslib/ext2fs/rw_bitmaps.c+19 -91 reply
20/25test_icount: fclose() before exittests/progs/test_icount.c+2 -01 reply
21/25e2fsck: Fix leaks in error pathse2fsck/profile.c+2 -02 replies
22/25tune2fs: handle inode and/or block bitmap read failures in resize_inode()misc/tune2fs.c+13 -21 reply
23/25e2fsprogs: Don't try to close an fd which is negativee2fsck/dirinfo.c e2fsck/unix.c misc/logsave.c+12 -61 reply
24/25e4defrag: Check error return of sysconf()misc/e4defrag.c+4 -11 reply
25/25mke2fs: free tdb_dir string if it came from the profilemisc/mke2fs.c+9 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/25] e2fsprogs: Misc cleanups & fixes

I ran Coverity over e2fsprogs this week, hoping to find any recent-ish flaws, but most of what it came up with seems longstanding. I guess that's a good sign for the recent work, anyway!

Some of these are just tidyups, some are bugfixes. It gets the defect count down to around 25 from 70 to start with, but I'll need to take a deep breath before tackling the rest.

Thanks,
-Eric