]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: reject 64bit badblocks numbers
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 23 Oct 2013 23:43:32 +0000 (19:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 23 Oct 2013 23:56:21 +0000 (19:56 -0400)
commitd87f198ca3250c9dff6a4002cd2bbbb5ab6f113a
tree0ae9a9a0efc73244e3e1d7a814b3e8fa8660bd7c
parentcecfb4c04227dd5803c24b311d92a80e91b7b380
libext2fs: reject 64bit badblocks numbers

Don't accept block numbers larger than 2^32 for the badblocks list,
and don't run badblocks on them either.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/read_bb_file.c
misc/badblocks.c