diff options
| author | Jan Kara <[email protected]> | 2013-05-31 23:38:56 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2013-05-31 23:38:56 +0000 |
| commit | a60697f411eb365fb09e639e6f183fe33d1eb796 (patch) | |
| tree | 63984e881d515f73892c6d1d1336ac2fe084bb37 /fs/jbd2/commit.c | |
| parent | ext4: fix overflows in SEEK_HOLE, SEEK_DATA implementations (diff) | |
| download | kernel-a60697f411eb365fb09e639e6f183fe33d1eb796.tar.gz kernel-a60697f411eb365fb09e639e6f183fe33d1eb796.zip | |
ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs
On 32-bit architectures with 32-bit sector_t computation of data offset
in ext4_xattr_fiemap() can overflow resulting in reporting bogus data
location. Fix the problem by typing block number to proper type before
shifting.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
