diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-12-20 09:29:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-09 12:24:21 -0800 |
commit | cd7442730bdf3c8ecdd9a0ae8d77750b359fe60e (patch) | |
tree | 637bb0cd2e0603079355f2ac2f154571cca9ebc2 /fs/9p | |
parent | ad403b48be4d1777fdfb65966cefee9e2d8a8bcd (diff) |
ext4: add explicit casts when masking cluster sizes
commit f5a44db5d2d677dfbf12deee461f85e9ec633961 upstream.
The missing casts can cause the high 64-bits of the physical blocks to
be lost. Set up new macros which allows us to make sure the right
thing happen, even if at some point we end up supporting larger
logical block numbers.
Thanks to the Emese Revfy and the PaX security team for reporting this
issue.
Reported-by: PaX Team <pageexec@freemail.hu>
Reported-by: Emese Revfy <re.emese@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions