e2fsprogs/debugfs
Darrick J. Wong 04c66cb25f e2fsck: fix buffer overrun in revoke block scanning
Check the value of r_count to ensure that we never try to read revoke
records past the end of the revoke block.  It turns out that the
journal writing code in debugfs was also playing fast and loose with
the r_count, so fix that as well.

The Coverity bug was 1297508.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-05-16 20:50:21 -04:00
..
Makefile.in misc: use libmagic when libblkid can't identify something 2014-09-20 23:42:19 -04:00
debug_cmds.ct debugfs: add the ability to write transactions to the journal 2014-09-11 16:52:37 -04:00
debugfs.8.in debugfs: optionally create undo file 2015-05-05 10:42:04 -04:00
debugfs.c misc: fix undo file setup 2015-05-16 20:19:52 -04:00
debugfs.h debugfs: add the ability to write transactions to the journal 2014-09-11 16:52:37 -04:00
do_journal.c e2fsck: fix buffer overrun in revoke block scanning 2015-05-16 20:50:21 -04:00
dump.c Merge branch 'maint' into next 2014-08-08 17:02:34 -04:00
extent_cmds.ct debugfs: add the ability to manipulate the extent tree directly 2012-12-24 10:49:41 -05:00
extent_inode.c debugfs: restore and tweak original error messaging 2013-12-30 16:56:19 -05:00
filefrag.c libext2fs: handle inline_data in block iterator function 2014-03-04 08:46:13 -05:00
htree.c debugfs: don't swap htree nodes in-place 2014-11-04 11:26:21 -05:00
icheck.c debugfs: restore and tweak original error messaging 2013-12-30 16:56:19 -05:00
journal.c misc: fix Coverity complaints 2014-09-18 21:47:38 -04:00
logdump.c e2fsck/debugfs: fix descriptor block size handling errors with journal_csum 2014-09-11 12:40:54 -04:00
ls.c debugfs: pretty print encrypted filenames in the ls command 2015-03-08 18:04:04 -04:00
lsdel.c debugfs: fix two warning messages when compiling with LLVM 2014-05-27 13:20:06 -04:00
ncheck.c libext2fs: provide functions to safely access name_len and file_type 2013-06-08 17:03:05 -04:00
quota.c debugfs: fix typo in message 2014-12-02 15:23:55 -05:00
ro_debug_cmds.ct debugfs: add commands to query the quota information 2014-05-13 10:13:19 -04:00
set_fields.c Reserve superblock fields s_lpf_ino and s_encryption_level 2015-04-12 08:51:53 -04:00
unused.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
util.c misc: fix Coverity bugs 2015-05-16 18:32:33 -04:00
xattrs.c debugfs: fix crash in ea_set argument handling 2015-01-27 10:58:17 -05:00
zap.c misc: fix gcc warnings 2014-08-24 12:22:11 -04:00