Re: [PATCH 01/10] libext2fs: Fix possible inode count overflow when creating fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 12, 2018 at 11:53:19AM +0200, Jan Kara wrote:
> If blocks count is exactly 1<<32, then the code computing number of
> inode count in ext2fs_initialize() will overflow and set number of
> inodes to 0 (which will be later fixed up to EXT2_FIRST_INODE(super)+1).
> Fix the off-by-one bug in the check.
> 
> Reviewed-by: Andreas Dilger <adilger@xxxxxxxxx>
> Signed-off-by: Jan Kara <jack@xxxxxxx>

Applied, thanks.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux