diff options
author | Jan Kara <jack@suse.cz> | 2013-05-31 19:38:56 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-07-27 05:34:34 +0100 |
commit | 5b1b5af5a1191196cc564bfab9ac5e1a6b8d08f3 (patch) | |
tree | f4fb3499c017c0db7f6b047ffb19a6dadc87bdd9 /drivers/net/caif | |
parent | 967c9a98626b1e402ab042bd770b7109532f49fb (diff) | |
download | kernel-common-5b1b5af5a1191196cc564bfab9ac5e1a6b8d08f3.tar.gz kernel-common-5b1b5af5a1191196cc564bfab9ac5e1a6b8d08f3.tar.bz2 kernel-common-5b1b5af5a1191196cc564bfab9ac5e1a6b8d08f3.zip |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/net/caif')
0 files changed, 0 insertions, 0 deletions