]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: verify group number in verify_group_input() before using it
authorTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 15:14:31 +0000 (11:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 6 Jun 2013 15:14:31 +0000 (11:14 -0400)
commit40c87e7a5404861cef33f6ced9809525a5ee2c50
tree5f784603fc3e63c46310ce2509466e7dced2586d
parent7745883f99c0e81e6bc71527d23ca363eb125a3f
ext4: verify group number in verify_group_input() before using it

Check the group number for sanity earilier, before calling routines
such as ext4_bg_has_super() or ext4_group_overhead_blocks().

Reported-by: Jonathan Salwan <jonathan.salwan@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/resize.c