commit | 027b0577d4e5081a4d28dff9289559d38a36d533 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Jan 03 13:42:38 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jan 05 10:14:11 2013 -0500 |
tree | df65e7fb7c9e45d11c23d00396e90a0e07c414b6 | |
parent | a0ba54ec00abce6ce9e7e5f2d5f6e0899559ebb8 [diff] |
Fix 32-bit overflow problems: dgrp_t * s_blocks_per_group There are a number of places where we multiply a dgrp_t with s_blocks_per_group expecting that we will get a blk64_t. This requires a cast, or using the convenience function ext2fs_group_first_block2(). This audit was suggested by Eric Sandeen. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Eric Sandeen <sandeen@redhat.com>