e2fsprogs/misc
Darrick J. Wong e661d28151 e4defrag: don't crash if umounts the filesystem races with us
If someone umounts the filesystem between statfs64() and the getmntent()
iteration, we can exit the loop having never set mnt_type, and strcmp
can crash.  Fix the potential NULL dereference.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-12-12 13:07:34 -05:00
..
badblocks.8.in badblocks: update man page's description of the -v option 2011-09-15 19:33:34 -04:00
badblocks.c libext2fs: reject 64bit badblocks numbers 2013-10-23 19:56:21 -04:00
base_device.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
base_device.tst ChangeLog, Makefile.in, base_device.c, base_device.tst, fsck.c, fsck.h: 2000-12-03 06:33:56 +00:00
blkid.8.in blkid: On the man page, show option arguments in the descriptions. 2008-08-14 13:29:50 -04:00
blkid.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
chattr.1.in chattr: clarify that the compression flags are not supported by ext4 2013-05-13 09:10:16 -04:00
chattr.c chattr: allow clearing the extent flag 2013-02-22 22:23:05 -05:00
dumpe2fs.8.in dumpe2fs.8.in: add man page warning about mounted file systems 2011-10-08 13:50:10 -04:00
dumpe2fs.c dumpe2fs: fix printing of block offsets for 64-bit file systems 2013-12-02 21:51:24 -05:00
e2freefrag.8.in e2freefrag: Update manpage to include e2fsprogs version and release date 2009-08-22 23:41:49 -04:00
e2freefrag.c e2freefrag: use 64-bit rbtree bitmaps 2012-10-04 23:30:23 -04:00
e2freefrag.h e2freefrag: Improve output to include be more like xfs_db's freesp -s 2009-07-24 18:33:46 -04:00
e2image.8.in e2image: complain if running e2image -r or -Q on a mounted filesystem 2013-10-11 21:49:16 -04:00
e2image.c misc: don't leak file descriptors (on error paths) 2013-12-12 13:05:52 -05:00
e2initrd_helper.c Fix gcc -Wall nits 2013-01-01 13:28:27 -05:00
e2label.8.in Update man pages to include ext4 in the synposis, instead of just "ext2/ext3" 2009-05-30 12:34:28 -04:00
e2label.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
e2undo.8.in Add e2undo command 2008-04-27 19:42:05 -04:00
e2undo.c e2undo: cast dptr to blk64_t to retrieve block number 2011-11-18 22:14:24 -05:00
e4defrag.8.in e4defrag: update man page about -c option 2010-12-13 09:59:07 -05:00
e4defrag.c e4defrag: don't crash if umounts the filesystem races with us 2013-12-12 13:07:34 -05:00
filefrag.8.in filefrag: improvements to filefrag FIEMAP handling 2012-12-29 22:41:41 -05:00
filefrag.c misc: don't leak file descriptors (on error paths) 2013-12-12 13:05:52 -05:00
findfs.8.in Update version string for WIP release. 2002-08-18 03:38:15 -04:00
findsuper.c Pass the gettext() function to libcom_err 2011-10-05 01:00:30 -04:00
fsck.8.in Make fsck ignore mounted filesystems if given the -M option 2008-02-17 17:35:46 -05:00
fsck.c fsck: don't include sys/signal.h for portability reasons 2012-04-05 15:21:49 -07:00
fsck.h Fix miscellaneous gcc -Wall warnings 2008-03-17 23:17:13 -04:00
ismounted.c misc: cleanup unused variables on MacOS 2012-12-29 17:28:37 -05:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
logsave.8.in * Add support for the -a and -s options to logsave. 2003-04-16 14:05:06 -04:00
logsave.c logsave: fix fd leak which could cause logsave to hang 2012-07-23 18:45:23 -04:00
lsattr.1.in chattr.1.in: Clarify man page. 2004-01-31 20:27:36 -05:00
lsattr.c Pass the gettext() function to libcom_err 2011-10-05 01:00:30 -04:00
Makefile.in e2fsprogs: add (optional) sparse checking to the build 2013-10-11 23:12:40 -04:00
mke2fs-hurd.conf Add "big" and "huge" types to mke2fs.conf 2011-10-03 23:46:17 -04:00
mke2fs.8.in mke2fs: clarify inode ratio in man page 2013-10-15 23:37:54 -04:00
mke2fs.c mke2fs: don't leak memory (on error path) 2013-12-12 13:06:46 -05:00
mke2fs.conf.5.in mke2fs: clarify mke2fs and mke2fs.conf man pages 2013-06-15 21:19:39 -04:00
mke2fs.conf.in mke2fs.conf: allow use of a custom mke2fs.conf file 2012-03-26 21:36:20 -07:00
mklost+found.8.in chattr.1.in: Clarify man page. 2004-01-31 20:27:36 -05:00
mklost+found.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
nls-enable.h Fix more spelling errors found by translators and add pluralization 2011-10-09 17:54:23 -04:00
partinfo.c Pass the gettext() function to libcom_err 2011-10-05 01:00:30 -04:00
profile-to-c.awk Compile the default mke2fs.conf into mke2fs program 2007-07-04 14:27:30 -04:00
tune2fs.8.in Fix spelling typo's in man pages for tune2fs and mke2fs 2012-07-14 19:58:06 -04:00
tune2fs.c tune2fs: more respect for quota config option 2013-10-14 09:03:20 -04:00
util.c mke2fs: set s_max_mnt_count to -1 by default 2011-09-28 23:20:56 -04:00
util.h mke2fs: set s_max_mnt_count to -1 by default 2011-09-28 23:20:56 -04:00
uuidd.8.in Fix the pathname of /var/lib/uuidd/uuidd.pid in uuidd man page. 2008-01-19 18:13:14 -05:00
uuidd.c Fix more spelling errors found by translators and add pluralization 2011-10-09 17:54:23 -04:00
uuidd.rc Add uuidd daemon to prevent duplicate time-based UUID's 2007-12-16 17:28:46 -05:00
uuidgen.1.in Fix typo and clarify the uuidgen man page 2007-08-20 21:46:19 -04:00
uuidgen.c uuidgen: don't use set_com_err_gettext() 2011-10-05 15:03:59 -04:00