e2fsprogs/debugfs
Theodore Ts'o 393df14769 debugfs: add sanity checking to the string_to_inode() utility function
Otherwise it's possible for a corrupt file system or bad user input to
cause debugfs to crash if the resulting inode number is insanely
large.

This problem was found using American Fuzzy Lop.

Reported-by: Adam Buchbinder <abuchbinder@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2017-07-23 00:45:05 -04:00
..
Android.mk Android.mk: Replace _host suffix with more standard -host suffix 2016-03-15 01:25:11 -04:00
debug_cmds.ct debugfs: add the debugfs copy_inode subcommand 2016-08-31 18:13:16 -04:00
debugfs.8.in debugfs.8: fix name of argument to blocks command 2017-02-16 11:29:30 -05:00
debugfs.c include sys/sysmacros.h as needed 2017-05-19 13:25:59 -04:00
debugfs.h debugfs: add support to properly set and display extended timestamps 2015-11-30 11:42:00 -05:00
do_journal.c Fix Android build warnings 2016-05-29 23:51:08 -04:00
dump.c debugfs: fix rdump so it can start from the root directory 2016-06-02 23:29:07 -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: handle out of memory condition 2015-07-22 00:17:08 -04:00
filefrag.c debugfs: clean up feature test macros with predicate functions 2015-10-24 01:26:35 -04:00
htree.c debugfs: clean up feature test macros with predicate functions 2015-10-24 01:26:35 -04:00
icheck.c debugfs: restore and tweak original error messaging 2013-12-30 16:56:19 -05:00
journal.c debugfs, e2fsck, mke2fs: fix miscellaneous memory leaks detected by ASAN 2016-11-12 09:31:56 -05:00
journal.h debugfs: cleanup gcc -Wall warnings 2015-07-13 16:00:12 -04:00
logdump.c Refactor code to print journal superblock information 2017-02-16 18:54:41 -05:00
ls.c debugfs: with ls -l, include space between size and date 2017-02-16 11:31:02 -05:00
lsdel.c Fix various clang and gcc -Wall warnings 2016-03-18 12:45:19 -04:00
Makefile.in debugfs: improve how we display and parse extended attribute values 2017-01-28 21:11:19 -05:00
ncheck.c libext2fs: provide functions to safely access name_len and file_type 2013-06-08 17:03:05 -04:00
quota.c e2fsprogs: enable project quota reporting in debugfs 2017-01-30 12:34:16 -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 Fix Android build warnings 2016-05-29 23:51:08 -04:00
unused.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
util.c debugfs: add sanity checking to the string_to_inode() utility function 2017-07-23 00:45:05 -04:00
xattrs.c misc: fix all the compiler warnings 2017-03-03 10:02:14 -05:00
zap.c misc: fix gcc warnings 2014-08-24 12:22:11 -04:00