commit | 1e7451493ed67ae94ba5c1d2bed059527bc9848d | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 12 12:40:31 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Dec 12 12:40:58 2013 -0500 |
tree | fc66557fb3b68866387d543905ef2e4f569508f4 | |
parent | 57d4fb66d237fd8b734d2aa6b13502fac9c6e5a3 [diff] |
libext2fs: don't allow ridiculously large logical block numbers Forbid clients from trying to map logical block numbers that are larger than the lblk->pblk data structures are capable of handling. While we're at it, don't let clients set the file size to a number that's beyond what can be mapped. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>