ext4: avoid stamping on other memories in ext4_ext_insert_index()
authorTao Ma <boyu.mt@taobao.com>
Mon, 17 Oct 2011 14:13:46 +0000 (10:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 Oct 2011 14:13:46 +0000 (10:13 -0400)
commitf472e02669073e4f1a388142bafa0f806fae841c
tree766f26be99c1ffa5d3f0c93e233a60cc52e74094
parentd44651d0f922b7aaeddd9fc04f2f5700a65983dd
ext4: avoid stamping on other memories in ext4_ext_insert_index()

Add a sanity check to make sure ix hasn't gone beyond the valid bounds
of the extent block.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c