]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs: add sanity checking to the string_to_inode() utility function
authorTheodore Ts'o <tytso@mit.edu>
Sun, 23 Jul 2017 04:45:05 +0000 (00:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 23 Jul 2017 04:45:05 +0000 (00:45 -0400)
commit393df147698962761824179c00840336caf3ffd8
tree752e58ca1fda47b1f70b2eddacfdb8d867408e31
parentbf445b4e68a053d0b5eaf8da0f61a4c9d13fb5a8
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>
debugfs/util.c