diff options
| author | Jan Kara <jack@suse.cz> | 2013-05-31 19:38:56 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-20 17:16:08 -0700 |
| commit | c095cc65e4d71b0d761d6e6d58b07b4641d17876 (patch) | |
| tree | 8a6a8cea1f26cd33dd06c33d39d0486ad48aac51 /include/linux/debugobjects.h | |
| parent | 60e415266ce30fe446796e9718a10ee3b881086d (diff) | |
ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs
commit a60697f411eb365fb09e639e6f183fe33d1eb796 upstream.
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 <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
